title: How to translate between .htaccess and web.config?
body: <p>I don't have any access to control panel tools, don't have a clue how to do this correctly. I created the following rewrite rules to save me a ton of work - but that's not worked out too well upon realising the server's Microsoft.</p>
  
  <pre><code>RewriteRule ^scotsman-photo-products-([A-Za-z0-9-_]+)/?$ scotsman-photo-products.php?pg=$1 
  RewriteRule ^make-scotsman-photo-([A-Za-z0-9-_]+)/?$ make-scotsman-photo.php?pg=$1 
  </code></pre>
  
  <p>seems any changes made to the config file create a 500 error - is it possible the server will not allow any changes unless through "official" routes?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
      &lt;system.webServer&gt;
          &lt;defaultDocument&gt;
              &lt;files&gt;
                  &lt;add value="index.php" /&gt;
              &lt;/files&gt;
          &lt;/defaultDocument&gt;
      &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Is the current content.</p>