以下の構成に従って、Splunk インストールに SSO とリバース プロキシを提供するように Apache サーバーを構成しました。SSO は、ポート 8000 で実行されている Splunk インスタンスを /splunk URL の背後に隠すリバース プロキシと同様に機能します。
ProxyPass /splunk http://localhost:8000/splunk
ProxyPassReverse /splunk http://localhost:8000/splunk
<Location /splunk >
# Kerberos Authentication
AuthType Kerberos
AuthName "Kerberos Login"
KrbAuthRealms MYDOMAIN.COM
Krb5KeyTab /etc/krb5.http.keytab
KrbMethodNegotiate on
KrbAuthoritative on
KrbMethodK5Passwd off
KrbLocalUserMapping on
KrbSaveCredentials on
require valid-user
# SSO
RewriteEngine On
RewriteCond %{LA-U:REMOTE_USER} (.+)$
RewriteRule . - [E=RU:%1]
RequestHeader set REMOTE_USER %{RU}e
</Location>
問題は Apache ログにあります。次のエラー メッセージが大量に表示されます。
[client x.x.x.x] Request exceeded the limit of 10 subrequest nesting levels due to probable confguration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://splunk.mydomain.com/splunk/en-GB/debug/sso
この問題が Splunk に関連しているかどうかはわかりません。他の誰かがこれを見たことがありますか?どうすれば問題を解決できますか?