install:lighttpd
Lighttpd
DokuWiki will run just fine with 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 rewriting for how to set up rewrite rules for clean URLs with lighty.
install/lighttpd.txt · Last modified: 2017-01-21 15:58 by 213.122.136.160