httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Bowes <robin-li...@robinbowes.com>
Subject [users@httpd] Help with simple rewrite
Date Sat, 14 May 2005 11:31:58 GMT
Hi,

I'm running apache-2.0.52-3.1 on Fedora Core 3.

I would like to re-direct http://robinbowes.com/gallery to 
http://gallery.robinbowes.com, and change the URL in the browser to the 
new one too.

I'm currently using the following:

     <Directory "/home/apache/robinbowes.com/geeklog/live/public_html/">
         RewriteEngine On
         RewriteBase /
         RewriteRule ^/gallery$ http://gallery.robinbowes.com [L,R]
     </Directory>

This does the re-direct, but does not change the URL in my browser.

Am I doing this the right way? How can I get the browser URL to change?

Thanks,

R.
-- 
http://robinbowes.com


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message