]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
- added
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 19 Aug 2007 13:55:19 +0000 (13:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-apache.conf -> 1.1
    dokuwiki-lighttpd.conf -> 1.1

dokuwiki-apache.conf [new file with mode: 0644]
dokuwiki-lighttpd.conf [new file with mode: 0644]

diff --git a/dokuwiki-apache.conf b/dokuwiki-apache.conf
new file mode 100644 (file)
index 0000000..22623a5
--- /dev/null
@@ -0,0 +1,5 @@
+Alias /dokuwiki /usr/share/dokuwiki
+
+<Directory /usr/share/dokuwiki/>
+       Allow from all
+</Directory>
diff --git a/dokuwiki-lighttpd.conf b/dokuwiki-lighttpd.conf
new file mode 100644 (file)
index 0000000..367d99a
--- /dev/null
@@ -0,0 +1,12 @@
+# dokuwiki lighttpd config
+var.dokudir = "/usr/share/dokuwiki"
+var.dokuuri = "/dokuwiki"
+
+# deny access completly to these
+$HTTP["url"] =~ "/\.ht" { url.access-deny = ( "" ) }
+$HTTP["url"] =~ "/_ht" { url.access-deny = ( "" ) }
+$HTTP["url"] =~ "^" + var.dokuuri + "/(bin|data|inc|conf)/"  { url.access-deny = ( "" ) }
+
+alias.url += (
+       var.dokuuri => var.dokudir,
+)
This page took 0.143934 seconds and 4 git commands to generate.