简体   繁体   English

Apache proxypass不允许HTTP_POST

[英]Apache proxypass does not allow HTTP_POST

I have many server aliases on my server. 我的服务器上有许多服务器别名。 All of them need to post to original site to get results from HTTP POSTS. 他们都需要发布到原始站点以从HTTP POSTS获得结果。 I can't get the posts to work. 我无法上班。 The weird thing is Ajax calls DO WORK but not HTTP_POST. 奇怪的是,Ajax调用DO WORK而不是HTTP_POST。 This problem is driving me insane. 这个问题使我发疯。 Can somebody help me please ? 有人可以帮我吗?

Here is my Apache vhost for my site : 这是我的网站的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

Thanks in advance ! 提前致谢 !

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

Ref : setting up apache behind a forward proxy 参考: 在转发代理后面设置Apache

try proxy remote * last 尝试代理远程*最后

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM