On 9/18/06, Philip Pemberton <[EMAIL PROTECTED]> wrote:

RedirectPermanent /forum http://forum.philpem.me.uk
RedirectPermanent /blog http://blog.philpem.me.uk


Although the stuff after the ? is pretty benign (the scripts in those
directories just ignore it), for the sake of URL tidiness I'd like to get rid
of it. Can anyone tell me what I need to add to my htaccess to do that?

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 might be exactly what you need, but it should be close.)

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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to