Skip to content
Snippets Groups Projects
Commit 599feed9 authored by axel-bruening's avatar axel-bruening Committed by Demian Katz
Browse files

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.
parent 9b0d30c0
No related merge requests found
...@@ -25,15 +25,18 @@ Alias /vufind /usr/local/vufind/public ...@@ -25,15 +25,18 @@ Alias /vufind /usr/local/vufind/public
</IfModule> </IfModule>
AllowOverride All AllowOverride All
php_value short_open_tag On
# If you wish to use the Shibboleth authentication, uncomment the following lines # 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 # 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" # "Require" lines in this configuration section for the "Require shibboleth"
# directive to be effective. # directive to be effective.
#AuthType shibboleth #AuthType shibboleth
#Require shibboleth #Require shibboleth
</Directory>
<Location /vufind>
RewriteEngine On RewriteEngine On
RewriteBase /vufind
# If using VuDL, uncomment the following line, fill in your appropriate Fedora # 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 # 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 ...@@ -46,8 +49,6 @@ Alias /vufind /usr/local/vufind/public
RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [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: # Uncomment this line to put VuFind into development mode in order to see more detailed messages:
#SetEnv VUFIND_ENV development #SetEnv VUFIND_ENV development
...@@ -77,4 +78,4 @@ Alias /vufind /usr/local/vufind/public ...@@ -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 # 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. # to define the path manually, you can uncomment and modify this line.
#SetEnv VUFIND_APPLICATION_PATH /usr/local/vufind #SetEnv VUFIND_APPLICATION_PATH /usr/local/vufind
</Directory> </Location>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment