[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] CGi-WRAPPER Warnings.
- Subject: Re: [cobalt-users] CGi-WRAPPER Warnings.
- From: Tien Duc Nguyen <tienducn@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue Nov 14 10:27:01 2000
- Organization: Reeves Communication
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Clint Decker wrote:
> 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...
> I.E.
> <!--#exec cgi="/cgi-sys/ipaddress.pl" -->
> or something like
> <!--#exec cgi="/dev-cgi/dailyquote/dailyquote.pl"-->
>
> The Script WORKS when you goto the site.. but each time someone goes to it..
> 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
> [Mon Nov 13 01:23:10 2000] [error] [client 207.175.238.233] invalid CGI ref
> "/cgi-bin/ipaddress.pl" in /home/sites/site104/web/index.html
> [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/dailyquote/dailyquote.pl
>
> 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
> a date.pl script called through a link, or SSI, or whatever... it reports a
> cgi-wrapper error.
>
> Anyone have any clues?
>
> Thanks
> Clint Decker
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
the problem i think is that cgiwrap is enabled and you haven't configured httpd
for it
what i do is put these in my virtual host:
Action cgi-wrapper /cgiwrapDir/cgiwrap
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
and access the script by the url /cgiwrapDir/cgiwrap/<path to script>
path is typically cgi-bin/script.pl
make sure the permissions and ownership are correct or else cgiwrap will
display a page of warning