2016-06-09 60 views
0

我在我的服务器上有很多服务器别名。他们都需要发布到原始站点以获取HTTP POST的结果。我无法让帖子工作。奇怪的是Ajax调用DO WORK,但不是HTTP_POST。这个问题令我疯狂。有人可以帮我吗?Apache proxypass不允许HTTP_POST

这是我为我的网站的Apache虚拟主机:

ServerName xxx-mtl.xxx.net 
    ServerAlias xxx-mtg.xxx.net xxx-est.xxx.net xxx-prd.xxx.net xxx-mau.xxx.net xxx-lan.xxx.net xxx-lav.xxx.net xxx-cot.xxx.net xxx-cha.xxx.net xxx-bas.xxx.net xxx-abi.xxx.net xxx-out.xxx.net 

    SSLProxyEngine On 
    ProxyRequests Off 

    ProxyPass  /https://xxx.xxx.net:443/ 
    ProxyPassReverse/https://xxx.xxx.net:443/ 
    ProxyRemote  * https://127.0.0.1:3128 

    SetEnv proxy-sendchunked 1 

    SSLEngine on 
    SSLCertificateFile /etc/httpd/conf/star.xxx.net.crt 
    SSLCertificateKeyFile /etc/httpd/conf/star.xxx.net.key 
    SSLCertificateChainFile /etc/httpd/conf/gd_bundle-g2-g1.crt 

    LogLevel warn 
    ErrorLog logs/xxx.net-error_log 
    CustomLog logs/xxx.net-access_log common 

提前感谢!

回答