httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] DirectoryIndex alway raises "attempt to invoke directory as script"
Date Sat, 02 Dec 2006 20:46:44 GMT
On 12/2/06, Eddy Ilg <eddy@fericom.net> wrote:

> Using http://guinies.fericom.net/main.py works fine while using
> http://guinies.fericom.net/ always raises:
> attempt to invoke directory as script:
> /services/www/fericom/guilelmia-niedersachsen.de/docs/cgi/
>
> I just can't figure why. If you have any Ideas I would be thankful.

If all your CGI scripts end in .py, you can fix the problem by replacing
SetHandler cgi-script
with
AddHandler cgi-script py

Joshua.

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message