aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL10
-rw-r--r--etc/brep-apache2.conf10
2 files changed, 18 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 97669de..de84593 100644
--- a/INSTALL
+++ b/INSTALL
@@ -140,7 +140,6 @@ can also find this fragment in install/share/brep/etc/brep-apache2.conf):
# 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
@@ -150,6 +149,15 @@ can also find this fragment in install/share/brep/etc/brep-apache2.conf):
#
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-'.
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-'.