Skip to content

Rewrite with lighttpd

SystemDisc edited this page Jun 2, 2017 · 12 revisions

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.

Clone this wiki locally