[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Rewrite Rule Help



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 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]