Last active
August 29, 2015 14:11
-
-
Save tsuchm/60e393af58f37ac755e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RewriteMap する前に RewriteEngine on が必要. | |
# これをやっておかないと,map lookup FAILED というエラーではまる. | |
# RewriteMap を呼び出す時点で,「RewriteEngine on」してないから使えないよ,というエラーを出してくれれば楽なのに‥‥ | |
RewriteEngine on | |
RewriteMap mapper prg:/path/to/mapper | |
<Location /shibboleth-required-area> | |
AuthType shibboleth | |
ShibRequestSetting requireSession 1 | |
ShibUserHeaders on | |
Require valid-user | |
RewriteEngine on | |
RewriteRule . - [E=envvar:${mapper:%{HTTP:eppn}},L] | |
</Location> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment