Apache: Proxy not logged, other accesses logged?

Apache: Proxy not logged, other accesses logged?

Post by Robert J Morri » Sat, 15 Feb 1997 04:00:00



I'm trying to figure out something, and haven't had any luck:

Basically, I want to use Apache (on Linux) as both a proxy and a normal
web server.  But, with a twist.  I DO want "normal" accesses (to docs on
my server) logged, but I DON'T want any of the proxy accesses logged.

I would, of coures, prefer to do all of this running only one daemon.  I
figured the easiest way would be to have the proxy listening to a
different port and have logging turned off for that port.  Using a virtual
host would be simple as anything, except that I only have one DNS name and
one IP (since virtual hosts need different names, not just ports).

Is there any hope for me to do this under one daemon, or am I stuck with
two?  It seems like it would be a pretty useful feature, really, but what
do I know?

Any suggestions would be greatly appreciated.
:)

[ps. please CC: any responses to me as my news service is often flakey!]

--
Robert Jeffrey Morriss (Jeff)     CIS Major; Psyc Minor; AI/NLP Research;

http://www.pobox.com/~morriss     #include<std/disclaimer.h>