title: URL Rewrite with Joomla on IIS7
body: <p>I have Joomla 1.5.9 running on IIS7. I'm now experimenting with the SEO Settings from the Joomla global configuration page.</p>
  
  <p>First I toyed with Search Engine Friendly URLs (that gets rid of the queries part of URLs); that works fine.</p>
  
  <p>I also tried to enable the "Use Apache mod_rewrite". I installed "Microsoft URL Rewrite Module for IIS 7.0" and added the web.config as per <a href="http://learn.iis.net/page.aspx/527/joomla-on-iis" rel="noreferrer">http://learn.iis.net/page.aspx/527/joomla-on-iis</a> . When clicking on menu links, this seems to work in that I no longer see index.php in the URL. The address bar updates to what appears like the right URL, but the content shown is always that of the home page. I tried both in IE and Google Chrome with the same result. Refreshing the page after loaded made no difference.</p>
  
  <p>I tried re-starting IIS7, it didn't make a difference.</p>
  
  <p>Edit: After I followed the suggestion below (followed instructions at <a href="http://www.mydotnetworld.com/post/2008/10/24/URL-Rewriting-In-Joomla-15-on-IIS-7.aspx" rel="noreferrer">http://www.mydotnetworld.com/post/2008/10/24/URL-Rewriting-In-Joomla-15-on-IIS-7.aspx</a> :turned on fast cgi, modified php.ini, and imported rewrite rules instead of putting them in a web.config myself), I now get 404's instead of just showing the home page's content. The URL still appears to be correctly rewritten. So, different behavior but still doesn't work. I'm not sure this is useful information, but these two fields are shown in the 404 page:
  Requested URL   <a href="http://localhost:80/joomla_course/seasonal-specialties" rel="noreferrer">http://localhost:80/joomla_course/seasonal-specialties</a>
  Physical Path   C:\inetpub\wwwroot\joomla_course\seasonal-specialties
  Should the physical path be the 'non-rewritten' URL? Or is it expected that that it be like this?</p>
  
  <p>Edit 2: Oho! I found someone with the same issue posted on Joomla forums: <a href="http://forum.joomla.org/viewtopic.php?f=543&amp;t=364706&amp;p=1598137#p1598137" rel="noreferrer">http://forum.joomla.org/viewtopic.php?f=543&amp;t=364706&amp;p=1598137#p1598137</a> . No answer there either, though.</p>
  
  <p>Any idea on how to diagnose (or even better, fix :) ) this? </p>
  
  <p>Thanks!</p>