Apache 1.3.20
RedHat Linux
Quick question:
Why do I have to put ExecCGI in the in the high-level directiory directive.
<Directory />
Options FollowSymLinks ExecCGI
AllowOverride None
</Directory>
before cgi's will work for a virtual host.
<VirtualHost *>
DocumentRoot /var/www/html/myroot
ServerName www.myvhost.com
<Directory /var/www/html/myroot>
Allow from all
<Limit OPTIONS PROPFIND GET POST>
Allow from all
</Limit>
Options +FollowSymLinks +ExecCGI
</Directory>
</VirtualHost>
I thought the +ExecCGI appends it to the current Option list. If ExecCGI is
removed from the <Directory /> Directive the the following error is reported
in the log file:
Options ExecCGI is off in this directory:
/var/www/html/myroot/wld/packageOrder.pl
and of course a permission error is reported in the client browser.
I know how to make it work but if effects future installations.
Any words of wisdom?
Thanks,
Dave
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RedHat Linux
Quick question:
Why do I have to put ExecCGI in the in the high-level directiory directive.
<Directory />
Options FollowSymLinks ExecCGI
AllowOverride None
</Directory>
before cgi's will work for a virtual host.
<VirtualHost *>
DocumentRoot /var/www/html/myroot
ServerName www.myvhost.com
<Directory /var/www/html/myroot>
Allow from all
<Limit OPTIONS PROPFIND GET POST>
Allow from all
</Limit>
Options +FollowSymLinks +ExecCGI
</Directory>
</VirtualHost>
I thought the +ExecCGI appends it to the current Option list. If ExecCGI is
removed from the <Directory /> Directive the the following error is reported
in the log file:
Options ExecCGI is off in this directory:
/var/www/html/myroot/wld/packageOrder.pl
and of course a permission error is reported in the client browser.
I know how to make it work but if effects future installations.
Any words of wisdom?
Thanks,
Dave
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org