httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diye Wariebi <d...@escapethenet.co.uk>
Subject Re: Web Redirection
Date Fri, 19 Apr 2002 11:46:15 GMT
Thanks Guys

I do have mod_proxy enabled and I tried using the [P] options within the
Rewriterule and it works fine.

FYI

The site second site is on a second server.

On Fri, 2002-04-19 at 12:18, Owen Boyle wrote:
> James Tait wrote:
> > 
> > Diye Wariebi wrote:
> > >>I am trying to redirect a site as below
> > >>
> > >>When you type in http://www.domain.com I want the user to be redirected
> > >>to http://www.new-site.com but I want their browser to still show
> > >>http://www.domain.com
> > 
> > Surely you can proxy the request?
> > 
> > RewriteEngine on
> > RewriteRule /(.*) http://www.new-site.com/$1 [P]
> > 
> > This assumes, of course, that mod_proxy is enabled.
> 
> Yep - that'll work... I always forget about mod_proxy! The poster should
> be aware however that all proxied traffic will have to pass through his
> server - but that's his lookout...
> 
> Rgds,
> 
> Owen Boyle.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
-- 
Diye



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message