Hi there,
I'm looking to make use of IIS7s URL rewrite module (
http://learn.iis.net/page.aspx/496/iis-url-rewriting-and-aspnet-routing/) however my Sitefinity installation seems to be causing a rewrite to fail.
The idea is to do an internal rewrite on a URL so that it is internally rewritten to serve the content from another. e.g.
http://www.example.com/MY-TEST-URL will show the content from
http://www.example.com/MY-REAL-CONTENT without changing the URL in the browsers address bar i.e. it's a server side rewrite.
I've succesfully configured this for static files within IIS7 and for the site but the rules fail when trying to serve content from Sitefinity - a 404 error is returned.
I'm guessing Sitefinity is picking up the original request headers somehow, but would like to change this behavoir.
I realise I can add aliases for pages in Sitefinity, but unfortunately this doesn't fit my use case - I'm trying to serve the home page without a path i.e. so that
http://www.example.com/ serves
http://www.example.com/home without a 301 redirect. The "alias" functionality doesn't allow blank URLs.
Any ideas appreciated.
Cheers,
Steve