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

Re: [cobalt-users] CGi-WRAPPER Warnings.



    Saw this in the unsolved mysterys zone

> Im trying to figure out why in my error files [ /var/log/httpd/error ]
> EVERYTIME someone accesses one of my sites with a SSI tag on the page...
> <!--#exec cgi="/cgi-sys/ipaddress.pl" -->
> or  something like
> <!--#exec cgi="/dev-cgi/dailyquote/dailyquote.pl"-->

or in  my case www.mydomain.com/index.cgi or
www.mydomain.com/main.cgi with http.conf entry
DirectoryIndex index.html index.htm main.cgi home.html home.htm index.cgi

> The Script WORKS when you goto the site.. but each time someone goes to ..
> it logs this in the error file:
>
> [Mon Nov 13 01:23:10 2000] [warn] [client 207.175.238.233] handler
> "cgi-wrapper" not found for: /home/sites/site104/web/dev-cgi/snapshot.cgi

I get
[Tue Dec  5 04:03:09 2000] [warn] [client my.ip.num] handler "cgi-wrapper"
not found for: /home/sites/site30/web/main.cgi

> But I mean... I watch the file get writtent to realtime and every 5
seconds,
> every hit I get... there is a script being "Warned", or error. Wether it
be
"ditto"
> what i do is put these in my virtual host:
> Action cgi-wrapper /cgiwrapDir/cgiwrap
> AddHandler cgi-wrapper .cgi
> AddHandler cgi-wrapper .pl

in srm.conf
Action cgi-wrapper /cgiwrapDir/cgiwrap
is already setup with the default config....???

# To use CGI scripts:
Action cgi-wrapper /cgiwrapDir/cgiwrap
#AddHandler cgi-wrapper .cgi
#AddHandler cgi-wrapper .pl

Change this and you get 404? (File not found)

Anyone have any ideas?

Zeffie