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

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



> > How & where can I disable cgiwrap *only* for the
> > script :  /home/sites/www.mysite.com/web/myscript.cgi
> 
> In /etc/httpd/conf/httpd.conf change the 
> 
> 	AddHandler cgi-wrapper .cgi
> 
> directive to
> 
> 	AddHandler cgi-script .cgi
> 
> and then restart Apache
> 
> 	/etc/rc.d/init.d/httpd reload
> 
> You won't be able to change this just for the one CGI though; 
> all .cgi scripts 
> in that virtual site will be run without wrapper protection.
> 

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

Please reply to the list only. Off list replies are not read.