From 1de1e45d2496e649f770530febcbe9c0dd37aba0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Dec 2015 14:58:04 +0200 Subject: Bugfix: wrong apache configuration Location directive --- INSTALL | 9 +++++---- INSTALL-DEV | 12 ++++++++++-- etc/brep-apache2.conf | 9 +++++---- 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/ - + SetHandler brep - DirectoryIndex disabled - DirectorySlash Off + DirectoryIndex disabled + DirectorySlash Off diff --git a/INSTALL-DEV b/INSTALL-DEV index 92d7d43..2d03bbd 100644 --- a/INSTALL-DEV +++ b/INSTALL-DEV @@ -66,13 +66,21 @@ replacing and with the actual absolute paths # Load the brep module. # LoadModule brep_module /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/ + + SetHandler brep + + + DirectoryIndex disabled + DirectorySlash Off + + + # Brep module configuration. # brep-conf /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/ - + SetHandler brep - DirectoryIndex disabled - DirectorySlash Off + DirectoryIndex disabled + DirectorySlash Off -- cgit v1.1