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

Re: [cobalt-users] RaQ4: cgi-bin above document root?



> Can anyone confirm that the cgi-bin directory for a web site on RaQ4 must
> reside in the web document root, not above root?  That is, the cgi-bin can
> located at /home/sites/home/web/cgi-bin  but not at
> /home/sites/home/cgi-bin.  I've tried the latter (preferred for security
> reasons), but cgi-wrapper doesn't like it. 

You have bypass cgi-wrapper to do it.  Add this your access.conf:
<Directory "/home/sites/site6/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

and this into your srm.conf
ScriptAlias /cgi-bin/ "/home/sites/site6/cgi-bin/"

and restart apache.

Jeff-