index.pl in cgi-bin

I have a index file: index.pl which is placed in mydomain.com/cgi-bin/index.pl

Now when I try to access it like this: mydomain.com/cgi-bin/ it doesn't work, it does when I go to it directly: mydomain.com/cgi-bin/index.pl

First I added index.pl to DirectoryIndex in httpd.conf and restarted Apache. That didn't help. Then I added ExecCGI to the directory root and restarted Apache, that didn't help either.

Now I really don't have a clue what else I could do. These are the urls that I'm talking about:

http://www.cybertrash.net/cgi-bin/
http://www.cybertrash.net/cgi-bin/index.pl

If anyone could help me on this one it would be very much appreciated.

Thanks in advance.

 

 

 

 

Top