DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

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