title: How enable mode_rewrite in windows server 2008 r2 (with php installed)
body: <p>i have windows server 2008(r2) and i installed php and mysql using with <code>Web Platform Installer</code> in that windows.<br>
  it seems everything is ok about php and mysql.<br>
  now i want to install <a href="http://www.phpfreechat.net/" rel="nofollow">http://www.phpfreechat.net/</a> in my server.<br>
  after installation i got this error :   </p>
  
  <pre><code>mod_rewrite must be enabled server side and correctly configured. "RewriteBase" could be adjusted in server/.htaccess file.
  </code></pre>
  
  <p>as you know .htaccess file is for linux servers.<br>
  what this error mean and how can i fix it?<br>
  i think in my server php is working under iis and there is no appache in my serevr, so how can i bypass that error?<br>
  i changed the wwwroot permission to EveryOne with no help.<br>
  also when i open wwwroot with cuteftp i can not find any permission by right click on every file (properties)  </p>
  
  <p><strong>EDIT:</strong><br>
  there are some folders in that project like client - server - etc<br>
  in server folder .htaccess is like this :   </p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
    RewriteEngine On
    #RewriteBase /path/to/phpfreechat/server
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php [QSA,L]
  &lt;/IfModule&gt;
  
  &lt;Limit OPTIONS GET POST PUT DELETE&gt;
    Order allow,deny
    Allow from all
  &lt;/Limit&gt;
  </code></pre>
  
  <p>thanks in advance</p>