【发布时间】:2016-06-10 02:42:15
【问题描述】:
我的服务器上有很多服务器别名。所有这些都需要发布到原始站点才能从 HTTP POSTS 中获取结果。我无法让帖子正常工作。奇怪的是 Ajax 调用 DO WORK 但不是 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
提前致谢!
【问题讨论】:
标签: apache ssl reverse-proxy proxypass