httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddy Ilg <e...@fericom.net>
Subject [users@httpd] DirectoryIndex alway raises "attempt to invoke directory as script"
Date Sat, 02 Dec 2006 15:50:27 GMT
Hi,

I had a cgi environment on apache-1.3. Now I upgraded to Apache 2 and it 
doesn't work anymore.

Here's my setup:

<VirtualHost *:80>
        Serveradmin admin@fericom.net
        ServerName guinies.fericom.net
        DocumentRoot 
/services/www/fericom/guilelmia-niedersachsen.de/docs/cgi
        <Directory 
/services/www/fericom/guilelmia-niedersachsen.de/docs/cgi>
                SetEnv MAINDIR 
/services/www/fericom/guilelmia-niedersachsen.de/docs
                SetEnv SPIDERDIR 
/services/www/fericom/guilelmia-niedersachsen.de/docs
                Options ExecCgi FollowSymLinks
                Order allow,deny
                Allow from all
                SetHandler cgi-script
                DirectoryIndex main.py
        </Directory>
        Alias /images/ 
/services/www/fericom/guilelmia-niedersachsen.de/docs/images/
        <Directory 
/services/www/fericom/guilelmia-niedersachsen.de/docs/images>
                Options None
        </Directory>
</VirtualHost>

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.

Best regards

Eddy


---------------------------------------------------------------------
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