DokuWiki

It's better when it's simple

User Tools

Site Tools


install:lighttpd

Lighttpd

DokuWiki will run just fine with Lighttpd and PHP through FastCGI.

  1. create /etc/dokuwiki/lighttpd.conf
  2. cd /etc/lighttpd/conf-available
  3. ln /etc/dokuwiki/lighttpd.conf 50-dokuwiki.conf
    1. /etc/lighttpd/conf-available/50-dokuwiki.conf -> /etc/dokuwiki/lighttpd.conf 
  4. enable config with lighttpd-enable-mod dokuwiki
  5. /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 = ( "" )
}
install/lighttpd.txt · Last modified: 2017-01-21 15:58 by 213.122.136.160

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki