Project

General

Profile

DokuWiki ยป 10-dokuwiki.conf

Anonymous, 2008-05-18 12:09

 
1
# dokuwiki lighttpd config
2

    
3
url.rewrite-once = (                                                                                                   
4
        "^(/|index.php)?$" => "/doku.php",                                                                     
5
        "^/lib/(.*)/?$" => "/lib/$1",
6
        "^/_media/(.*)?\?(.*)$" => "/lib/exe/fetch.php?media=$1&$2",
7
        "^/_media/(.*)$" => "/lib/exe/fetch.php?media=$1",
8
        "^/_detail/(.*)?\?(.*)$" => "/lib/exe/detail.php?media=$1&$2",
9
        "^/_detail/(.*)?$" => "/lib/exe/detail.php?media=$1",
10
        "^/_export/([^/]+)/(.*)$" => "/doku.php?do=export_$1&id=$2",
11
        "^/(?!doku.php|feed.php|robots.txt|sitemap.xml.gz)(.*)\?(.*)/?$" => "/doku.php?id=$1&$2",
12
        "^/(?!doku.php|feed.php|robots.txt|sitemap.xml.gz|lib|_media|_detail|_export)(.*)/?$" => "/doku.php?id=$1",
13
)
    (1-1/1)