Re: [users@httpd] Apache stops responding until being reloaded.

2011-10-06 Thread stal...@locum.ru
06.10.2011 22:09, William A. Rowe Jr. пишет: Looks like you have a vulnerable flavor of APR, be watchful (perhaps with mod_log_forensic) of autoindex requests which contain P=*?*?*?*?... style patterns. No.. lynx "http://testdomain.name?P=*?*?*?*?"; to this server --> LA not up. -

Re: [users@httpd] serving pre-compressed content

2011-10-06 Thread Rainer Jung
On 06.10.2011 18:36, Xavier Noria wrote: > Does anyone have a well-tested and idiomatic Apache configuration to serve > pre-compressed content? Vary header, Content-Type header, browser gotchas, > and everything robustly sorted out? Yes, see below. > The situation is that you have foo.css and foo

Re: [users@httpd] Could Apache login support CAPTCHA and lockout?

2011-10-06 Thread Jeroen Geilman
On 2011-10-04 14:44, Neal Rhodes wrote: We have bunches of web applications which use the regular Apache login protection, Do you mean HTTP Basic Auth, as defined in RFC 2616 ? and they won't run unless REMOTE_USER is set by the Apache login. require valid-user requi

Re: [users@httpd] Apache stops responding until being reloaded.

2011-10-06 Thread William A. Rowe Jr.
On 10/6/2011 8:22 AM, stal...@locum.ru wrote: > > Some time Apache stops responding until being reloaded. on server work > mod_php5 and wsgi > for django app. os debian 6.0.2. kernel 2.6.32-5-amd64 > > apache2 -v > Server version: Apache/2.2.16 (Debian) > Server built: Aug 8 2011 14:38:30

Re: [users@httpd] Apache stops responding until being reloaded.

2011-10-06 Thread stal...@locum.ru
06.10.2011 20:29, Tom Evans пишет: On Thu, Oct 6, 2011 at 3:11 PM, stal...@locum.ru wrote: fox fix problem with reload or fix high load? To fix problems with load, buy a bigger server, or serve less requests (by caching etc). load high only if connections count == max_clients value. increase

[users@httpd] serving pre-compressed content

2011-10-06 Thread Xavier Noria
Does anyone have a well-tested and idiomatic Apache configuration to serve pre-compressed content? Vary header, Content-Type header, browser gotchas, and everything robustly sorted out? The situation is that you have foo.css and foo.css.gz on disk, and want Apache to serve foo.css.gz directly if a

Re: [users@httpd] Re: Vanity URL Rewrites Best Practices?

2011-10-06 Thread Tom Evans
On Thu, Oct 6, 2011 at 3:00 PM, Nick Tkach wrote: > Just to answer my own question, in case it helps someone else down the > road, what I was missing was that inside the curly braces you need to > dereference the variable with % rather than $.  So the right version > of what I posted above is: > >

Re: [users@httpd] Apache stops responding until being reloaded.

2011-10-06 Thread Tom Evans
On Thu, Oct 6, 2011 at 3:11 PM, stal...@locum.ru wrote: > fox fix problem with reload or fix high load? > To fix problems with load, buy a bigger server, or serve less requests (by caching etc). Cheers Tom - The official User-

Re: [users@httpd] Cat request + query for rewrite?

2011-10-06 Thread Tom Evans
On Thu, Oct 6, 2011 at 5:21 PM, Nick Tkach wrote: > Is there some way to make a RewriteRule concat together two > back-references?  What I want to do is take the REQUEST_URI and the > QUERY_STRING of a request and use the two together as a key into a > map. > > So if I have a request like this: >

[users@httpd] Cat request + query for rewrite?

2011-10-06 Thread Nick Tkach
Is there some way to make a RewriteRule concat together two back-references? What I want to do is take the REQUEST_URI and the QUERY_STRING of a request and use the two together as a key into a map. So if I have a request like this: http://mysite.com/bar/startpage?arg1=a&arg2=b and I want to r

Re: [users@httpd] Apache stops responding until being reloaded.

2011-10-06 Thread stal...@locum.ru
fox fix problem with reload or fix high load? 06.10.2011 17:46, Jim Jagielski пишет: Bump up MaxClients. On Oct 6, 2011, at 9:22 AM, stal...@locum.ru wrote: Some time Apache stops responding until being reloaded. on server work mod_php5 and wsgi for django app. os debian 6.0.2. kernel 2.

Re: [users@httpd] Re: Vanity URL Rewrites Best Practices?

2011-10-06 Thread Nick Tkach
On Wed, Oct 5, 2011 at 2:48 PM, Nick Tkach wrote: > On Mon, Oct 3, 2011 at 1:41 PM, Andrew Schulman > wrote: >> >> > For example, >> > >> > http://foo.com/mmh/maintenance_plan/tip?contentCategoryType=MaintenanceTip&id=%2Fwww%2Favm_webapps%2Fmmh%2Fmaintenance-tips%2Fcontent%2Fafter_blizzard.xml >>

Re: [users@httpd] Apache stops responding until being reloaded.

2011-10-06 Thread Jim Jagielski
Bump up MaxClients. On Oct 6, 2011, at 9:22 AM, stal...@locum.ru wrote: > > Some time Apache stops responding until being reloaded. on server work > mod_php5 and wsgi for django app. os debian 6.0.2. kernel 2.6.32-5-amd64 > > apache2 -v > Server version: Apache/2.2.16 (Debian) > Server bui

[users@httpd] Apache stops responding until being reloaded.

2011-10-06 Thread stal...@locum.ru
Some time Apache stops responding until being reloaded. on server work mod_php5 and wsgi for django app. os debian 6.0.2. kernel 2.6.32-5-amd64 apache2 -v Server version: Apache/2.2.16 (Debian) Server built: Aug 8 2011 14:38:30 apache2 -V Server version: Apache/2.2.16 (Debian) Server b