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

Ortus June 2024 Newsletter!

Ortus June 2024 Newsletter!

Welcome to the latest edition of the Ortus Newsletter! This month, we're excited to bring you highlights from our sessions at CFCamp and Open South Code, as well as a sneak peek into our upcoming events. Discover the latest developments in BoxLang, our dynamic new JVM language, and catch up on all the insightful presentations by our expert team. Let's dive in!

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024
BoxLang June 2024 Newsletter!

BoxLang June 2024 Newsletter!

We're thrilled to bring you the latest updates and exciting developments from the world of BoxLang. This month, we're diving into the newest beta release, introducing a new podcast series, showcasing innovative integrations, and sharing insights from recent events. Whether you're a seasoned developer or just getting started, there's something here for everyone to explore and enjoy.

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024
BoxLang 1.0.0 Beta 3 Launched

BoxLang 1.0.0 Beta 3 Launched

We are thrilled to announce the release of BoxLang 1.0.0-Beta 3! This latest beta version is packed with exciting new features and essential bug fixes, including robust encryption functionality, enhanced Java interoperability, and more efficient event handling. Key highlights include the introduction of query caching capabilities, seamless coercion of Java Single Abstract Method (SAM) interfaces from BoxLang functions, and support for virtual thread executors. So, let’s dive into the details of what’s new in BoxLang 1.0.0-Beta 3 and how you can start leveraging these updates today!

Luis Majano
Luis Majano
June 28, 2024