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

Re: [cobalt-users] CGI bin directory outside document root



"Revd leonard payne" <vicarage@xxxxxxxxxxxxxx> wrote:
> I would much prefer to have what Jamie wants as well. To have the cgi-bin
> directory totally outside the web site - A Common cgi-sys directory for
all.

If you want a common CGI directory named cgi-sys it should be quite simple.

Create /home/sites/home/cgi-sys/ and install the scripts in this directory.
In srm.conf add the following:

Alias /cgi-sys/           /home/sites/home/web/cgi-sys/

Then restart Apache.

> My Raq is even worse in that it allows execution of a script from any
> directory.

All RaQs do that by default if you have CGI support enabled for a site.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/