[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 ?
- Subject: RE: [cobalt-users] Re: how to disable cgiwrap for only one particular .cgi script ?
- From: "Dan Kriwitsky" <list1@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue Oct 7 09:53:24 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> > 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.