[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 ?



> 
> I believe you are correct, but I read the question as him 
> wanting to leave the 
> CGI in the /web directory. Also, to allow the change in the 
> .htaccess file to 
> work, don't you have to add an "AllowOverrides +ExecCGI" or 
> something in 
> httpd.conf for that dir anyway?

Either there or by editing access.conf for that, otherwise you can't use
.htaccess for much without that change.

> 
> My question still stands of why this particular CGI won't run within 
> cgi-wrapper... generally you shouldn't need to disable that 
> protection; do it 
> only after carefully understanding all the ramifications, etc. 

I wish I could recall why I had that problem once on my old RaQ2.
I think I was finally able to figure it out using the line:
use CGI::Carp qw(fatalsToBrowser);
in the top of the script. It might have been a path problem in the
script as I recall that didn't occur from the command line.

-- 
C2003 Dan Kriwitsky

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