Re: [users@httpd] virtual host precedence ?

2012-07-10 Thread Igor Cicimov
On Wed, Jul 11, 2012 at 12: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

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 wrote: > 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 ) > that apache s

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

2012-07-10 Thread Igor Cicimov
On Wed, Jul 11, 2012 at 1:22 PM, Chris Arnold wrote: > >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

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 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 ^/$ http://p

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 wrote: > In the event anyone comes across this, i got this to work using the following: > R

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" To: users@httpd.apache.org Sent: Tuesday, July 10,

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 thi

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" wrote: > Am I not asking the right question? Have I not given enough information? > Or am

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 wrote: > >> Anybody got any ideas? >> >> Sent from my iPhone >> >>

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 wrote: > Anybody got any ideas? > > Sent from my iPhone > > On Jul 9, 2012, at 7:24 PM, Chris Arnold wrote: > >> On Jul 9, 2012,

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 in

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 wrote: > On Jul 9, 2012, at 6:28 PM, Daniel Ruggeri wrote: > >> On 7/9/2012 5:03 PM, Chris Arnold wrote: >>> So the RewriteRule ^/$ http://192.168.123.2 [L] >>> Sends all traffic to 192.168.123.2. I just need

[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. --

[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 p

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 > > To: users@httpd.apache.org > > Subject: [users@httpd] apache adds extra HTML to an error page > > > > > > hello list,