On 5/19/05, Boyle Owen <[EMAIL PROTECTED]> wrote:
> Plain text please...
> 
> You have to set DirectoryIndex for the cgi dir as you would for any index 
> file in a normal directory, ie:
> 
> DirectoryIndex index.pl

If I remember correctly, that doesn't work in ScriptAliased
directories.  You need to convert

ScriptAlias /cgi-bin/ /path/to/cgi-bin/
to
Alias /cgi-bin /path/to/cgi-bin
<Directory /path/to/cgi-bin>
Options ExecCGI
SetHandler cgi-script
DirectoryIndex index.pl
</Directory>

Joshua.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to