[thelist] Apache Configuration Problem.

Brian Tully btully at gstockco.com
Sun Oct 15 16:48:55 CDT 2000


Give this a whirl...

DocumentRoot /var/www/html

# This should be changed to whatever you set DocumentRoot to.
<Directory /var/*>
Options Indexes FollowSymLinks ExecCGI +Includes
AllowOverride All
</Directory>

<Directory /var/www/html>
Options ExecCGI FollowSymLinks Includes Indexes
Order allow,deny
Allow from all
</Directory>

<Directory /var/www/cgi-bin>
AllowOverride None
Options ExecCGI
</Directory>
> 
# To use CGI scripts:
AddType application/x-httpd-cgi .cgi
AddHandler cgi-script .cgi

# To use server-parsed HTML files
AddType text/html .shtml
AddHandler server-parsed .shtml
 
<VirtualHost 10.0.0.2>
DocumentRoot /var/www/customer1
ServerName customer1.home
Options ExecCGI Includes
ScriptAlias /cgi-bin/ /var/www/customer1/cgi-bin/>
</VirtualHost>


B r i a n  T u l l y
Webmaster/Designer/Programmer
The Gary Stock Company
btully at gstockco.com






More information about the thelist mailing list