rewrite not work

156 views
Skip to first unread message

Алексей Баженов

unread,
Jul 13, 2016, 3:16:50 PM7/13/16
to UrlRewrite
Hi.
I need your help.
I added  piece of code in  rewrite.xml

<rule>
   <condition name="host" operator="equal">^wiki.contoso.com</condition>
   <from>^/(.*)</from>
   <to type="redirect" last="true">https://wiki.google.com/$1</to>
</rule>  
  
   <rule>
     <condition name="host" operator="notequal">^wiki.contoso.com</condition>
     <from>^/(.*)</from>
     <to type="redirect" last="true">%{scheme}://wiki.google.com/$1</to>
   </rule>


but redirect  not work.  Could you help me, please.

Rohit Sampat

unread,
Jul 14, 2016, 2:55:32 AM7/14/16
to urlre...@googlegroups.com
HI ,

Can you please tel me the exception you are getting? and the configuration ?

--
You received this message because you are subscribed to the Google Groups "UrlRewrite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urlrewrite+...@googlegroups.com.
To post to this group, send email to urlre...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/urlrewrite/652f065d-5803-440d-a47a-f546a68cb673%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Regards,

Rohit Sampat
Technology Lead.
Cell - +91-9819822314
"Exprience Is what u Get, When u Dont Get What U Want.."
Reply all
Reply to author
Forward
0 new messages