RE: Using gzip and CustomLog

2009-01-21 Thread Plüm, Rüdiger, VF-Group
Have you tried CustomLog |/bin/sh \gzip -c /home/mydir/apache/logs/mydomain.com-access_log.gz\ combined ? Regards Rüdiger -Original Message- From: Paras Fadte Sent: Mittwoch, 21. Januar 2009 07:09 To: dev@httpd.apache.org Subject: Using gzip and CustomLog Hi , Does

Re: Using gzip and CustomLog

2009-01-21 Thread Rainer Jung
On 21.01.2009 07:09, Paras Fadte wrote: Hi , Does something like following work in Apache/2.0.55 ? CustomLog |/bin/gzip -c /home/mydir/apache/logs/mydomain.com-access_log.gz combined In errorlog it says : piped log program '/bin/gzip -c

Re: Using gzip and CustomLog

2009-01-21 Thread Paras Fadte
Hi, Thanks for the response , I will try that . What I would like to know is whether one can combine the gzip usage with rotatelogs utility so that as the logs are written in gzipped format they also get rotated as per the time/size specified . Thanks in advance. -Paras On Wed, Jan 21, 2009

Re: Using gzip and CustomLog

2009-01-21 Thread Paras Fadte
OS used is SUSE LINUX 10.1 (X86-64) On Wed, Jan 21, 2009 at 4:42 PM, Paras Fadte plf...@gmail.com wrote: Hi, Thanks for the response , I will try that . What I would like to know is whether one can combine the gzip usage with rotatelogs utility so that as the logs are written in gzipped

Re: Using gzip and CustomLog

2009-01-21 Thread Paras Fadte
I tried this and It creates mydomain.com-access_log.gz but doesn't seem to update it. On Wed, Jan 21, 2009 at 4:27 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 21.01.2009 07:09, Paras Fadte wrote: Hi , Does something like following work in Apache/2.0.55 ? CustomLog |/bin/gzip -c

Re: Using gzip and CustomLog

2009-01-21 Thread Rainer Jung
On 21.01.2009 13:01, Paras Fadte wrote: I tried this and It creates mydomain.com-access_log.gz but doesn't seem to update it. That's the buffering of gzip I mentioned. Run /path/to/httpd/bin/ab -n 5 -c 10 -k http://myserver:myport/ and you'll see data arriving. Regards, Rainer On

Re: Using gzip and CustomLog

2009-01-21 Thread Paras Fadte
Thanks for the response. Noticed that graceful apache restart tends to flush the buffer to log when gzip is used . Can you please shed some light on combining/using gzip and rotatelogs utility together ? -Paras On Wed, Jan 21, 2009 at 7:46 PM, Rainer Jung rainer.j...@kippdata.de wrote: On

Re: svn commit: r735093 - /httpd/httpd/trunk/server/mpm/winnt/child.c

2009-01-21 Thread Rainer Jung
On 19.01.2009 19:48, Rainer Jung wrote: On 19.01.2009 18:33, William A. Rowe, Jr. wrote: Rainer Jung wrote: I built trunk on XP today. When trying to run it, I get a restart loop for the child process, and the error log contains repetitions of: [Sun Jan 18 19:20:43 2009] [notice] Child

Re: svn commit: r735093 - /httpd/httpd/trunk/server/mpm/winnt/child.c

2009-01-21 Thread William A. Rowe, Jr.
Rainer Jung wrote: On 19.01.2009 19:48, Rainer Jung wrote: On 19.01.2009 18:33, William A. Rowe, Jr. wrote: Rainer Jung wrote: I built trunk on XP today. When trying to run it, I get a restart loop for the child process, and the error log contains repetitions of: [Sun Jan 18 19:20:43 2009]

Re: svn commit: r735093 - /httpd/httpd/trunk/server/mpm/winnt/child.c

2009-01-21 Thread William A. Rowe, Jr.
William A. Rowe, Jr. wrote: Rainer Jung wrote: Could be, that there's something wrong with the code that copies the listen sockets from the main process to the child. Exactly; one of the primary possibilities is that a well documented API, WSADuplicateSocket does not behave for a given

Re: svn commit: r735093 - /httpd/httpd/trunk/server/mpm/winnt/child.c

2009-01-21 Thread Rainer Jung
On 21.01.2009 18:33, William A. Rowe, Jr. wrote: William A. Rowe, Jr. wrote: Rainer Jung wrote: Could be, that there's something wrong with the code that copies the listen sockets from the main process to the child. Exactly; one of the primary possibilities is that a well documented API,

Re: svn commit: r735093 - /httpd/httpd/trunk/server/mpm/winnt/child.c

2009-01-21 Thread William A. Rowe, Jr.
Rainer Jung wrote: On 21.01.2009 18:33, William A. Rowe, Jr. wrote: William A. Rowe, Jr. wrote: Rainer Jung wrote: Could be, that there's something wrong with the code that copies the listen sockets from the main process to the child. Exactly; one of the primary possibilities is that a well

Re: MaxClients inside Location?

2009-01-21 Thread Sander Temme
On Jan 20, 2009, at 2:48 PM, John ORourke wrote: Hi there, I couldn't find the answer to this in various user docs/forums/etc, apologies if it's a simple thing. I have a particularly busy URI on a particular VirtualHost and I'd like to limit how many clients can request that URL at a

TLS/SNI status

2009-01-21 Thread Gervase Markham
Hi, Short version: I am hoping to find out what the problems are with the trunk version of TLS/SNI, how they can be fixed, and what the chances are of a backport to 2.2. Long version: The Mozilla project is very interested in the wide and easy use of SSL, and therefore the wide adoption of

Re: Using gzip and CustomLog

2009-01-21 Thread Paras Fadte
Can anyone respond to this query of mine? On Wed, Jan 21, 2009 at 8:15 PM, Paras Fadte plf...@gmail.com wrote: Thanks for the response. Noticed that graceful apache restart tends to flush the buffer to log when gzip is used . Can you please shed some light on combining/using gzip and