[kwlug-disc] Logging all output from Apache?
William Park
opengeometry at yahoo.ca
Tue Nov 3 11:17:57 EST 2009
Hi Khalid,
Yes, putting something in front of Apache will solve this with minimum fuss, but unfortunately I'll be stepping on lots of sensitive toes if I do that. I do have control over CGI program which is behind the web server, and, to some extent, over Apache server. I was hoping, if Apache has some config options to log its output, then I can avoid writing it in my application code.
Sorry to miss your presentation Yesterday.
--William
>
>From: Khalid Baheyeldin <kb at 2bits.com>
>To: KWLUG discussion <kwlug-disc at kwlug.org>
>Sent: Mon, November 2, 2009 11:29:22 PM
>Subject: Re: [kwlug-disc] Logging all output from Apache?
>
>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.
>
>http://proxies.xhaus.com/python/
>
>
>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.
>http://2bits.com
>Drupal optimization, development, customization and consulting.
>>Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra
>Simplicity is the ultimate sophistication. -- Leonardo da Vinci
>
__________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
http://ca.toolbar.yahoo.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20091103/93fe1427/attachment.htm>
More information about the kwlug-disc
mailing list