It works! Thanks a bunch!

I had no idea this would be related to the font issue.  I have 
already resolved my weird character display problem by changing my
/etc/sysconfig/i18n file to be:
LANG="en_US"
SUPPORTED="en_US:en"
SYSFONT="latarcyrheb-sun16"

(Picked that up on the NTLUG list!)

Thanks again!
Rick


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Stan Markham
> Sent: Tuesday, March 04, 2003 2:26 PM
> To: [EMAIL PROTECTED]
> Subject: RE: squidguard.cgi
> 
> 
> 
> > -----Original Message-----
> > From: Rick Matthews [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, February 26, 2003 9:26 PM
> > To: SSCR Internet Admin
> > Cc: [EMAIL PROTECTED] Org
> > Subject: RE: squidguard.cgi
> >
> >
> > Well, apparently one of more of the changes in the new Apache 3.0
> > cgi doesn't sit well with squidGuard.cgi.  (squidGuard-simple.cgi
> > works a little better, btw)
> > I don't know perl <big grin>)
> >
> > Thanks,
> > Rick
> 
> 
> Finally got squidGuard running on RedHat 8.0, Apache 2.? and perl 5.8!
> 
> Problems corrected in squidGuard.cgi that made it run:
> 
> Line 1.  Remove the space between the "!" and the path - it should read
>          #!/usr/...
>          Shabang can't have a space.  Probable cause of space - RH 8
> switched default LANG
>          for en US to utf8 which seems to play havoc with en language
> punctuation.
>          Long term correction appears to be including
>                export LANG=C
>          in your .bash_profile or in /etc/profile.
> 
> 
> Line 1.  Remove the -w following the word perl.
>          -w Returns all warnings, errors, etc which is a good thing UNLESS
> you're trying to
>          display a webpage.  The warnings from perl 5.8 concern the
> deprecation of using
>          hashes the way squidGuard.cgi uses them.  Nice to know, but the
> errors go to the
>          browser before the "content" line which has to be the first thing
> the browser
>          see's.
> 
> Also fought the squidGuard -C hangs battle and found that I had to move the
> directories and files from
>     <pathto>SquidGuard/db/blacklists/porn (and others)
> up one directory
>     <pathto>SquidGuard/db/porn (et al)
> 
> HTH
> 
> 

Reply via email to