[H-GEN] Apache cgi-bin problem

Chuckles listbin at chuckles34.net
Sun Sep 9 18:07:23 EDT 2007


try adding "|SetHandler cgi-script" to your directory definition|


Rick Phillips wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> 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
>
>
>
> _______________________________________________
> General mailing list
> General at lists.humbug.org.au
> http://lists.humbug.org.au/cgi-bin/mailman/listinfo/general
>   




More information about the General mailing list