Proxy: pass request body failed

apache-2.2mod-proxy

I'm trying to enable proxy virtualhost:

<VirtualHost *:80>

  ServerName xxxxx.domain.tdl
  SSLProxyEngine On
  SSLProxyCheckPeerCN on

  ProxyPass / https://localhost:1234
  ProxyPassReverse / https://localhost:1234

</VirtualHost>

But i've an 500 err and my error.log (apache2) display:

[Tue Jan 03 15:41:42 2012] [error] (502)Unknown error 502: proxy: pass
request body failed to [::1]:1234 (localhost)

[Tue Jan 03 15:41:42
2012] [error] proxy: pass request body failed to [::1]:1234
(localhost) from 82.252.xxx.xx ()

Missing some parameters ?

Best Answer

ProxyPass / https://localhost:1234/
ProxyPassReverse / https://localhost:1234/

Try that instead. Slashes matching is important.