aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL9
-rw-r--r--INSTALL-DEV12
-rw-r--r--etc/brep-apache2.conf9
3 files changed, 20 insertions, 10 deletions
diff --git a/INSTALL b/INSTALL
index b7de683..234e3b6 100644
--- a/INSTALL
+++ b/INSTALL
@@ -152,16 +152,17 @@ can also find this fragment in install/share/brep/etc/brep-apache2.conf):
# and the start of the repository. For example, root value /pkg/ means
# the repository URL is http://example.org/pkg/. Specify / to use the
# web server root (e.g., http://example.org/). If using a different
- # repository root, don't forget to also change Alias directives below.
+ # repository root, don't forget to also change Location and Alias
+ # directives below.
#
brep-root /pkg/
- <Location "/pkg/">
+ <Location "/pkg">
SetHandler brep
<IfModule dir_module>
- DirectoryIndex disabled
- DirectorySlash Off
+ DirectoryIndex disabled
+ DirectorySlash Off
</IfModule>
</Location>
diff --git a/INSTALL-DEV b/INSTALL-DEV
index 92d7d43..2d03bbd 100644
--- a/INSTALL-DEV
+++ b/INSTALL-DEV
@@ -66,13 +66,21 @@ replacing <BREP-OUT-ROOT> and <BREP-SRC-ROOT> with the actual absolute paths
# Load the brep module.
#
LoadModule brep_module <BREP-OUT-ROOT>/brep/mod_brep.so
- SetHandler brep
# Repository root. Use / for web server root. And don't forget to also
- # update the Alias directives below.
+ # update the Location and Alias directives below.
#
brep-root /pkg/
+ <Location "/pkg">
+ SetHandler brep
+
+ <IfModule dir_module>
+ DirectoryIndex disabled
+ DirectorySlash Off
+ </IfModule>
+ </Location>
+
# Brep module configuration.
#
brep-conf <BREP-SRC-ROOT>/etc/brep-module.conf
diff --git a/etc/brep-apache2.conf b/etc/brep-apache2.conf
index 79ebc37..7f999c3 100644
--- a/etc/brep-apache2.conf
+++ b/etc/brep-apache2.conf
@@ -10,16 +10,17 @@
# and the start of the repository. For example, root value /pkg/ means
# the repository URL is http://example.org/pkg/. Specify / to use the
# web server root (e.g., http://example.org/). If using a different
- # repository root, don't forget to also change Alias directives below.
+ # repository root, don't forget to also change Location and Alias
+ # directives below.
#
brep-root /pkg/
- <Location "/pkg/">
+ <Location "/pkg">
SetHandler brep
<IfModule dir_module>
- DirectoryIndex disabled
- DirectorySlash Off
+ DirectoryIndex disabled
+ DirectorySlash Off
</IfModule>
</Location>