From 5e69dd913ecc0d156594c3354fb37d23f5eccc5d Mon Sep 17 00:00:00 2001 From: northway Date: Tue, 3 Apr 2018 14:50:17 +0200 Subject: [PATCH] Readme update: apache vhost config --- README-hu.md | 16 +++++++++++++++- README.md | 17 ++++++++++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/README-hu.md b/README-hu.md index bd9e49e..7dd8471 100644 --- a/README-hu.md +++ b/README-hu.md @@ -12,7 +12,7 @@ Kell lennie egy működő Shibboleth SP-nek és be kell kapcsolni a shib2 Apache * `sudo a2enmod shib2` * `sudo systemctl restart apache2` -Apache vhost konfig: +### Apache vhost konfig: ```apache @@ -22,6 +22,20 @@ Apache vhost konfig: Require valid-user ``` +### Apache vhost konfig FastCGI (FPM) + +A `ShibRequestSetting applicationId default` helyett `ShibUseHeaders On` érdemes használni. + +```apache + + + AuthType shibboleth + ShibRequestSetting requireSession true + Require valid-user + ShibUseHeaders On + + +``` ## Telepítés: PluggableAuth extension diff --git a/README.md b/README.md index b7cafe7..6f87134 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Install Shibboleth Apache modul on Debian/Ubuntu linux: * `sudo a2enmod shib2` * `sudo systemctl restart apache2` -Apache vhost konfig: +### Apache vhost konfig ```apache @@ -25,6 +25,21 @@ Apache vhost konfig: ``` +### Apache vhost konfig FastCGI (FPM) + +You should replace `ShibRequestSetting applicationId default` with `ShibUseHeaders On`. + +```apache + + + AuthType shibboleth + ShibRequestSetting requireSession true + Require valid-user + ShibUseHeaders On + + +``` + ## Installation > This extension requires the [PluggableAuth](https://www.mediawiki.org/wiki/Extension:PluggableAuth) extension and [Shibboleth](https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPConfiguration) to be installed first.