title: Modx Evolution Rewrite URL Web.Config IIS
body: <p>I need help converting htaccess into web.config for IIS server.<br>
  This htaccess is used by Modx Evolution 1.x</p>
  
  <pre><code>#php_flag register_globals Off
  #AddDefaultCharset utf-8
  #php_value date.timezone Europe/Moscow
  
  Options +FollowSymlinks
  RewriteEngine on
  RewriteBase /
  
  # Fix Apache internal dummy connections from breaking [(site_url)] cache
  RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
  RewriteRule .* - [F,L]
  
  # Rewrite domain.com -&gt; www.domain.com -- used with SEO Strict URLs plugin
  #RewriteCond %{HTTP_HOST} .
  #RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
  #RewriteRule (.*) http://www.example.com/$1 [R=301,L]
  
  # Exclude /assets and /manager directories and images from rewrite rules
  RewriteRule ^(manager|assets)/*$ - [L]
  RewriteRule \.(jpg|jpeg|png|gif|ico)$ - [L]
  
  # For Friendly URLs
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
  </code></pre>
  
  <p>I need to convert this configuration into web.config for IIS server.</p>