Cheers, I'll give this a whirl. Wayne.
-----Original Message----- From: Kevin White [mailto:[EMAIL PROTECTED]] Sent: 08 July 2002 16:55 To: Wayne Moore Cc: [EMAIL PROTECTED] Subject: Re: Which Category? (scanned for viruses) Wayne, In each redirect include %targetgroup=%t and then in your "blocked" html cgi file you can print $targetgroup and let the user see what category blocked them if thats what you need. Here is what our script looks like on both ends...(mind the wraparound) redirecthttp://ourserver.ourdomain/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&targetgroup=%t&url=%u Then on the redirected "blocked.cgi" file is the line... print " <TR><TH ALIGN=RIGHT>Denial Code<TH ALIGN=CENTER>=<TH ALIGN=LEFT>$targetgroup \n"; Which to them appears as... Denial Code Adult (or corresponding ruleset) We also have an additional section which emails us a copy of the url they tried to visit, time of day, their IP, and also what ruleset blocked them. that way if it is a valid url we know which database to remove it from... On Mon, 2002-07-08 at 08:46, Wayne Moore wrote: > > If when you try to connect to a site you are redirected to the 'blocked' page, is >there any method of finding out which category has blocked the page? That is, any >method other than searching through the 'domains' and 'urls' manually. > > Cheers, > Wayne Moore > Systems Manager > Ampleforth College > York > YO62 4EY > E: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > T: 01439 766763 > F: 01439 788770 -- Kevin White, Linux+, A+ Computer Support Town of Collierville, TN
