Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rewrite url to url:port number

how can I rewrite the next url request:

http://mydomain.com/virtualDirectory/default.aspx?param1=2&param2=car

to:

http://mydomain.com:8888/virtualDirectory/default.aspx?param1=2&param2=car

Best regards.

like image 935
Fran Rod Avatar asked Nov 23 '12 12:11

Fran Rod


People also ask

Where is URL Rewrite in IIS?

After installation, you will find the URL Rewrite option under the HTTP features section in IIS settings. Now, you can add own rewrite rules. This also allows importing rules like from . htaccess.

What is URL rewriting in IIS?

About the URL Rewrite module The Microsoft URL Rewrite Module 2.0 for IIS 7 and above enables IIS administrators to create powerful customized rules to map request URLs to friendly URLs that are easier for users to remember and easier for search engines to find.

What is URL rewriting proxy?

URL rewriting proxy servers such as EZproxy require no browser configuration. These proxy servers change the URLs in web pages so that requests for web pages from licensed databases are routed back to the proxy server.


1 Answers

You should install the URL Rewrite and the ARR (Application Request Routing) modules for IIS. Here are two links on how these can work together to create a reverse proxy to do what you want:

like image 71
Marco Miltenburg Avatar answered Oct 26 '22 13:10

Marco Miltenburg