apache requestheader 环境变量

apache requestheader environment variable

我想在 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}

知道怎么做吗?

设法用这个解决

  Header add X-RStudio-Username "%{SSL_CLIENT_S_DN_CN}s"
  RequestHeader set X-FILTER-Username "%{SSL_CLIENT_S_DN_CN}s"