[kwlug-disc] Logging all output from Apache?

Khalid Baheyeldin kb at 2bits.com
Mon Nov 2 23:29:22 EST 2009

Apart from whether this would be useful or not ...

Seems like a custom reverse proxy can do this.

The idea is to have a "tee" like function in the proxy: it logs the HTML
response to a file AND passes it on to the requesting browser.

So the actual Apache origin server can run on a non standard port, e.g.
8080. The proxy would run on port 80, and just pass the requests back and
forth, with only the loggin added.

Look into existing proxies, e.g. Squid, or even simpler proxies based on
Python, if you don't have a high traffic site.


On Mon, Nov 2, 2009 at 9:19 PM, William Park <opengeometry at yahoo.ca> wrote:

> Hi All,
> Is there a way to log all output from Apache web server?
> I need to create "paper trail", because what went out is more important
> (liability wise) than what came in.  Although there are tons of docs on
> logging
> HTTP request, I haven't come across anything on HTTP response.
> --William
>      __________________________________________________________________
> Connect with friends from any web browser - no download required. Try the
> new Yahoo! Canada Messenger for the Web BETA at
> http://ca.messenger.yahoo.com/webmessengerpromo.php
> _______________________________________________
> kwlug-disc_kwlug.org mailing list
> kwlug-disc_kwlug.org at kwlug.org
> http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org

Khalid M. Baheyeldin
2bits.com, Inc.
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20091102/89a6e8d0/attachment.html>

More information about the kwlug-disc mailing list