Re: [users@httpd] RewriteRule question: forward requests from one Apache server to another

2005-07-07 Thread Cameron Beattie
Thanks for the tip. I prefer that way. The final config is: Server 1 NameVirtualHost *:80 ServerName server.mydomain.com ProxyPreserveHost On RewriteEngine On RewriteRule ^/(.*) http://60.234.nnn.nn:8008/$1 [L,P] ServerName otherserver.mydomain.com Pro

Re: [users@httpd] RewriteRule question: forward requests from one Apache server to another

2005-07-04 Thread Krist van Besien
On 6/29/05, Cameron Beattie <[EMAIL PROTECTED]> wrote: > For those interested, I ended up using different ports to achieve the > desired result. There may be a better way but this works for me: Good that it works now, but your original setup would have worked had you added: ProxyPreserveHost On

RE: [users@httpd] RewriteRule question: forward requests from one Apache server to another

2005-06-29 Thread Boyle Owen
> -Original Message- > From: Cameron Beattie [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 29. Juni 2005 07:17 > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] RewriteRule question: forward requests from > one Apache server to another > > > For those interested, I ended up usin

Re: [users@httpd] RewriteRule question: forward requests from one Apache server to another

2005-06-28 Thread Cameron Beattie
For those interested, I ended up using different ports to achieve the desired result. There may be a better way but this works for me: Server 1 ServerName server.mydomain.com RewriteEngine On RewriteRule ^/(.*) http://60.234.nnn.nn:8008/$1 [L,P] ServerName otherserv

RE: [users@httpd] RewriteRule question: forward requests from one Apache server to another

2005-06-28 Thread Boyle Owen
> -Original Message- > From: Cameron Beattie [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 28. Juni 2005 10:15 > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] RewriteRule question: forward requests from > one Apache server to another > > > Ok so I checked httpd.conf on server

Re: [users@httpd] RewriteRule question: forward requests from one Apache server to another

2005-06-28 Thread Cameron Beattie
Ok so I checked httpd.conf on server 1 and I stupidly hadn't included RewriteEngine On. I've done that and now I get served up a site from server 2, but it's the wrong site. I have two virtual hosts set up as follows: Server 1 NameVirtualHost *:80 ServerName server.mydomain.com

RE: [users@httpd] RewriteRule question: forward requests from one Apache server to another

2005-06-27 Thread Boyle Owen
> -Original Message- > From: Cameron Beattie [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 28. Juni 2005 04:50 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] RewriteRule question: forward requests from one > Apache server to another > > > I am trying to set up the following confi

[users@httpd] RewriteRule question: forward requests from one Apache server to another

2005-06-27 Thread Cameron Beattie
I am trying to set up the following configuration: 1. Apache server with public IP address 2. Apache server behind NAT with no public IP address 3. Router with public IP address with port forwarding set up for port 8008 to Apache server 2 4. Public DNS record server.mydomain.com resolves to IP a