Re: [us...@httpd] Re: SSI + content-length headers

2009-09-28 Thread Rajwinder-office Singh
On Fri, Sep 25, 2009 at 10:41 AM, Nick Kew n...@webthing.com wrote: Rajwinder-office Singh wrote: I have a situation : 1. I have to keep SSI enabled on all *.html pages. 2. SSI removes content-length + Last-modified headers from *.html 3. I have to keep these two headers for it

Re: [us...@httpd] Cache issues

2009-09-28 Thread Phil Pinkerton
Jonathan Zuckerman wrote: On Fri, Sep 25, 2009 at 10:54 AM, Phil Pinkerton pcpinker...@gmail.com wrote: On Fri, Sep 25, 2009 at 12:45 PM, Jonathan Zuckerman j.zucker...@gmail.com wrote: On Fri, Sep 25, 2009 at 6:15 AM, Phil Pinkerton pcpinker...@gmail.com wrote: Anyone

[us...@httpd] mod_fcgid - cannot get FastCgiAuthorizer to do anything

2009-09-28 Thread Barry Scott
The mod_fcgid page says to ask on dev, but dev says don't ask usage questions. I assume that this is the right place to ask. I'm using mod_fcgid from svn with HTTPD 2.2. I want to use a fast CGI authorizer to allow me to control access based on my rules. The authorizer needs to be a long

[us...@httpd] Apache - HTTP Reply - Javascript Virus

2009-09-28 Thread Juan Soprano
I currently have a production server setup with a large quantity of domains being hosted. During the past week, the server has been attacked by a virus and I have had zero luck tracking it down. Here are the symptoms: 1) Attacks all domains randomly 2) Occurs on random page loads 3) The virus

Re: [us...@httpd] Cache issues

2009-09-28 Thread Tom Evans
On Mon, 2009-09-28 at 06:25 -0400, Phil Pinkerton wrote: Jonathan Zuckerman wrote: On Fri, Sep 25, 2009 at 10:54 AM, Phil Pinkerton pcpinker...@gmail.com wrote: On Fri, Sep 25, 2009 at 12:45 PM, Jonathan Zuckerman j.zucker...@gmail.com wrote: On Fri, Sep 25, 2009 at

[us...@httpd] Too many CLOSE_WAIT connections

2009-09-28 Thread Martin Spinassi
Hi list, I'm trying a load balance two tomcats servers with one apache in front wit MPM worker, but after a while, apache left too many connections in CLOSE_WAIT state until it stops responding. The problem seems to be that, in a process with 5 threads, it gets some of them on CLOSE_WAIT, and

[us...@httpd] 0 byte logs

2009-09-28 Thread Oliver Marshall
Hi, We've seen a problem for a while on our ubuntu web server whereby apache starts generating 0 byte logs. This applies to the access logs for the individual sites. The only solution we have found is a quick 'apache2ctl graceful' and the logs start being generated normally again...for a

[us...@httpd] Segmentation fault in mod_ldap

2009-09-28 Thread David L. Crow
Server OS: CentOS 5.3 Kernel: 2.6.18-164.el5 httpd: 2.2.3-22.el5.centos.2 One of my httpd servers started getting a segmentation fault in mod_ldap this morning. As far as I can tell, nothing related to httpd changed between a time I know it worked and when the failures started showing up in

[us...@httpd] httpd hangs on all requests

2009-09-28 Thread Paul Buder
I've installed Apache httpd on a laptop here. It hangs on all requests. It is using the default configuration. It is clearly getting the request because if I restart apache the request is terminated. I thought it might be a firewall issue, however I downloaded some web server called Abyss and it

Re: [us...@httpd] Change mod_expires options for an especific IP

2009-09-28 Thread Nick Kew
Fábio Jr. wrote: Hello, I was wondering if there is a way to have a different mod_expires config for an especific IP. Example: I have a directive that says that html files will expire 30 minutes after the access for all: ExpiresByType text/html access plus 30 minutes I want that for

[us...@httpd] Change mod_expires options for an especific IP

