summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Wilde <wilde@intevation.de>2007-02-02 16:12:17 (GMT)
committerSascha Wilde <wilde@intevation.de>2007-02-02 16:12:17 (GMT)
commitabda1f878e9100c8d835145f3b9daddb8596debd (patch)
treeaa609b4b18da04b8e4527e95979a817ac258557a
parent1a6de503433dfe5df0805abe1340bf604c6cb561 (diff)
downloadkolab-conf-abda1f878e9100c8d835145f3b9daddb8596debd.tar.gz
Fixed restrictions on /fbview. Fixes issue 1507.
-rw-r--r--conf/templates/httpd.conf.template.in12
1 files changed, 4 insertions, 8 deletions
diff --git a/conf/templates/httpd.conf.template.in b/conf/templates/httpd.conf.template.in
index bffe1de..7a6a1e6 100644
--- a/conf/templates/httpd.conf.template.in
+++ b/conf/templates/httpd.conf.template.in
@@ -135,20 +135,16 @@ DocumentRoot "@webserver_document_root@"
AccessFileName .htaccess
<Location @webserver_web_prefix@/>
- ErrorDocument 403 https://@@@fqdnhostname@@@/@webserver_web_prefix@/admin/
+ ErrorDocument 403 https://@@@fqdnhostname@@@@webserver_web_prefix@/admin/
</Location>
-<Location @webserver_web_prefix@/fbview/*.php>
+<Location "@webserver_web_prefix@/fbview">
Deny from all
- ErrorDocument 403 https://@@@fqdnhostname@@@/@webserver_web_prefix@/fbview/
+ ErrorDocument 403 https://@@@fqdnhostname@@@@webserver_web_prefix@/fbview/
</Location>
-<Location @webserver_web_prefix@/fbview/index.php>
+<Location ~ "@webserver_web_prefix@/fbview/(index.php|login.php)?$">
Order allow,deny
Allow from all
</Location>
-<Location @webserver_web_prefix@/fbview/login.php>
- Order allow,deny
- Allow from all
-</Location>
<Files ~ "^\.ht">
Order allow,deny