title: lighttpd mod_rewrite all
body: <p>i need an regex to do the following:</p>
  
  <ul>
  <li>redirect EVERY request to the index.php</li>
  <li>if there are get parameters in the url i need to access them with $_GET[] (php)</li>
  </ul>
  
  <p>My (not complete) solution is:</p>
  
  <pre><code>url.rewrite-once = (
     ".*\?(.*)$" =&gt; "/index.php?$1&amp;full_request=$0"
  )
  </code></pre>
  
  <p>But the error here is that if there's not an "?" in the url i get an "404 not found".</p>
  
  <p>Thanks in advance for help,
  dexcs</p>