title: How to check if mod_rewrite is enabled in php?
body: <p>I was wondering if it is possible to check if <code>mod_rewrite</code> is enabled on <strong>Apache</strong> AND <strong>IIS</strong> in <strong><code>PHP</code></strong>.</p>
  <p><strong>ModRewrite</strong> for IIS exists. Check it <a href="http://www.micronovae.com/ModRewrite/ModRewrite.html" rel="noreferrer"><code>here</code></a>.</p>
  <p>So, I'm looking for a PHP script that checks for <code>mod_rewrite</code> on <strong>Apache</strong> and <strong>IIS.</strong></p>
  <p>Does anyone know such script or can write one?</p>
  <p>Especially for Microsoft <strong>IIS</strong>.</p>
  <p>Thanks!</p>