IIS - rewrite rule for PHP-XML

Associate
Joined
17 Mar 2008
Posts
135
Unable to run on Apache, so can't use .htaccess.

Need a rewrite rule for IIS so if someone types in www.msn.com/sitemap.xml it pulls the information from www.msn.com/sitemap.php but keep the url/address exactly the same (sitemap.xml).

I don't want a 301 redirect. The url must remain the same - using it for google sitemaps, etc.

Come on guys! I need your help on this one :-D
 
Thanks for the suggestion. Can I run a web.config file from the server just by simply dropping the file into the directory? and how would I make a reference to the file from a php file....

Little unsure how I can integrate both PHP and .NET
 
Back
Top Bottom