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

Re: [cobalt-users] RAQ3 - disabling cgiwrap on a virtual domain



Landon Jenkins wrote:

> I am trying to install a commercial PERL script on a RAQ3 virtual domain. I
> am told by this vendor that this script has conflicts with cgiwrap and
> suggested I disable cgiwrap altogether.
>
> My question: Is it possible to disable cgiwrap on just one virtual domain
> and if so, what are my (dis)advantages?
> Thanks!
> Landon

Hi Landon,

I think you can do this:
edit your /etc/httpd/conf/httpd.conf file, and locate the virtualhost container tags for the site you are installing the new CGI for
Then search for these line:
    AddHandler cgi-wrapper .cgi
    AddHandler cgi-wrapper .pl
and replace with these:
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl

You will have to watch out next time you use the GUI, things may get changed back!

Don't forget to do a
    /etc/rc.d/init.d/httpd restart

Having said all that, I would be more than a little concerned as to why this script you have purchased wont run under cgi-wrap !  *Almost* all scripts that refuse to run under cgi-wrap are inherently in-secure (not that one that do are truly secure!)
Has the author given any detailed explanation as to what exactly is causing the problems with his/her script('s)?

Anyway, hope this helps, but please NOTE, I have *NOT* actually tested this myself for a while!

--
Regards
Kul