Commit b29dbf53 authored by haemmer's avatar haemmer

Improved Apache configuration instructions

parent 72bd8e54
......@@ -49,23 +49,22 @@ Installation:
5. If Apache 2 is used, add the following statement to the Apache configugration:
--
<Location /path/to/WAYF>
SetHandler php5-script
</Location>
--
In some clustered environments with FastCGI it may be necessary to use
something like:
Alias /SWITCHaai /#YOUR-PATH-TO#/SWITCHwayf
<Directory /#YOUR-PATH-TO#/SWITCHwayf>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
--
Options +FollowSymLinks
<Files WAYF>
SetHandler php5-script
AcceptPathInfo On
</Files>
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^WAYF/(.*)$ WAYF.php/$1 [QSA,L]
RewriteRule ^WAYF$ WAYF.php [QSA,L]
</IfModule>
--
Alternatively, one also could rename the file 'WAYF' to 'WAYF.php'.
......
Markdown is supported
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