Re: [users@httpd] cgi-bin contents

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

 



On 2/2/06, make stuff up <kalin@xxxxxx> wrote:
>
>   hi all...
>
>   if i have a cgi-bin directory - or any directory in which is cgi
> execution is permitted - can i have other files served from the same
> directory or any other directory below - like php and html? do i need
> suexec for that?

There are two ways to configure cgi:

1. Use ScriptAlias
2. Use "Options ExecCGI" and "AddHandler cgi-script .cgi".

The first way will treat *all* files as CGI scripts, so no non-cgi
script may be served from a ScriptAliased directory.  The second way
can share a directory with non-CGI files.

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