how to make it work from abc.net to abc.com without giving the context path

View: New views
1 Messages — Rating Filter:   Alert me  

how to make it work from abc.net to abc.com without giving the context path

by mahesh-29 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi ,

My application is running on specific context called "appcontext"

This is not redirecting if i use the below <rule>
<rule>
    <name>Domain Remapping </name>
    <condition name="host" operator="equal">abc.net</condition>
    <condition name="host" operator="notequal">^$</condition>
    <from>^/(.*)</from>
    <to last="true" type="permanent-redirect">http://www.abc.com/
appcontext/$1</to>
  </rule>

---
and it is working fine only if i give context path after the domain
like
        abc.net/appcontext/  then redirectes to www.abc.com/appcontext/


Please advice me how should i make it work from abc.net to abc.com
without giving the context path(but my application is running on
context path).

Regards,
Mahesh.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "UrlRewrite" group.
To post to this group, send email to urlrewrite@...
To unsubscribe from this group, send email to urlrewrite+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/urlrewrite?hl=en
-~----------~----~----~----~------~----~------~--~---