projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aedbb48
)
Tweak url.access-deny
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 12 Sep 2010 18:31:10 +0000
(14:31 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 12 Sep 2010 18:37:00 +0000
(14:37 -0400)
still disallow /config/ access, but make exception for /admin/config/
Thanks to eisd in #regex for helping with the syntax here.
horde/docs/lighttpd-horde.conf
patch
|
blob
|
history
diff --git
a/horde/docs/lighttpd-horde.conf
b/horde/docs/lighttpd-horde.conf
index
bc999df
..
386716b
100644
(file)
--- a/
horde/docs/lighttpd-horde.conf
+++ b/
horde/docs/lighttpd-horde.conf
@@
-18,6
+18,6
@@
url.rewrite-once += (
"^/horde/incubator/content/(.*)$" => "/horde/incubator/content/index.php"
)
-$HTTP["url"] =~ "(/templates/|/scripts/|/lib/|/po/|/locale/)" {
+$HTTP["url"] =~ "(/templates/|/scripts/|/lib/|/po/|/locale/
|(?<!admin)\/config\/?
)" {
url.access-deny = ("")
}