Hello everyone,

I've mentioned before that I'm sending myself emails using a
reconfigured CGI thats pulled when a client is redirected.  I've decided
I also want to include the information about which database blocked it. 
I was hoping one of the builin variables would do this but it doesn't
seem to.
I've tried adding to the end of the redirected url something like
http://myurl.com/cgi-bin/blocked.cgi?&url=%u&clientname=%n&dbcode=adult
but even then my cgi return nothing other than the url and client IP
address. Even when the line in my modified cgi script simply says 
print "<TR><TH ALIGN=RIGHT>Denial Code<TH ALIGN=CENTER>=<TH
ALIGN=LEFT>$dbcode\n"

and the line that has 
if (key =~ /^(clentaddr|url|clientname|targetclass|etc to include dbcode
I get nothing from the variable.
According to my perl book I should be able to pass this off as this
variable to the cgi in this fasion.  Any ideas?

Sorry if this is slightly offtopic.  I figured it has something to do
with the cgi script since it came with squidguard and I just added a few
lines.
-- 
Kevin White, Linux+, A+

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to