[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RaQ4: cgi-bin above document root?
- Subject: Re: [cobalt-users] RaQ4: cgi-bin above document root?
- From: Jeff Bilicki <jeff@xxxxxxxxxxx>
- Date: Thu Jan 11 14:28:00 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> 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-