Description
Prerequisites
Included Software
Installation
Server Certificate
Configuration
Meeting Notes |
/etc/httpd/conf/httpd.conf
- Listen to multiple ports
Listen 80
Listen 443
- Set email address server returns on error to the client
ServerAdmin user@domain.com
- Pick HTTP log format
CustomLog logs/access_log combined
- Where are the HTML documents
DocumentRoot /some/directory/html
- Enable PHP3
LoadModule php3_module modules/libphp3.so
AddModule mod_php3.c
- Enable mod_perl
LoadModule perl_module modules/libperl.so
AddModule libperl.c
/etc/httpd/conf/access.conf
- Where are the HTML documents
<Directory /some/directory/html>
- Where are the CGI programs
<Directory /some/directory/cgi-bin>
/etc/httpd/conf/srm.conf
- Where are the HTML documents
DocumentRoot /some/directory/html
- Set up an alias for the CGI programs
ScriptAlias /cgi-bin/ /some/directory/cgi-bin
- Set up an alias for the icons directory
Alias /icons/ /some/directory/icons
- Associate type for PHP3 processing
AddType application/x-httpd-php3 .phtm
- Create mod_perl directory
Alias /perl/ /home/httpd/perl/
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
/etc/analog.cfg
- Where is the HTTP log file
LOGFILE /var/log/httpd/access_log-ssl
- What name do you want on the report
HOSTNAME "My Webserver"
- Where to create the report results
OUTFILE /some/directory/analog/index.html
- What is the server URL
HOSTURL www.domain.com
/etc/htdig.conf
- Pick the site to index
start_url: http://www.domain.com
|