SOURCES: dokuwiki-apache.conf (NEW), dokuwiki-lighttpd.conf (NEW) ...
glen
glen at pld-linux.org
Sun Aug 19 15:55:24 CEST 2007
Author: glen Date: Sun Aug 19 13:55:24 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- added
---- Files affected:
SOURCES:
dokuwiki-apache.conf (NONE -> 1.1) (NEW), dokuwiki-lighttpd.conf (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/dokuwiki-apache.conf
diff -u /dev/null SOURCES/dokuwiki-apache.conf:1.1
--- /dev/null Sun Aug 19 15:55:24 2007
+++ SOURCES/dokuwiki-apache.conf Sun Aug 19 15:55:19 2007
@@ -0,0 +1,5 @@
+Alias /dokuwiki /usr/share/dokuwiki
+
+<Directory /usr/share/dokuwiki/>
+ Allow from all
+</Directory>
================================================================
Index: SOURCES/dokuwiki-lighttpd.conf
diff -u /dev/null SOURCES/dokuwiki-lighttpd.conf:1.1
--- /dev/null Sun Aug 19 15:55:24 2007
+++ SOURCES/dokuwiki-lighttpd.conf Sun Aug 19 15:55:19 2007
@@ -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,
+)
================================================================
More information about the pld-cvs-commit
mailing list