httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] redirect permanent not working
Date Tue, 08 Mar 2011 14:14:35 GMT
On Tue, Mar 8, 2011 at 9:10 AM, Jeff Shearer <jeff@shearer-family.org> 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@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