aboutsummaryrefslogtreecommitdiff
path: root/etc/brep-apache2.conf
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-20 16:02:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-20 16:02:37 +0200
commitf4cca008bd3d2f1263c594bc9b16905e3400a640 (patch)
treec4193ef281cf981130a2cb35ba28179fbf5f6b9e /etc/brep-apache2.conf
parent6ff87331aa452f0971cacbc34a06e2c2b30a00dd (diff)
Improved version of apache config0.1.0
Diffstat (limited to 'etc/brep-apache2.conf')
-rw-r--r--etc/brep-apache2.conf10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/brep-apache2.conf b/etc/brep-apache2.conf
index 189216c..79ebc37 100644
--- a/etc/brep-apache2.conf
+++ b/etc/brep-apache2.conf
@@ -5,7 +5,6 @@
# Load the brep module.
#
LoadModule brep_module /home/brep/install/libexec/brep/mod_brep.so
- SetHandler brep
# Repository root. This is the part of the URL between the host name
# and the start of the repository. For example, root value /pkg/ means
@@ -15,6 +14,15 @@
#
brep-root /pkg/
+ <Location "/pkg/">
+ SetHandler brep
+
+ <IfModule dir_module>
+ DirectoryIndex disabled
+ DirectorySlash Off
+ </IfModule>
+ </Location>
+
# Brep module configuration. If you prefer, you can paste the contents
# of this file here. However, you will need to prefix every option with
# 'brep-'.