Rewrite with lighttpd - bcit-ci/CodeIgniter GitHub Wiki

Category:Config::Webserver

url.rewrite-if-not-file = (
  "^/(.+)$" => "/index.php/$1"
)

So http://example.com/index.php/controller/action may be accessed via http://example.com/controller/action and all existing files can still be accessed

You should place the rule into lighttpd.conf.

⚠️ **GitHub.com Fallback** ⚠️