Re: [users@httpd] Execute perl Script

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

 



On 5/19/05, Boyle Owen <Owen.Boyle@xxxxxxx> 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: 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