# IIS Rewrite rules

**URL:** https://www.finalbuilder.com/forums/t/iis-rewrite-rules/5660
**Category:** Discussion
**Created:** [November 18, 2014, 10:11am UTC](https://www.finalbuilder.com/forums/t/iis-rewrite-rules/5660 "2014-11-18T10:11:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mschnecke](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/f9ae1b/32.png) [@mschnecke](https://www.finalbuilder.com/forums/u/mschnecke)
#### Post date: [November 18, 2014, 10:11am UTC](https://www.finalbuilder.com/forums/t/iis-rewrite-rules/5660/1 "2014-11-18T10:11:04Z")

</div>

Hi, has someone a set of IIS rewrite rules available?   
  
 Thank you   
 Micha

---

<div class="post-metadata">

### Author: ![peter.toms](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/df788c/32.png) [@peter.toms](https://www.finalbuilder.com/forums/u/peter.toms)
#### Post date: [November 19, 2014, 2:40am UTC](https://www.finalbuilder.com/forums/t/iis-rewrite-rules/5660/2 "2014-11-19T02:40:29Z")

</div>

Hi Micha, sorry I’m not entirely sure what you are asking in regards to this one, would you please be able to elaborate further?   
  
Thanks

---

<div class="post-metadata">

### Author: ![mschnecke](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/f9ae1b/32.png) [@mschnecke](https://www.finalbuilder.com/forums/u/mschnecke)
#### Post date: [November 19, 2014, 9:35am UTC](https://www.finalbuilder.com/forums/t/iis-rewrite-rules/5660/3 "2014-11-19T09:35:02Z")

</div>

Hi Peter, sorry for the poorly formulated question. I would like use the IIS URL rewrite module to rewrite the Continua CI website from the Default Website. I’m not the rewrite hero so I looking for help and some working samples. Do you have some experiences with this topic?   
  
 Thank you   
 Micha

---

<div class="post-metadata">

### Author: ![peter.toms](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/df788c/32.png) [@peter.toms](https://www.finalbuilder.com/forums/u/peter.toms)
#### Post date: [November 24, 2014, 2:06am UTC](https://www.finalbuilder.com/forums/t/iis-rewrite-rules/5660/4 "2014-11-24T02:06:08Z")

</div>

Hi Micha, when you say “rewrite the Continua CI website from the Default Website” what do you specifically mean? Could you give an example of what your goal is for this one?   
  
 Probability the best place to start if you are new to URL rewriting (under IIS) would be the Microsoft documentation (this example gives a very clear introduction: [http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module](http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module)). Rewrite rules themselves can be simply as simple as a regular expression (and thus very specific to your usecase).   
  
 Thanks.

---

<div class="post-metadata">

### Author: ![mschnecke](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/f9ae1b/32.png) [@mschnecke](https://www.finalbuilder.com/forums/u/mschnecke)
#### Post date: [November 25, 2014, 6:54am UTC](https://www.finalbuilder.com/forums/t/iis-rewrite-rules/5660/5 "2014-11-25T06:54:27Z")

</div>

Hi Peter, I would like create a reverse proxy with the IIS Rewrite Module. The goal is to access the Continua CI website with “[https://myserver.org/ci/](https://myserver.org/ci/)” instaed of “[http://myserver:4040/ci](http://myserver:4040/ci)”. I found the rewrite tutorials too but I thought I am not the first person of this request and someone has some rule sets.

---

<div class="post-metadata">

### Author: ![peter.toms](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/df788c/32.png) [@peter.toms](https://www.finalbuilder.com/forums/u/peter.toms)
#### Post date: [November 25, 2014, 7:53am UTC](https://www.finalbuilder.com/forums/t/iis-rewrite-rules/5660/6 "2014-11-25T07:53:46Z")

</div>

I personally have not tried this usecase, however came across a number of useful articles :   
  
[http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing](http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing)   
[http://weblogs.asp.net/owscott/creating-a-reverse-proxy-with-url-rewrite-for-iis](http://weblogs.asp.net/owscott/creating-a-reverse-proxy-with-url-rewrite-for-iis)   
  
Additional things to consider:   
- Some admin routes are; [http://localhost:81/administration](http://localhost:81/administration)   
- Some config routes are; [http://localhost:81/New\_Project\_1/ci/configwizard/\*\*\*\*](http://localhost:81/New_Project_1/ci/configwizard/ **** )   
  
Something to try out: You could create an application under your https site called ‘ci’ which contains the attached re-rewrite rules (eg request [https://myserver.org/ci/](https://myserver.org/ci/) -\> [http://ASERVER:8081](http://ASERVER:8081)).  
  
Note that the attachment is a text file.  
  
Thanks.[\_\_32985\_\_0\_\_rules.txt](https://www.finalbuilder.com/forums/uploads/default/original/2X/0/09a52e0a0297414efc5ba328b691b212167fdc21.txt) (216 B)
