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

[cobalt-users] Re: how to disable cgiwrap for only one particular .cgi script ?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 07 October 2003 09:50, Dan Kriwitsky wrote:
> > > How & where can I disable cgiwrap *only* for the
> > > script :  /home/sites/www.mysite.com/web/myscript.cgi

> IIRC, you can put that in a .htaccess file and put the script in it's
> own directory with it.

I believe you are correct, but I read the question as him wanting to leave the 
CGI in the /web directory. Also, to allow the change in the .htaccess file to 
work, don't you have to add an "AllowOverrides +ExecCGI" or something in 
httpd.conf for that dir anyway?

My question still stands of why this particular CGI won't run within 
cgi-wrapper... generally you shouldn't need to disable that protection; do it 
only after carefully understanding all the ramifications, etc. 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/gwXcvLA2hUZ9kgwRAj5WAJ9kTEag7F9IWqUEcjGnnT/If2bZAwCbB/3Y
LUrCKu9lCqPcuwBchRO7fc8=
=deFV
-----END PGP SIGNATURE-----