[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] cgi-wrapper" not found
- Subject: Re: [cobalt-users] cgi-wrapper" not found
- From: Oliver Schellenberg <oliver@xxxxxxxxxxxxxxxx>
- Date: Sun Jun 4 04:49:47 2000
I hope I can answer your question by simply copying the content of an
earlier contribution to this user group. Unfortunately, I don't remember
who has contributed this but I've saved the text of the e-mail to a file on
my harddisk. I didn't have the time to test it but it looks as it might be
a good solution for the cgi-wrap problem. If anyone else has tested the
things below, please let me know.
*********** beginning of the earlier user contribution *************
This is actully due to a glitch in apache, 1.2 has it too, it's agrivated
by the way cobalt defined the handler for cgi wrap, possible workaround
disable cgi's in the gui for site
add the following to .htaccess at the site's top level (web/)
Action application/x-wrapped-cgi /cgiwrapDir/cgiwrap
AddType application/x-wrapped-cgi .cgi .pl
This basiclly invokes cgiwrap based on a bogus mime type instead of
a raw handler, apache is issuing the warning message because it can't
match a mime type with the cgi-wrap handler....
DO NOT attempt to make this change to httpd.conf or srm.conf, it will
screw up all kinds of things in the GUI...
*********** end of the ealier user contribution ***************
I hope that someone else who has successfully eliminated the warnings in
the error log without disabling cgi-wrapper can give a statement.
All the best and good luck :-)
Oliver Schellenberg
At 17:13 25.04.2000 +0200, you wrote:
All CGI run OK.
But for any call I get the following warning in the error log file:
"[warn] [client 192.114.64.2] handler "cgi-wrapper" not found for:
/home/sites/site2/web/cgi-bin/WHOT_201/xxxxx.cgi".
To call it, I use "/cgi-bin/xxxx.cg" in my html page.
If I call it with "/cgiwrapDir/cgiwrap/cgi-bin/xxxx.cgi" it's OK.
I found in user group the advice to uncomment lines in srm.conf ( my
original file):
# To use CGI scripts:
Action cgi-wrapper /cgiwrapDir/cgiwrap
#AddHandler cgi-wrapper .cgi
#AddHandler cgi-wrapper .pl
I tried it => No EFFECT ( I did it in srm.conf and srm.conf.master)
If lines are commented (see above my ORIGINAL file) do I use
cgi-wrapper ? Or Not ?
( I thought if commented I don't use cgi wrapper)
Thanks.
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users