DirectoryIndex alway raises "attempt to invoke directory as script"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
       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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux