Blog

ColdBox and URL Rewrites with IIS 7

Luis Majano April 06, 2009

Spread the word

Luis Majano

April 06, 2009

Spread the word


Share your thoughts

This is a post to help people know that there is a free URL rewrite for IIS7 that microsoft has built and it is pretty darn snazzy. You can get the download from here: http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1691.

The documentation for the rewrite tool is here: http://learn.iis.net/page.aspx/460/using-url-rewrite-module/

A nice video of how to configure the tool is here: http://learn.iis.net/page.aspx/506/url-rewrite-module---video-walkthrough/

After downloading and installing, you need to configure the rewrite for a specific website you have created.  You can do that by using the included web.config in the SESRewriteRules folder of the installation directory of the ColdBox download.  Below is the contents of the file that you can use to import right in to enable Full SES rewriting within IIS7 and any servlet container. As always when using code from somebody else, please try it out first. So try out the following rules and tweak as desired.



    
        
            
                
                
                
                
                
                
                
                
            
        
        
            
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
				
                    
                    
                        
                    
                    
                
                
                    
                    
                        
                    
                    
                
                
                    
                    
                        
                    
                    
                
                
                    
                    
                        
                        
                    
                    
                
            
        
    
 

Add Your Comment

Recent Entries

BoxLang 1.0.0 Beta 27 Launched

BoxLang 1.0.0 Beta 27 Launched

We are excited to bring you Beta 27 with enhanced XML handling, new CLI app support, improved error handling, and expanded interoperability with Java and CFML runtimes. We've also added new HTTP event hooks, improved caching strategies, and a streamlined class resolution process to make your applications more performant, even in debug modes.

Luis Majano
Luis Majano
January 31, 2025
Into the Box 2025 | Plan Your Trip With Us!

Into the Box 2025 | Plan Your Trip With Us!

Are you ready to join us for Into the Box 2025 from April 30th to May 2nd in Washington, D.C.? Let’s make your trip planning as smooth as possible. Here you’ll find Airfare discounts, Hotel Deals and fun things to do to the the best out of your trip to D.C.

Maria Jose Herrera
Maria Jose Herrera
January 30, 2025