我想在apache的RequestHeader上设置SSL_CLIENT_S_DN_CN的值,下面不起作用...
SSLOptions +StdEnvVars
SSLUserName SSL_CLIENT_S_DN_CN
ProxyPass http://x.x.x.x/
ProxyPassReverse http://x.x.x.x/
Header add X-FILTER-Username %{SSL_CLIENT_S_DN_CN}
RequestHeader set X-FILTER-Username %{SSL_CLIENT_S_DN_CN}
知道如何做到这一点?
答案 0 :(得分:1)
设法使用此
解决 Header add X-RStudio-Username "%{SSL_CLIENT_S_DN_CN}s"
RequestHeader set X-FILTER-Username "%{SSL_CLIENT_S_DN_CN}s"