Rewrite Rule Help
jim martin
postfix168 at yahoo.com
Thu Sep 28 04:18:49 UTC 2006
Hi.. I need the following Rewrite Rule now,
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.ABC.com$ [NC]
RewriteRule ^(.*)$ http://www.XYZ.com [R,L]
So it will redirect www.ABC.com to www.XYZ.com but our developer has the requirement to redirect
www.ABC.com/doc/abc.html to www.XYZ.com/doc/abc.html and www.ABC.com/old/ccc.html to
www.XYZ.com/old/ccc.html and etc
How should I change my Rewrite Rule?
Thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the fedora-list
mailing list