title: Lighttpd rewrite for Codeigniter breaking on certain URLs
body: <p>I moved from apache to lighttpd, and since then certain URLs break the rewriting and give 404. No details in access.log, error.log regarding what actual URL was hit.</p>
  
  <p>These kind work:
  <a href="http://192.168.1.250/loop/rest/admin" rel="nofollow">http://192.168.1.250/loop/rest/admin</a></p>
  
  <p>But not these:
  <a href="http://192.168.1.250/loop/rest/admin/logs/file::log-2012-02-14.php" rel="nofollow">http://192.168.1.250/loop/rest/admin/logs/file::log-2012-02-14.php</a></p>
  
  <p>If I skip rewriting and use
  <a href="http://192.168.1.250/loop/rest/index.php?/admin/logs/file::log-2012-02-14.php" rel="nofollow">http://192.168.1.250/loop/rest/index.php?/admin/logs/file::log-2012-02-14.php</a></p>
  
  <p>I get what I want, </p>
  
  <p>Here is my rewrite rule:</p>
  
  <pre><code>url.rewrite-once = (
   "/(.*)\.(.*)" =&gt; "$0",
   "/(css|files|img|js|stats)/" =&gt; "$0",
   "^/([^.]+)$" =&gt; "/loop/rest/index.php/$1"
  )
  </code></pre>
  
  <p>Any help would be appreciated.</p>