httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diye Wariebi <d...@escapethenet.co.uk>
Subject Web Redirection
Date Fri, 19 Apr 2002 10:33:12 GMT
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

I am doing this using rewriterule in the virtual host section as below

RewriteEngine on
RewriteRule /(.*) http://www.new-site.com/$1 [R] 

The redirection is working but I cannot keep the original URL showing.

Can anyone help please?  Is this possible?

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