mod_rewrite Workaround

I have managed to work around the issue of not having mod_rewrite on my IIS hosting account. Since I can use by ASP.NET and PHP on a single site, I took advantage of the free UrlRewriter library and web.config settings. It’s actually pretty cool.  I have a new Health & Fitness Clickbank Mall site create that is all done using PHP, but I use a web.config file along with UrlRewriter to handle correctly rewriting URLs. The funky thing is that all of the URLs look like they are for aspx files, but they are actually all served up by my index.php file.  It may not be ideal or pretty, but it sure seems to work!

No Comments

Comments are closed.