aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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-'.