Re: adding session id to entries in access log

2009-10-12 Thread Douglas Sims
Thanks! That's a good idea. Just as an example, here are several IPs that seemed to be the same client. The user agent, referer, etc. were all the same and the IPs resolve to the same top-level domain. 205.228.12.236 205.228.12.151 205.228.12.254 On Mon, Oct 12, 2009 at 5:52 PM, Paul Silevitc

Re: adding session id to entries in access log

2009-10-12 Thread Douglas Sims
We're starting to get some data now and I'm seeing a few minor problems with the implementation of the idea. Here's one: if a request arrives with a cookie that is associated with a different IP address then we create a new session entry and send a new cookie. I'm noticing that some users have IP

Re: adding session id to entries in access log

2009-10-12 Thread Douglas Sims
Thanks, Paul and Cosimo. That module is just what I was looking for. Logging the note instead of the cookie is probably better for what we're doing. On Fri, Oct 2, 2009 at 6:56 AM, Paul Silevitch wrote: > You can use apache's custom log ( > http://httpd.apache.org/docs/2.0/mod/mod_log_con

Re: Configuring virtual hosts on the fly

2009-10-12 Thread Adam Prime
Scott Gifford wrote: > Hello, > > I'm working on an Apache configuration for a cluster of machines > serving a variety of virtual hosts. > > New virtual hosts are provisioned by a Web application, and all > information needed to set up the virtual hosts is in a database table. > I would like my A

Re: Configuring virtual hosts on the fly

2009-10-12 Thread Torsten Foertsch
On Sun 11 Oct 2009, André Warnier wrote: > > I see some hooks in PerlTransHandler and PerlMapToStorageHandler > > that seem like they can almost do what I want, but I don't see how > > to set other virtual host parameters, like ServerAdmin > > http://perl.apache.org/docs/2.0/api/Apache2/ServerRec.h

Re: is it possible get the deflate information in reuest object

2009-10-12 Thread Torsten Foertsch
On Mon 12 Oct 2009, Shibi NS wrote: > LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%) > "%{User-agent}i"' deflate > CustomLog /var/log/httpd/deflate_log deflate > > Can I get the Input/Output and Ratio information in Apache2 Request > object or PerlLogHandler ? in a PerlLogHandler you sho

is it possible get the deflate information in reuest object

2009-10-12 Thread Shibi NS
I have following configiration in my apache Header append Vary User-Agent env=!dont-vary DeflateBufferSize 8096 DeflateCompressionLevel 4 DeflateMemLevel 9 DeflateWindowSize 15 DeflateFilterNote Input instream DeflateFilterNote Output outstream DeflateFilterNote Ratio ratio LogFormat '"%r" %{outst