[packages/stikked] disable access to config from lighttpd config
glen
glen at pld-linux.org
Sat Mar 15 20:03:52 CET 2014
commit da49528651d469f66454efac2a5a90149f18236c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Mar 15 20:59:27 2014 +0200
disable access to config from lighttpd config
lighttpd.conf | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/lighttpd.conf b/lighttpd.conf
index 19a64e2..5079809 100644
--- a/lighttpd.conf
+++ b/lighttpd.conf
@@ -10,3 +10,7 @@ url.rewrite-once += (
"^" + var.stikked_url + "/robots\.txt$" => "$0",
"^" + var.stikked_url + "/(.*)$" => var.stikked_url + "/index.php$2",
)
+
+$HTTP["url"] =~ "^" + var.stikked_url + "/config/" {
+ url.access-deny = ("")
+}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/stikked.git/commitdiff/0537374f69d8a18c1289b6e076812500731bd16d
More information about the pld-cvs-commit
mailing list