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!

Categories: ASP.NET, PHP Dev
July 24, 2008 12:01 pm


No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.







Copyright © 2008 Flintvalley LLC, All rights reserved.