Dotclear 2 en mode PATH_INFO et Lighttpd 1.5
Lors de mon précédent article, j'ai présenté des règles d'URL rewriting pour Lighttpd non complètes.
Les voici après améliorations :
$HTTP["host"] =~ "^(www\.|)geeek\.org$" {
url.rewrite-once = (
"^/(admin)/(.*)$" => "/$1/$2",
"^/(xmlrpc)/(.*)$" => "/index.php/$1/$2",
"^/(sitemap.xml|urllist.txt)$" => "/index.php/$1",
"^/([^\?]*)\.(.*)" => "/$0",
"^/(.*)$" => "/index.php/$1"
)
}