2009-09-28 Thread Fábio Jr.
Hello, I was wondering if there is a way to have a different mod_expires config for an especific IP. Example: I have a directive that says that html files will expire 30 minutes after the access for all: ExpiresByType text/html access plus 30 minutes I want that for the IP 10.0.0.1,

Re: [us...@httpd] httpd hangs on all requests

2009-09-28 Thread Nick Kew
Paul Buder wrote: I’ve installed Apache httpd on a laptop here. It hangs on all requests. It is using the default configuration. What default? There are lots of packagers shipping a range of defaults. You're not meant to run without doing your own configuration. My guess would be it's your

Re: [us...@httpd] Segmentation fault in mod_ldap

2009-09-28 Thread Nick Kew
David L. Crow wrote: Server OS: CentOS 5.3 Kernel: 2.6.18-164.el5 httpd: 2.2.3-22.el5.centos.2 One of my httpd servers started getting a segmentation fault in mod_ldap this morning. Does it happen if you upgrade to 2.2.13? Here is a stack trace: Are you in a position to get that with

RE: [us...@httpd] httpd hangs on all requests

2009-09-28 Thread Paul Buder
-Original Message- From: Nick Kew [mailto:n...@webthing.com] Sent: Monday, September 28, 2009 11:35 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] httpd hangs on all requests Paul Buder wrote: I've installed Apache httpd on a laptop here. It hangs on all requests. It is

RE: [us...@httpd] httpd hangs on all requests

2009-09-28 Thread Paul Buder
Me: The default configuration from apache.org. I should have mentioned this is a windows laptop (Dell latitude d530). - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [us...@httpd] Too many CLOSE_WAIT connections

2009-09-28 Thread Nick Kew
Martin Spinassi wrote: Hi list, I'm trying a load balance two tomcats servers with one apache in front wit MPM worker, but after a while, apache left too many connections in CLOSE_WAIT state until it stops responding. Shouldn't do that. Have you got some ridiculously long Timeout? The

Re: [us...@httpd] httpd hangs on all requests

2009-09-28 Thread Nick Kew
Paul Buder wrote: Me: The default configuration from apache.org. I should have mentioned this is a windows laptop (Dell latitude d530). The windows world is crawling with half-assed programs that mess with your networking. Have you tried turning off any firewalls, antivirus, skype, etc and

Re: [us...@httpd] Segmentation fault in mod_ldap

2009-09-28 Thread David L. Crow
We determined it was a problem with an incompatible apr package that got auto-updated on the server from an alternate repository. Going back to the CentOS versions got us back in business. -- David L. Crow Texas! It's like a c...@orangeblood.org whole other

Re: [us...@httpd] Segmentation fault in mod_ldap

2009-09-28 Thread Nick Kew
David L. Crow wrote: We determined it was a problem with an incompatible apr package that got auto-updated on the server from an alternate repository. Going back to the CentOS versions got us back in business. Can you tell us the APR version that caused the coredump and the one that works

Re: [us...@httpd] Too many CLOSE_WAIT connections

2009-09-28 Thread Martin Spinassi
On Mon, 2009-09-28 at 19:48 +0100, Nick Kew wrote: Martin Spinassi wrote: Hi list, I'm trying a load balance two tomcats servers with one apache in front wit MPM worker, but after a while, apache left too many connections in CLOSE_WAIT state until it stops responding. Shouldn't

Re: [us...@httpd] Segmentation fault in mod_ldap

2009-09-28 Thread David L. Crow
Nick Kew wrote: David L. Crow wrote: We determined it was a problem with an incompatible apr package that got auto-updated on the server from an alternate repository. Going back to the CentOS versions got us back in business. Can you tell us the APR version that caused the coredump and the

RE: [us...@httpd] httpd hangs on all requests

2009-09-28 Thread Paul Buder
-Original Message- From: Nick Kew [mailto:n...@webthing.com] Sent: Monday, September 28, 2009 11:53 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] httpd hangs on all requests Paul Buder wrote: Me: The default configuration from apache.org. I should have mentioned this