You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Philip Pemberton <us...@philpem.me.uk> on 2006/09/18 19:56:27 UTC

[users@httpd] Re: Extra garbage in URL when using mod_rewrite with redirects

Joshua Slive wrote:
> Don't mix mod_rewrite and mod_alias.  In place of those 
> RedirectPermanent, use
> RewriteRule ^forum http://forum.philpem.me.uk [R=permanent,L]
> etc...

That sorted it - thanks.

Now the only problem is I have a pair of RewriteCond commands for each 
redirect, and all of them need to be kept up to date.. Other than that, it's 
working great.

Thanks.
-- 
Phil.                         |  (\_/)  This is Bunny. Copy and paste Bunny
usenet06@philpem.me.uk        | (='.'=) into your signature to help him gain
http://www.philpem.me.uk/     | (")_(") world domination.
If mail bounces, replace "06" with the last two digits of the current year.


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