RE: [users@httpd] apache adds extra HTML to an error page

2012-07-10 Thread Ruud Dozijn
oops, sent reply to individual user instead of list... Original Message Date: Monday, July 09, 2012 05:04:07 PM +0200 From: Ruud Dozijn rdoz...@hotmail.com To: users@httpd.apache.org Subject: [users@httpd] apache adds extra HTML to an error page hello

[users@httpd] apache stops serving pages on high load

2012-07-10 Thread Roland Roland
Dear all, I have apache 1.3.33-6sarge3 running on debian as you guessed it. (This is a VM) Lately i've been facing an issue on high page request (more than 18/s ) that apache stops serving requests. and the only solution is to restart apache. where it works normally again till the next

[users@httpd] virtual host precedence ?

2012-07-10 Thread Roland Roland
Can anyone help me out in understand how/why virtual host take precedence on the same ip ? like i always face an issue where two distinct virtual hosts are set. the first works, the second doesn't unless i bump it up so it becomes the first listed in the conf file.

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
Anybody got any ideas? Sent from my iPhone On Jul 9, 2012, at 7:24 PM, Chris Arnold carn...@electrichendrix.com wrote: On Jul 9, 2012, at 6:28 PM, Daniel Ruggeri drugg...@primary.net wrote: On 7/9/2012 5:03 PM, Chris Arnold wrote: So the RewriteRule ^/$ http://192.168.123.2 [L] Sends all

Re: [users@httpd] virtual host precedence ?

2012-07-10 Thread Norman Peelman
On 07/10/2012 10:20 AM, Roland Roland wrote: Can anyone help me out in understand how/why virtual host take precedence on the same ip ? like i always face an issue where two distinct virtual hosts are set. the first works, the second doesn't unless i bump it up so it becomes the first listed

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
Am I not asking the right question? Have I not given enough information? Or am I missing something? Sent from my iPhone On Jul 10, 2012, at 1:27 PM, Chris Arnold carn...@electrichendrix.com wrote: Anybody got any ideas? Sent from my iPhone On Jul 9, 2012, at 7:24 PM, Chris Arnold

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Perry Smith
On Jul 10, 2012, at 6:11 PM, Chris Arnold wrote: Am I not asking the right question? Have I not given enough information? Or am I missing something? Sent from my iPhone On Jul 10, 2012, at 1:27 PM, Chris Arnold carn...@electrichendrix.com wrote: Anybody got any ideas? Sent from my

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Igor Cicimov
You've been already given the answer by Eric what else do you need? Read mod_rewrite manual and combine RewriteCond and RewriteRule commands thats all you need to do. On Jul 11, 2012 9:12 AM, Chris Arnold carn...@electrichendrix.com wrote: Am I not asking the right question? Have I not given

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
You've been already given the answer by Eric what else do you need? Read mod_rewrite manual and combine RewriteCond and RewriteRule commands thats all you need to do. Igor,i have read the rewrite guide and tried what i thought was needed. Which i have repeated here more than 1 time but this

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
In the event anyone comes across this, i got this to work using the following: RewriteEngine On RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC] RewriteRule ^/$ http://private.ip.address [R,L] - Original Message - From: Chris Arnold carn...@electrichendrix.com To:

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
I spoke too early!! Again, all http traffic is being directed to the private ip of the iis server. I would love to get some help with this. Sent from my iPhone On Jul 10, 2012, at 10:19 PM, Chris Arnold carn...@electrichendrix.com wrote: In the event anyone comes across this, i got this to

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Daniel Ruggeri
On 7/10/2012 9:32 PM, Chris Arnold wrote: RewriteEngine On RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC] RewriteRule ^/$ http://private.ip.address [R,L] You may need to change the R to a P: RewriteEngine On RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC] RewriteRule ^/$

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Chris Arnold
You may need to change the R to a P: RewriteEngine On RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC] RewriteRule ^/$ http://private.ip.address/ [P,L] This sends all http traffic to the private ip server This turns the rule into a proxy to that private IP, assuming that is what you are

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Igor Cicimov
On Wed, Jul 11, 2012 at 1:22 PM, Chris Arnold carn...@electrichendrix.comwrote: You may need to change the R to a P: RewriteEngine On RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC] RewriteRule ^/$ http://private.ip.address/ [P,L] This sends all http traffic to the private ip server

Re: [users@httpd] apache stops serving pages on high load

2012-07-10 Thread Igor Cicimov
On Tue, Jul 10, 2012 at 11:14 PM, Roland Roland r_o_l_a_...@hotmail.comwrote: Dear all, I have apache 1.3.33-6sarge3 running on debian as you guessed it. (This is a VM) Really? Someone is still running Apache 1.3.x ? Lately i've been facing an issue on high page request (more than 18/s

Re: [users@httpd] virtual host precedence ?

2012-07-10 Thread Igor Cicimov
On Wed, Jul 11, 2012 at 12:20 AM, Roland Roland r_o_l_a_...@hotmail.comwrote: Can anyone help me out in understand how/why virtual host take precedence on the same ip ? like i always face an issue where two distinct virtual hosts are set. the first works, the second doesn't unless i bump it