Re: mod_rewrite does not change URL in browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 15, 2011 at 1:02 PM, Jeff Shearer <jeff@xxxxxxxxxxxxxxxxxx> wrote:
> I am trying to move a set of documents from one directory to a new directory.  Currently users are redirected to the new directory but the old URL remains in the browser window.  My research indicates that if I change the PT flag to R I should be able to do what I want.  However, when I change the PT to an R, users are not actually redirected to the new directory.  Here is the VirtualHost configuration:

Try specifying a complete protocol, hostname, etc for the substitution
when you add the 'R' flag -- .e.g http://%{HTTP_HOST}/newsite/$1 [R]


-- 
Eric Covener
covener@xxxxxxxxx

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




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux