Try the following..

RewriteRule ^/(.*)          https://pqrs.com/$1 [L,R]
Other  way arnd, go for  ProxyPass

Chk mod_proxy enabled

ProxyPass  /  https://pqrs.com/
ProxyPassReverse   /  
https://pqrs.com/                                                           

B.Sadhiq

--- On Wed, 20/1/10, RAG <[email protected]> wrote:

From: RAG <[email protected]>
Subject: [Linux_Mantra] Redirection rules for "redirect URL" identifier
To: [email protected]
Date: Wednesday, 20 January, 2010, 3:38 PM







 



  


    
      
      
      Hi,



I need to redirect https://abcd. com to https://pqrs. com.

I achieved this by adding 

RewriteRule ^/$ https://pqrs. com/ [R]



on the ssl.conf of abcd.com.



But when it gets 

https://abcd. com/xx/xx/ xxxxxxxxxx/ xxxx&redirectUrl =https:// abcd.com/ 
xx/xx/xxxxxxxxxx /xxxx



it redirects it to 

https://pqrs. com/xx/xx/ xxxxxxxxxx/ xxxx&redirectUrl =https:// abcd.com/ 
xx/xx/xxxxxxxxxx /xxxx



means it's not redirecting with identifier "redirectUrl= ".



How to rewrite to that as well ??



Regards,

Ritesh Anand





    
     

    
    


 



  






      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

[Non-text portions of this message have been removed]

Reply via email to