Hello,
Thanks in advance for any replys.
I have a cgi-bin dir, /cgi-bin/, I want to make it having index.cgi
as its DirectoryIndex. So I did:
<Directory /absolute/path/cgi-bin>
AllowOverrides Indexes
Options None
</Directory>
<Location /cgi-bin/>
DirectoryIndex index.cgi
</Location>
But when I started the apache server, and accessing
http://server/cgi-bin/
It tells me I don't have permission to do this. I checked the error_log,
it shows
me "try to invoke directory as script".
I wonder can I have DirectoryIndex for cgi-bin directory? Currently what
I did is
using Rewrite modules to solve it.
But I like to know can it be done by DirectoryIndex directive?
Thanks.
--
Simon Tneoh Chee-Boon
Application Developer Hitechniaga Sdn. Bhd.
http://www.tneoh.zoneit.com/simon/