diff options
-rw-r--r-- | INSTALL | 10 | ||||
-rw-r--r-- | etc/brep-apache2.conf | 10 |
2 files changed, 18 insertions, 2 deletions
@@ -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-'. |