Blog

Brad Wood

July 17, 2012

Spread the word


Share your thoughts

 

The typical ColdBox application always has "index.cfm" somewhere in each URL.  This is required so the web server knows to have your CFML application server process the request.  With the SES intereceptor you can eliminate the query string, but do you wonder how some websites get away with no file at all for super pretty URLs like:
 
This can be accomplished with a rewriting engine in your web server that adds the "index.cfm" back in to the URL once it reaches the server.  You can set it up with IIS or Apache.  Sound hard?  Not if you downloaded the ColdBox bundle!  Look in the "/install/SES Rewrite Rules" directory and we have sample rewrite configurations in there to get you started.
 
 
P.S. Remember to remove the index.cfm in your setBaseURL() in routes.cfm so event.buildLink() doesn't put it back in your links.
 

Add Your Comment

Recent Entries

Ortus & BoxLang July Recap 2026

Ortus & BoxLang July Recap 2026

July continued to showcase the rapid evolution of the Ortus ecosystem with major BoxLang releases, innovative developer tools, and expanded AI capabilities. From new runtime features and cloud-native integrations to practical learning resources and technical deep dives, this month's highlights reflect Ortus' commitment to building modern, high-performance solutions for the JVM.

The month also featured community initiatives, conference resources, and international events, including CFCa...

Victor Campos
Victor Campos
July 31, 2026