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

ColdBox 7.2.0 Released

ColdBox 7.2.0 Released

ColdBox, a widely used development platform for ColdFusion (CFML), has unveiled version 7.2. Packed with compelling new features, bug fixes, and enhancements, this release is designed to empower developers by boosting productivity, refining scheduled task capabilities, and enhancing the overall reliability and efficiency of application development. This article will delve into the key highlights of ColdBox 7.2 and elucidate how these advancements can positively impact developers in their daily coding endeavors.

Luis Majano
Luis Majano
November 20, 2023
Into the Box 2023 Series on CFCast

Into the Box 2023 Series on CFCast

Excitement is in the air as we unleash the highly anticipated ITB 2023 series exclusively for our valued CFCast subscribers – and the best part? It's FREE for CFCast members! Now is the perfect time if you haven't joined the CFCast community yet. Plus, we've got an incredible End-of-Year deal that's too good to miss

Maria Jose Herrera
Maria Jose Herrera
November 20, 2023
Ortus Deals are Finally Here!

Ortus Deals are Finally Here!

The much-anticipated Ortus End-of-the-Year Sale has arrived, and it's time to elevate your development experience! Whether you're a seasoned developer, a tech enthusiast, or someone on the lookout for top-notch projects, Ortus has something special in store for you. Brace yourself for incredible discounts across a wide array of products and services, including Ortus annual events, books, cutting-edge services, and more.

Maria Jose Herrera
Maria Jose Herrera
November 15, 2023