Hello all,

I have named index.html a file that in fact is a perl cgi program and I have
put it in the directory /cgi-bin/

It works fine if I access it using an URL like:

http://localhost/cgi-bin/index.html

The problem is that I want to access that program using:

http://localhost/cgi-bin/

But it gives me the 403 Access denied error.

I have put Options FollowSymLinks MultiViews Includes ExecCGI indexes for
that directory but it still doesn't choose automaticly the file index.html
from that directory.

I have tested but it doesn't choose even if I use another extension (like
.cgi) and if I set it to be a DirectoryIndex in httpd.conf.
Do you know if a certain file (like index.html) can be automaticly chosen by
the web server if rezides in a ScriptAlias directory (like /cgi-bin/)?

Or, are there any other secure solutions for what I want to do?

Thank you.

Teddy


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to