mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 20:10:11 +01:00
Added auth_gssapi example for Apache
This commit is contained in:
parent
8c12469de2
commit
99a4feb9b1
@ -35,3 +35,15 @@ RewriteRule ^view/javascript/piler.js /js.php [QSA,L]
|
|||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule auth_gssapi_module>
|
||||||
|
<FilesMatch "sso\.php$">
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteCond %{HTTP:Authorization} !^$
|
||||||
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
|
||||||
|
AuthName "User with domain part (separated by @) in CAPITALS - e.g. 'user@DOMAIN'"
|
||||||
|
AuthType GSSAPI
|
||||||
|
GssapiBasicAuth On
|
||||||
|
GssapiCredStore keytab:/etc/krb5/http.keytab
|
||||||
|
Require valid-user
|
||||||
|
</FilesMatch>
|
||||||
|
</IfModule>
|
||||||
|
Loading…
Reference in New Issue
Block a user