English 中文(简体)
我如何说服 mo-proxy_ajp把环境变数推回背后?
原标题:How do I convince mod_proxy_ajp to pass environment variables to its backend?

I m试图使用Patrica s mod_proxy,附在AJP后端和一个jp-wsgi服务器,但似乎没有向应用服务器发送SetEnv的变量。

配置刀具:

<Location /script>
    ProxyPass ajp://localhost:8009/script
    SetEnv FOO "barbobot"
</Location>

我如何把阿帕奇组合的环境变量传递给我的服务器?

最佳回答

骗局将环境变量与AJP_联系起来。

<Location /script>
    ProxyPass ajp://localhost:8009/script
    SetEnv AJP_FOO "barbobot"
</Location>

See

问题回答

暂无回答




相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签