On 5/15/05, Manuel Blechschmidt <manuel.blechschmidt@xxxxxx> wrote: > > <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. > > This is correct. The Rewriteengine is normally used to hide parameters > of an cgi script. So it does an internal translation of the URL. > http://www.example.com/contact/form.html -> > http://www.example.com/index.php?cat=contact&content=form The "R" above indicates an external redirect, which will do the same as a Redirect directive, so the use of RewriteRule is not the problem. The problem is likely the fact that the RewriteRule is inside a <Directory> section, which is unnecessary and leads to confusion. Checking with the RewriteLog would probably show the problem. Of course, using just the Redirect directive is simpler and should work fine in this case. Joshua. --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx