This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
docpublic:systemes:shibboleth:sp_wordpress [2022/07/04 14:50] adminjp [references] |
docpublic:systemes:shibboleth:sp_wordpress [2022/07/04 14:53] (current) adminjp [apache vhost config] |
||
---|---|---|---|
Line 30: | Line 30: | ||
</ | </ | ||
</ | </ | ||
+ | </ | ||
+ | ==== .htaccess rewrites Shibbolet.sso ==== | ||
+ | at the DocumentRoot of wordpress vhost, the .htaccess does the job to exclude | ||
+ | |||
+ | < | ||
+ | RewriteEngine On | ||
+ | RewriteBase / | ||
+ | |||
+ | RewriteCond %{REQUEST_URI} ^/ | ||
+ | # | ||
+ | RewriteCond %{REQUEST_URI} ^/shib(.+) | ||
+ | RewriteRule . - [L] | ||
+ | |||
+ | RewriteRule ^index\.php$ - [L] | ||
+ | RewriteRule ^Shibboleth.sso(.+) - [END] | ||
+ | RewriteRule ^Shibboleth.sso/ | ||
+ | RewriteRule ^Shibboleth.sso/ | ||
+ | RewriteRule ^Shibboleth.sso/ | ||
+ | RewriteRule ^shib(.+) - [L] | ||
+ | |||
+ | # BEGIN Shibboleth | ||
+ | AuthType shibboleth | ||
+ | Require shibboleth | ||
+ | # END Shibboleth | ||
+ | </ | ||
==== wordpress farm multisite ==== | ==== wordpress farm multisite ==== |