Re: Duplicate Log entries using mod_backhand
George Schlossnagle <[email protected]> Sun, 27 Oct 2002 20:51:44 -0500
| Newsgroups | gmane.comp.apache.mod-log-spread.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, This is really a backhand problem rather than a mod_log_spread problem, but since we're all here, the correct header is BackhandProxied, so your line should be SetEnvIf BackhandProxied ".*" proxied HTH, George On Sunday, October 27, 2002, at 08:22 PM, Dennis Cartier wrote: > Hello, > > I have a cluster that I want to use MLS on but I am having difficulty > getting it to only log a request once. My backhand setup is a single > tier so > the Apache servicing the request also proxies to and from other > machines. > > I have tried to get the request to be logged from the machine that is > the > proxy for this request, but I cannot seem to prevent the servicing > machine > from also logging it through spread. > > Any machine in the cluster may be a proxy or a backend machine at any > time. > > I found an email from George on Google, but it did not help. You can > see the > portion of http.conf below. I commented out my > attempts to try George's, but still not go. > > Can anyone give me an idea if how to do this? > > Thanks, > > Dennis > --snip-- > #SetEnvIf BackhandProxied ".*" proxied > SetEnvIf Backhand-Proxied-By ".*" proxied > > SpreadDaemon 3333 > #CustomLog $apache common env=!proxied > CustomLog $apache common env=!proxied > > > _______________________________________________ > mls-users mailing list > [email protected] > http://lists.backhand.org/mailman/listinfo/mls-users > // George Schlossnagle // Principal Consultant // OmniTI, Inc http://www.omniti.com // (c) 240.460.5234 (e) [email protected] // 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0