Author:
erics, October 7th, 2010
To generate a redirection header in CGI.pm use the following syntax where $q is the cgi handle: print $q->redirect(‘http://wyzaerd.com/documents/resume.pdf’); If you use redirection like this, you should not print out a header as well. You should always use full URLs (including the http: or ftp: part) in redirection requests. Relative URLs will NOT work correctly.
Categories: How-To's, Technology Tags: CGI, CGI.pm, howto, http, Location, redirect, tips, URL
|
No comments
Author:
erics, November 20th, 2009
Just tucked in Naomi, and now I am working on building a website testing program called Siege.
Categories: Technology Tags: http
|
No comments
Author:
erics, October 30th, 2009
The Nagios configuration files are located (for me) in /opt/local/etc/nagios/objects. First, create a new command in commands.cfg file: [code] # ‘check_http_url’ command definition define command{ command_name check_http_url command_line $USER1$/check_http -I $HOSTADDRESS$ -u $ARG1$ -s $ARG2$ } [/code] -u URL to test -s String to expect in the content Then, add a new service to the […]
Categories: How-To's, Technology Tags: apache, http, httpd, nagios, virtual host
|
No comments
Author:
erics, October 16th, 2009
Got the client’s web server to accept secure connections via SSL. I configured Apache httpd.conf properly so it used the right certificate file and it finally started working. I love lsof – what a great tool. Naomi just got home. Time for some TLC for her.
Categories: Technology Tags: .pem, apache, cert, http, httpd, https, ssl
|
No comments
Author:
erics, October 15th, 2009
Both desktops patched, optimized, shut down and dusted. Noise level in the office is MUCH lower! Have made substantial improvements in the docs. Now looking at https implementation for the developer’s personal web directories. So far so good. Feeling fine.
Categories: Health Issues, Personal, Technology Tags: cleaning, http, https, optimization, tuning
|
No comments
Author:
erics, September 27th, 2009
<Directory> and </Directory> are used to enclose a group of directives that will apply only to the named directory and sub-directories of that directory. Any directive that is allowed in a directory context may be used. Directory-path is either the full path to a directory, or a wild-card string using Unix shell-style matching. In a wild-card string, ? […]
Categories: How-To's, Technology Tags: apache, directory, howto, http, httpd, tips, wildcard
|
No comments