How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Mr. Gregory White Your Own Question

Mr. Gregory White
Mr. Gregory White, Professor
Category: Homework
Satisfied Customers: 5229
Experience:  M.A., M.S. Education / Educational Administration
46856550
Type Your Homework Question Here...
Mr. Gregory White is online now
A new question is answered every 9 seconds

IIS ReWrite rule needed to achieve following:

Customer Question

IIS ReWrite rule needed to achieve following:
-----------------------------------
Please note: Please attempt this only if you are good at IIS Rewriting. Please do not try to suggest any hacks or off topic things.
-----------------------------------
Hi all,
I will appreciate your giving me exact IIS Rewrite rule that can achieve the following:
------------
Any requests for
http://sp/PathIfAny
http://sp2/PathIfAny
http://Server1/PathIfAny
Should be rewritten to:
http://sp.contoso.com/PathIfAny
------------
Please test the rule on complicated URLs. Three test cases are given below, but you can come-up with more examples to test on your own.
Test case 1 -
http://sp
should be rewritten to
http://sp.contoso.com
------------------
Test case 2 -
http://sp/finance
should be rewritten to
http://sp.contoso.com/finance
------------------
Test case 3 -
http://server1/IT/Requests/_layouts/15/FormServer.aspx?XsnLocation=http://server1/IT/Requests/ITRequests/Forms/template.xsn&SaveLocation=http://server1/IT/Requests/ITRequests&ClientInstalled=false&DefaultItemOpen=1&Source=http://server1/IT/Requests/default.aspx
should be rewritten to
http://sp.contoso.com/IT/Requests/_layouts/15/FormServer.aspx?XsnLocation=http://sp.contoso.com/IT/Requests/ITRequests/Forms/template.xsn&SaveLocation=http://sp.contoso.com/IT/Requests/ITRequests&ClientInstalled=false&DefaultItemOpen=1&Source=http://sp.contoso.com/IT/Requests/default.aspx
--------
Thanks so much.
Submitted: 8 months ago.
Category: Homework
Expert:  Mr. Gregory White replied 8 months ago.

Hello, my name is Greg.

I see this might be time sensitive.

Do you still need this answered?

Customer: replied 8 months ago.

Hi there

Yes, I am still looking and will appreciate the answer.

Thanks

Expert:  Mr. Gregory White replied 8 months ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.