From 599feed97d930a056ac6ff3ba4757e2015d49de0 Mon Sep 17 00:00:00 2001 From: axel-bruening <bruening.axel@gmail.com> Date: Wed, 11 Nov 2015 09:04:12 -0500 Subject: [PATCH] Improved directory-based multisite configuration. - Using <Location> fixes Apache Configuration for Directory-Based Multisite. Multiple config files of vufind can be configured in httpd.conf of Apache for multisite mode without symlinking the public directory. --- config/vufind/httpd-vufind.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config/vufind/httpd-vufind.conf b/config/vufind/httpd-vufind.conf index f0754236070..36c41cb36dd 100644 --- a/config/vufind/httpd-vufind.conf +++ b/config/vufind/httpd-vufind.conf @@ -25,15 +25,18 @@ Alias /vufind /usr/local/vufind/public </IfModule> AllowOverride All + php_value short_open_tag On + # If you wish to use the Shibboleth authentication, uncomment the following lines # AND comment out the "Require all granted" line above. There must not be any other # "Require" lines in this configuration section for the "Require shibboleth" # directive to be effective. #AuthType shibboleth #Require shibboleth +</Directory> +<Location /vufind> RewriteEngine On - RewriteBase /vufind # If using VuDL, uncomment the following line, fill in your appropriate Fedora # server and port, and make sure that Apache mod_proxy and mod_proxy_http are @@ -46,8 +49,6 @@ Alias /vufind /usr/local/vufind/public RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] - php_value short_open_tag On - # Uncomment this line to put VuFind into development mode in order to see more detailed messages: #SetEnv VUFIND_ENV development @@ -77,4 +78,4 @@ Alias /vufind /usr/local/vufind/public # the location of the index.php file, but in case it is e.g. symlinked or there is another reason # to define the path manually, you can uncomment and modify this line. #SetEnv VUFIND_APPLICATION_PATH /usr/local/vufind -</Directory> +</Location> -- GitLab