Hi
I am a real newbie to apache and need a bit of help
I was hoping someone could help me with an apache
rewrite rule - i have been trying to find an answer for days but don't
seem to be having much luck
Basically I have a site (oldsite.com) whenever someody hits a certain
page, which has a URI and query string I want to redirect them to a
newsite (newsite.com). My problem is that it redirects to the new
site ok but it appends the query string to then end of the URL - i
don't want this to happen - just redirect to the requested page. I
have attached my rule below.
RewriteCond %{REQUEST_URI} ^/site/site.do$
RewriteCond %{QUERY_STRING} !XYZ
RewriteRule ^.*$ [
newsited.com...]
I hope someone can help
Thanks
Raz