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

Into the Box is Going Online, Register Now!

Into the Box is Going Online, Register Now!

Dive into the Future of Web Development with Into the Box 2024 - now going global and online! No matter where you are, you're invited to join us for an amazing and enriching two-day experience on May 16th and 17th, packed with groundbreaking insights, expert sessions, and game-changing announcements.

Maria Jose Herrera
Maria Jose Herrera
May 01, 2024
Into the Box 2024: Your Gateway to the Future of Tech!

Into the Box 2024: Your Gateway to the Future of Tech!

Are you ready to advance your coding skills? The future of Modern Web Development awaits at Into the Box 2024, and we're thrilled to announce that due to high demand, we're extending our Early Bird pricing for an additional week!

Maria Jose Herrera
Maria Jose Herrera
April 26, 2024