[H-GEN] Apache cgi-bin problem
Rick Phillips
rickp at suntech.net.au
Sun Sep 9 08:57:59 EDT 2007
I have a situation where a friend who uses my web server needs to have a password protected folder and be able to execute perl scripts from within that folder. I have tried setting up a cgi-bin within the protected area and have placed the following entries within apache's commonhttpd.conf. The problem is that while the scripts are being found OK, the scripts are not being executed and the browser is trying to download them.
I am using virtual name hosting. The "admin" directory is the root of the password protected area.
Entries in conf file:
ScriptAlias /special-cgi-bin/ /var/www/html/xxxxx.org/admin/special-cgi-bin/
<Directory /var/www/html/xxxxx.org/admin/special-cgi-bin>
AllowOverride All
Options ExecCGI
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
Any help would be greatly appreciated.
Thanks,
Rick
More information about the General
mailing list