[PLUG] Content Encoding Error
drew wymore
drew.wymore at gmail.com
Wed Apr 29 08:04:53 UTC 2009
On Wed, Apr 29, 2009 at 12:58 AM, Derek Loree <drl at drloree.com> wrote:
> Hi All,
>
> I've got a problem that I hope you all can help me with.
>
> The goal: A content filtering proxy server for a small number of users
> that don't need to pay for the service, no need for a captive portal.
> Log file display or conveyance has been requested.
>
> Current setup: Puppy Linux setup with the devx pup, manual installs of
> dualserver (for DHCP and DNS), tinyproxy and dansguardian. A firewall
> rule to redirect port 80 to 8080 (where dansguardian is listening) to
> make it a transparent proxy. Another to block the port that tinyproxy
> is listening on.
>
> Using my laptop as a test client, everything works as advertised until I
> point my browser at the Awstats home page (looking for a log display
> solution). The error that I get with Firefox in Windows and most
> browsers in linux is "Content Encoding Error" and some verbage about an
> incompatible compression scheme. IE, of course, only gives the usual
> "Page cannot be displayed" error. If I by-pass dansguardian by turning
> on the proxy setting in the browser and pointing it at tinyproxy, I can
> see the awstat web site. So, the cause of the error is dansguardian,
> however, the error is not generated by dansguardian. It is generated by
> the browser. The log files do not say anything about any problems, all
> is normal according to them.
>
> The only clue I found had to do with zlib encoding, so I rebuilt
> dansguardian with the --with-zlib-static switch so that the zlib library
> would be statically linked. No change. I tried changing all kinds of
> configuration options. No change. I downloaded the source code for
> zlib and installed it. No change. I rebuilt dansguardian, again. No
> change.
>
> I feel like I'm missing something, mainly because this does not seem to
> have stumped very many people, and dansguardian is not the only cause.
> The disheartening part is that the pleas for help went unanswered.
>
> Now I am crying for help, please help with any clues you might have.
>
> Thank you sincerely,
>
> --
> Derek Loree <drl at drloree.com>
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
I assume awstats is hosted on a local webserver? Perhaps disabling content
compression support in Apache might do the trick.
Drew-
More information about the PLUG
mailing list