2012-08-10 14:20:10 +02:00
|
|
|
DirectoryIndex index.php
|
2012-02-14 20:16:05 +01:00
|
|
|
|
2012-02-08 23:14:28 +01:00
|
|
|
RewriteEngine On
|
|
|
|
RewriteRule ^search.php /index.php?route=search/search&type=simple [L]
|
|
|
|
RewriteRule ^advanced.php /index.php?route=search/search&type=advanced [L]
|
|
|
|
RewriteRule ^expert.php /index.php?route=search/search&type=expert [L]
|
|
|
|
RewriteRule ^search-helper.php /index.php?route=search/helper [L]
|
|
|
|
RewriteRule ^audit-helper.php /index.php?route=audit/helper [L]
|
|
|
|
RewriteRule ^message.php /index.php?route=message/view [L]
|
2012-05-07 09:38:47 +02:00
|
|
|
RewriteRule ^bulkrestore.php /index.php?route=message/bulkrestore [L]
|
2015-07-07 14:12:35 +02:00
|
|
|
RewriteRule ^bulkremove.php /index.php?route=message/bulkremove [L]
|
2019-08-20 19:08:31 +02:00
|
|
|
RewriteRule ^rejectremove.php /index.php?route=message/rejectremove [L]
|
2013-11-16 20:23:15 +01:00
|
|
|
RewriteRule ^bulkpdf.php /index.php?route=message/bulkpdf [L]
|
2012-09-15 15:30:35 +02:00
|
|
|
RewriteRule ^folders.php /index.php?route=folder/list& [QSA,L]
|
2012-02-08 23:14:28 +01:00
|
|
|
RewriteRule ^settings.php /index.php?route=user/settings [L]
|
2012-02-14 20:16:05 +01:00
|
|
|
RewriteRule ^login.php /index.php?route=login/login [L]
|
|
|
|
RewriteRule ^logout.php /index.php?route=login/logout [L]
|
2012-09-28 10:34:04 +02:00
|
|
|
RewriteRule ^google.php /index.php?route=login/google [QSA,L]
|
2013-08-24 13:53:14 +02:00
|
|
|
RewriteRule ^domain.php /index.php?route=domain/domain [QSA,L]
|
|
|
|
RewriteRule ^ldap.php /index.php?route=ldap/list [QSA,L]
|
|
|
|
RewriteRule ^customer.php /index.php?route=customer/list [QSA,L]
|
|
|
|
RewriteRule ^retention.php /index.php?route=policy/retention [QSA,L]
|
|
|
|
RewriteRule ^archiving.php /index.php?route=policy/archiving [QSA,L]
|
2015-03-29 16:27:44 +02:00
|
|
|
RewriteRule ^legalhold.php /index.php?route=policy/legalhold [QSA,L]
|
2013-02-17 10:35:51 +01:00
|
|
|
RewriteRule ^view/javascript/piler.js /js.php [QSA,L]
|
2012-02-08 23:14:28 +01:00
|
|
|
|
2012-10-17 13:11:08 +02:00
|
|
|
<IfModule auth_ntlm_winbind_module>
|
|
|
|
<FilesMatch "sso\.php$">
|
|
|
|
AuthName "piler NTLM authentication"
|
|
|
|
NTLMAuth on
|
|
|
|
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
|
|
|
|
NTLMBasicAuthoritative on
|
|
|
|
AuthType NTLM
|
|
|
|
require valid-user
|
|
|
|
</FilesMatch>
|
|
|
|
</IfModule>
|
|
|
|
|
2021-03-31 21:11:44 +02:00
|
|
|
<IfModule auth_gssapi_module>
|
2021-04-01 06:29:43 +02:00
|
|
|
# ktpass -princ HTTP/<webserver-fqdn>@<WINDOWS AD DOMAIN IN CAPITALS> \
|
|
|
|
# -mapuser <ldap helper user>@<WINDOWS AD DOMAIN IN CAPITALS> \
|
|
|
|
# -pass * \
|
|
|
|
# -crypto AES256-SHA1 \
|
|
|
|
# -ptype KRB5_NT_PRINCIPAL \
|
|
|
|
# -out /etc/krb5/http.keytab \
|
|
|
|
#
|
|
|
|
# setspn -s HTTP/<webserver-fqdn> <ldap helper user>
|
|
|
|
|
2021-03-31 21:11:44 +02:00
|
|
|
<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>
|