Hide File Extension

Oct 28, 2010 at 4:05 PM
Edited Oct 28, 2010 at 4:10 PM

With IIS6 I used to used Port 80's PageXchanger to simulate the MultiView feature of Apache.  I am now upgrading to Windows 2008 w/IIS7, and PageXchanger is no longer supported.

Is there a rule I can use with IIRF to hide the file extensions for "php, htm, html, asp, etc..."? Most of the sites I am migrating do not point to the full filename, so I am hoping not to have to recode all those sites.

(ie: www.domain.com/contact  (actually opens www.domain.com/contact.php)

 

EDIT (10 MINUTES LATER): I found a couple of threads regarding this matter that include examples and suggestions by Cheeso. Not sure why I didn't find them on my first search, but none the less, they are here!

Coordinator
Nov 4, 2010 at 12:55 AM

Just FYI - IIS7 includes a rewrite capability, built-in.  You can use IIRF with IIS7 to accomplish what you want, but you can also accomplish what you want using a Microsoft-provided rewriter module.