Re: redirect permanent not working

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

 



On Tue, Mar 8, 2011 at 9:10 AM, Jeff Shearer <jeff@xxxxxxxxxxxxxxxxxx> wrote:
> I am unable to successfully redirect traffic after moving 4 files from one location to another.  I have the following code in the virtual host container:
>
> Redirect permanent http://www.trustedtechpro.com/marks.html http://www.trustedtechpro.com/policies/marks.html
> Redirect permanent http://www.trustedtechpro.com/terms.html http://www.trustedtechpro.com/policies/terms.html
> Redirect permanent http://www.trustedtechpro.com/privacypolicy.html http://www.trustedtechpro.com/policies/privacypolicy.html
> Redirect permanent http://www.trustedtechpro.com/policyarchive.html http://www.trustedtechpro.com/policies/archive/index.html

Redirect takes a URL-path, not a full URL.

http://httpd.apache.org/docs/current/mod/mod_alias.html#redirect

Redirect [status] URL-path URL

Example:

Redirect /service http://foo2.example.com/service

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