DokuWiki

It's better when it's simple

User Tools

Site Tools


install:lighttpd_config_example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
install:lighttpd_config_example [2011-11-06 19:37] 77.3.190.197install:lighttpd_config_example [2015-09-23 22:14] (current) 84.249.197.102
Line 25: Line 25:
 # rewrites for dokuwiki # rewrites for dokuwiki
 $HTTP["url"] =~ "^" + var.dokudir { index-file.names = ("doku.php") } $HTTP["url"] =~ "^" + var.dokudir { index-file.names = ("doku.php") }
-    url.rewrite = ( +url.rewrite-once = ( 
-      "^" + var.dokudir + "/lib/.*$"                     => "$0", +  "^" + var.dokudir + "/lib/.*$"                     => "$0", 
-      "^" + var.dokudir + "/_media/(.*)?\?(.*)$"         => var.dokudir + "/lib/exe/fetch.php?media=$1&$2", +  "^" + var.dokudir + "/_media/(.*)?\?(.*)$"         => var.dokudir + "/lib/exe/fetch.php?media=$1&$2", 
-      "^" + var.dokudir + "/_media/(.*)$"                => var.dokudir + "/lib/exe/fetch.php?media=$1", +  "^" + var.dokudir + "/_media/(.*)$"                => var.dokudir + "/lib/exe/fetch.php?media=$1", 
-      "^" + var.dokudir + "/_detail/(.*)?\?(.*)$"        => var.dokudir + "/lib/exe/detail.php?media=$1&$2", +  "^" + var.dokudir + "/_detail/(.*)?\?(.*)$"        => var.dokudir + "/lib/exe/detail.php?media=$1&$2", 
-      "^" + var.dokudir + "/_detail/(.*)?$"              => var.dokudir + "/lib/exe/detail.php?media=$1", +  "^" + var.dokudir + "/_detail/(.*)?$"              => var.dokudir + "/lib/exe/detail.php?media=$1", 
-      "^" + var.dokudir + "/_export/([^/]+)/(.*)\?(.*)$" => var.dokudir + "/doku.php?do=export_$1&id=$2&$3", +  "^" + var.dokudir + "/_export/([^/]+)/(.*)\?(.*)$" => var.dokudir + "/doku.php?do=export_$1&id=$2&$3", 
-      "^" + var.dokudir + "/_export/([^/]+)/(.*)"        => var.dokudir + "/doku.php?do=export_$1&id=$2", +  "^" + var.dokudir + "/_export/([^/]+)/(.*)"        => var.dokudir + "/doku.php?do=export_$1&id=$2", 
-      "^" + var.dokudir + "/doku.php.*"                  => "$0", +  "^" + var.dokudir + "/doku.php.*"                  => "$0", 
-      "^" + var.dokudir + "/feed.php.*"                  => "$0", +  "^" + var.dokudir + "/feed.php.*"                  => "$0", 
-      "^" + var.dokudir + "/(.*)\?(.*)"                  => var.dokudir + "/doku.php?id=$1&$2", +  "^" + var.dokudir + "/(.*)\?(.*)"                  => var.dokudir + "/doku.php?id=$1&$2", 
-      "^" + var.dokudir + "/(.*)"                        => var.dokudir + "/doku.php?id=$1" +  "^" + var.dokudir + "/(.*)"                        => var.dokudir + "/doku.php?id=$1" 
-    )+)
 </code> </code>
  
 Note: On [[install:Debian]] there is no dokuwiki.conf, but there is a symlink ''/etc/lighttpd/conf-enabled/50-dokuwiki.conf -> ../conf-available/50-dokuwiki.conf'' which itself is a symlink: ''/etc/lighttpd/conf-available/50-dokuwiki.conf -> /etc/dokuwiki/lighttpd.conf'' Note: On [[install:Debian]] there is no dokuwiki.conf, but there is a symlink ''/etc/lighttpd/conf-enabled/50-dokuwiki.conf -> ../conf-available/50-dokuwiki.conf'' which itself is a symlink: ''/etc/lighttpd/conf-available/50-dokuwiki.conf -> /etc/dokuwiki/lighttpd.conf''
- 
- 
- 
install/lighttpd_config_example.1320604672.txt.gz · Last modified: 2011-11-06 19:37 by 77.3.190.197

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