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

RE: [cobalt-users] cgiwrap



>
> >> Can cgiwrap be disabled in a 'per script basis' ???
>
> >I think, on a per directory basis with .htaccess.
>
> In the Cobalt KB I found this:
> WHY ? Can I enable/disable forced cgiwrap use? (For portability)
> Response
> All CGI programs use cgiwrap because from a security standpoint, it's the
> best way to handle cgi across multiple directories, with multiple
> users and
> with multiple sites. It scales well.
>
> As far as forced/custom cgi use, you can always edit your httpd.conf file,
> but we don't recommend it.
>
> So this tidbit was very helpful <NOT!!>
>
Have you tried putting a .htaccess file in the directory running the script?

Try:
Options FollowSymLinks Includes ExecCGI
AddHandler server-parsed .shtml
AddType    text/html     .shtml
AddHandler cgi-script .cgi
AddHandler cgi-script .pl

--
Dan Kriwitsky