我試圖/領班重定向到https://someurl:4343Apache的mod_rewrite的mod_proxy的重定向
我使用:
SSLProxyEngine on
ProxyPass /foreman https://MyIP:4343/
ProxyPassReverse /foreman https://MyIP:4343/
結果到目前爲止是:
我得到的索引頁沒有風格,沒有圖像
沒有鏈接工作ie/foreman/hos TS?somevariable = someValue中
我想獲得的所有請求/領班/ *去https://MyIP:4343/ *包括變量,GET請求,圖片,樣式表等
我應該如何進行?
您是否嘗試過加入'SSLProxyEngine on'你'ProxyPass'聲明之前?看到[這裏](http://serverfault.com/questions/84821/apache-proxypass-with-ssl)相關問題 – John
我有,我確實。 –
'/ foreman /'後面的斜線? [apache文檔](http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass)說'如果第一個參數以尾部/結尾,那麼第二個參數也應該以尾部/反之亦然。否則,由此產生的請求到後端可能會錯過一些需要的斜槓,並不能提供預期的結果。' – John