====== Lighttpd ======
[[wiki:wiki]] will run just fine with [[http://www.lighttpd.net|Lighttpd]] and PHP through FastCGI.
- create ''/etc/dokuwiki/lighttpd.conf''
- ''cd /etc/lighttpd/conf-available''
- ''ln /etc/dokuwiki/lighttpd.conf 50-dokuwiki.conf''
- /etc/lighttpd/conf-available/50-dokuwiki.conf -> /etc/dokuwiki/lighttpd.conf
- enable config with ''lighttpd-enable-mod dokuwiki''
- ''/etc/init.d/lighttpd force-reload''
===== /etc/dokuwiki/lighttpd.conf =====
alias.url += ("/dokuwiki" => "/usr/share/dokuwiki")
$HTTP["url"] =~ "^/dokuwiki" {
server.follow-symlink = "enable"
}
$HTTP["url"] =~ "/(\.|_)ht" {
url.access-deny = ( "" )
}
$HTTP["url"] =~ "^/dokuwiki/(bin|data|inc|conf)" {
url.access-deny = ( "" )
}
* See [[:security#deny_directory_access_in_lighttpd]]
* See [[:rewrite#lighttpd|rewriting]] for how to set up rewrite rules for clean URLs with lighty.