我可以在R Shiny脚本中访问HTTP变量吗?

时间:2016-12-06 15:02:36

标签: r shiny shiny-server

我有一个经过CAS身份验证的Apache服务器,重定向到像这样的

<VirtualHost *:80>

     <Proxy *>
         Allow from localhost
     </Proxy>


     RewriteEngine on



     RewriteCond %{HTTP:Upgrade} =websocket
     RewriteRule /shiny/(.*) ws://localhost:3838/$1 [P,L]
     RewriteCond %{HTTP:Upgrade} !=websocket
     RewriteRule /shiny/(.*) http://localhost:3838/$1 [P,L]
     ProxyPass /shiny/ http://localhost:3838/
     ProxyPassReverse /shiny/ http://localhost:3838/

     ProxyPass /shiny-admin/ http://localhost:4151/
     ProxyPassReverse /shiny/ http://localhost:4151/



</VirtualHost>

我想要做的是阅读并在闪亮的脚本中使用REMOTE_USER http变量如何从apache httpd变量中获取这个????

0 个答案:

没有答案
相关问题