Web Hosting Talk







View Full Version : Disbale CGI-Wrap on entire server


syanet
02-05-2001, 04:57 PM
Another thread that is MIA. How do you kill CGI-Wrap on the entire server? Not the .htaccess method.

allan
02-05-2001, 05:38 PM
If you don't care about your warranty :) you can do the following:

Edit the /etc/httpd/conf/httpd.conf file and change the handlers like this (please make a backup copy of this file first):

AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl

with

AddHandler cgi-script .cgi
AddHandler cgi-script .pl

and restart the web server.

This works on a RaQ2, but I have not tried it on a RaQ3.

allan

syanet
02-05-2001, 07:41 PM
Would that have to be done each time a virtual site is added? That line repeats itself about 35 times in my httpd.conf file.

allan
02-06-2001, 09:03 AM
Unfortunately, yes it would.