forked from bcit-ci/CodeIgniter
-
Notifications
You must be signed in to change notification settings - Fork 0
Rewrite with lighttpd
World Wide Web Server edited this page Jul 4, 2012
·
11 revisions
I use this rewrite rule: [code] url.rewrite-once = ( "/(.).(.)" => "$0", "/(css|files|img|js|stats)/" => "$0", "^/([^.]+)$" => "/index.php/$1" ) [/code]
So http://example.com/index.php/controller/action may be accessed via http://example.com/controller/action
You should place with rule into lighttpd.conf.
- Original author: Derek Jones
- How to extend helpers: See User Guide
- Modified by: Thomas Stapleton (id, classes, selected country option and all option)
- Modified by: Bradley De-Lar (construct, setLayout example)