[us...@httpd] Re: Runaway Apache Process

2010-01-26 Thread Nicholas Sherlock
On 27/01/2010 2:28 p.m., Dan Bunyard wrote: This has happened twice now and it's a little bit concerning to me. I have a Fedora 12 server with 5GB of RAM that I use to host a few small web sites of mine. As I mentioned, this happened once before. I tried to load one of my web sites today and it t

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Reese
On 26-Jan-10 21:37, Oliver Schoenborn wrote: I love chocolate chip cookies You helped too, so why not? ;) Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/use

Re: [us...@httpd] Runaway Apache Process

2010-01-26 Thread Reese
On 26-Jan-10 21:05, Dan Bunyard wrote: I can't imagine that RAM is the problem, nor the CPU. It's a dual core machine with 5GB of RAM that gets MAYBE a few hundred unique hits a month How many non-unique hits? We had a problem once, ended up losing a host over it. It turned out to be a malici

RE: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Oliver Schoenborn
I love chocolate chip cookies From: Reese [howel...@inkworkswell.com] Sent: Tuesday, January 26, 2010 8:06 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Rewrite Voodoo pt. 2 ... If you were local to me, I'd offer you a cookie. Chocolate chi

Re: [us...@httpd] Runaway Apache Process

2010-01-26 Thread Dan Bunyard
I can't imagine that RAM is the problem, nor the CPU. It's a dual core machine with 5GB of RAM that gets MAYBE a few hundred unique hits a month between ALL the web sites on it. It did this once before I even had most of the web sites on it, it only had one or two on it the first time it happened

Re: [us...@httpd] Runaway Apache Process

2010-01-26 Thread Reese
On 26-Jan-10 20:28, Dan Bunyard wrote: This has happened twice now and it's a little bit concerning to me. I have a Fedora 12 server with 5GB of RAM that I use to host a few small web sites of mine. As I mentioned, this happened once before. I tried to load one of my web sites today and it took F

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Reese
On 26-Jan-10 19:41, Eric Covener wrote: On Tue, Jan 26, 2010 at 6:12 PM, Reese wrote: RewriteEngine On RewriteCond %{HOST_HTTP} (www\.)?domain.ext RewriteRule ^/(string1)/(.*)$ $2\.domain\.ext/$3 [R=301,L] Much closer to being reasonable. You have more backreferences ($1, $2, $3) then you h

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Eric Covener
On Tue, Jan 26, 2010 at 6:12 PM, Reese wrote: > RewriteEngine On > RewriteCond %{HOST_HTTP} (www\.)?domain.ext > RewriteRule ^/(string1)/(.*)$ $2\.domain\.ext/$3 [R=301,L] > Much closer to being reasonable. You have more backreferences ($1, $2, $3) then you have captures. You probably want some

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Reese
On 26-Jan-10 17:55, Reese wrote: How about this? RewriteEngine On RewriteCond %{HOST_HTTP} (www\.)?domain.ext/string1/ RewriteRule ^/(string1)/(.*)$ $2\.domain\.ext/$3 [R=301,L] I'm having 2nd thoughts on that. How about this one? RewriteEngine On RewriteCond %{HOST_HTTP} (www\.)?domain.ext

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Reese
On 26-Jan-10 17:21, Frank Gingras wrote: You can't use %(HTTP_HOST) in the matching portion of the rule. Dang. How about this? RewriteEngine On RewriteCond %{HOST_HTTP} (www\.)?domain.ext/string1/ RewriteRule ^/(string1)/(.*)$ $2\.domain\.ext/$3 [R=301,L] Reese ---

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Frank Gingras
On 01/26/2010 05:07 PM, Reese wrote: I've been rolling everything that has been said around in my head, and now I'm wondering why something like the below would not work: RewriteEngine On RewriteCond (/sring1/) RewriteRule ^%(HTTP_HOST)/(string1)/(.*)% $2\.domain\.ext/$3 Or am I just not get

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Reese
I've been rolling everything that has been said around in my head, and now I'm wondering why something like the below would not work: RewriteEngine On RewriteCond (/sring1/) RewriteRule ^%(HTTP_HOST)/(string1)/(.*)% $2\.domain\.ext/$3 Or am I just not getting it still? Reese

[us...@httpd] SSL Reverse Proxy

2010-01-26 Thread Brian Mearns
I'm looking for some clarification on how to setup a reverse proxy that supports SSL/TLS. My understanding is as follows (please correct me if I'm wrong): 1. Client connects with SSL, mod_ssl handles this 2. mod_proxy handles generating a proxy-request to the configured origin server 3. SSLProxyEng

[us...@httpd] Configuring SSL - books recomendations please

2010-01-26 Thread David Southwell
Hi I really prefer using hardback books to screen based manuals. Currently I am looking for a really thorough publication with detailed practical examples that can be used for training people to managing apache ssl servers and for introducing novices to SSL. The servers in question are all fr

[us...@httpd] mod_rewrite problem: $1 and $2 not substituted into target url

2010-01-26 Thread Chris Brooks
Good morning Apache list, I have a strange mod_rewrite problem, and I'm not sure how to solve it. I have a RewriteRule that works correctly on one apache daemon, but doesn't work when copied and pasted to the httpd.conf file of a second apache daemon. To state this differently, on the second apa

[us...@httpd] dynamic access control ?

2010-01-26 Thread Frank Bonnet
Hello I'm searching for an apache2 access control system that would be able to check concurrent connections and deny all of them but the first one as long as it is active. A match between IP address and login would be a good start but if some more sophisticated software exists ( working with GPG

[us...@httpd] Forward proxy of NTLM authentication

2010-01-26 Thread Evan Champion
Hi, I am using httpd 2.2.14 as a forwards (not reverse) proxy in front of a number of internal applications, a few of which use NTLM authentication. These do not work through the proxy. Is there anything I can do to make these work? Thanks, Evan