From 5082c4470c2627c0484702e923d4817d5dc2230f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1sztor=20J=C3=A1nos?= <janos.pasztor@balabit.com>
Date: Fri, 24 Jun 2016 14:21:21 +0200
Subject: [PATCH] docs: make it work with Apache 2.4

* Add an extra apache access control directive
  to make it work with newer Apaches
  Source: http://stackoverflow.com/questions/23337446/getting-a-403-forbidden-error-for-simplesaml-after-apache-upgrade
---
 docs/simplesamlphp-install.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/simplesamlphp-install.md b/docs/simplesamlphp-install.md
index 5e3c8c339..118c4f7e0 100644
--- a/docs/simplesamlphp-install.md
+++ b/docs/simplesamlphp-install.md
@@ -121,6 +121,12 @@ Find the Apache configuration file for the virtual hosts where you want to run S
             Alias /simplesaml /var/simplesamlphp/www
     </VirtualHost>
 
+If you are using Apache 2.4.6 or higher version, you have to add an extra configuration directive to play nicely with the Apache 2.4 security settings
+
+    <Directory /var/simplesamlphp/www/>
+            Require all granted
+    </Directory>
+
 Note the `Alias` directive, which gives control to SimpleSAMLphp for all urls matching `http(s)://service.example.com/simplesaml/*`. SimpleSAMLphp makes several SAML interfaces available on the web; all of them are included in the `www` subdirectory of your SimpleSAMLphp installation. You can name the alias whatever you want, but the name must be specified in the `config.php` file of simpleSAML as described in [the section called “SimpleSAMLphp configuration: config.php”](#sect.config "SimpleSAMLphp configuration: config.php"). Here is an example of how this configuration may look like in `config.php`:
 
     $config = array (
-- 
GitLab