<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi Khalid,<br><br>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.<br><br>Sorry to miss your presentation Yesterday.<br><br>--William<br></div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><b><span
style="font-weight: bold;">From:</span></b> Khalid Baheyeldin <kb@2bits.com><br><b><span style="font-weight: bold;">To:</span></b> KWLUG discussion <kwlug-disc@kwlug.org><br><b><span style="font-weight: bold;">Sent:</span></b> Mon, November 2, 2009 11:29:22 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [kwlug-disc] Logging all output from Apache?<br></font><br><meta http-equiv="x-dns-prefetch-control" content="off">Apart from whether this would be useful or not ...<br><br>Seems like a custom reverse proxy can do this.<br><br>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.<br>
<br>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.<br><br>Look into existing proxies, e.g. Squid, or even simpler proxies based on Python, if you don't have a high traffic site.<br>
<br><a rel="nofollow" target="_blank" href="http://proxies.xhaus.com/python/">http://proxies.xhaus.com/python/</a><br>
<br><div class="gmail_quote">On Mon, Nov 2, 2009 at 9:19 PM, William Park <span dir="ltr"><<a rel="nofollow" ymailto="mailto:opengeometry@yahoo.ca" target="_blank" href="mailto:opengeometry@yahoo.ca">opengeometry@yahoo.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<br>
<br>
Is there a way to log all output from Apache web server?<br>
<br>
I need to create "paper trail", because what went out is more important<br>
(liability wise) than what came in. Although there are tons of docs on logging<br>
HTTP request, I haven't come across anything on HTTP response.<br>
<font color="#888888"><br>
--William<br>
</font><div class="hm"><br>
<br>
<br>
__________________________________________________________________<br>
Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at <a rel="nofollow" target="_blank" href="http://ca.messenger.yahoo.com/webmessengerpromo.php">http://ca.messenger.yahoo.com/webmessengerpromo.php</a><br>
<br>
_______________________________________________<br>
<a rel="nofollow" target="_blank" href="http://kwlug-disc_kwlug.org">kwlug-disc_kwlug.org</a> mailing list<br>
<a rel="nofollow" target="_blank" href="http://kwlug-disc_kwlug.org">kwlug-disc_kwlug.org</a>@<a rel="nofollow" target="_blank" href="http://kwlug.org">kwlug.org</a><br>
<a rel="nofollow" target="_blank" href="http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org">http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</div></blockquote></div><br><br clear="all"><br>-- <br>Khalid M. Baheyeldin<br><a rel="nofollow" target="_blank" href="http://2bits.com">2bits.com</a>, Inc.<br><a rel="nofollow" target="_blank" href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>
<meta http-equiv="x-dns-prefetch-control" content="on"></div></div></blockquote>
<!-- cg9.c4.mail.gq1.yahoo.com compressed Tue Nov 3 07:56:33 PST 2009 -->
</div><br>
<hr size=1><a href="http://ca.promos.yahoo.com/newmail/overview2/"><b>All new Yahoo! Mail - </b></a>Get a sneak peak at messages with a handy reading pane.</body></html>