Rewrite with https error

Rewrite with https error

am 18.05.2007 16:49:58 von kaderb

Hi Listers,

We have Apache 2.0.X on the front end and Weblogic on backend.
Till today on use Apache in mode ssl and rewrite (clear content) to
Weblogic server like this:

RewriteEngine on
RewriteLogLevel 0
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]

....
RewriteRule ^/win2/Retail$ http://weblogicServer:7001/Retail [P, L]
....

This works fine.
But now we have requirements to secure Apache-Weblogic communication.
So we have had set up ssl on Weblogic Server and modified httpd.conf
by adding s to https:

RewriteRule ^/win2/Retail$ https://weblogicServer:7001/Retail [P, L]
....

Unfortunately this doesn`t work I get the following error:

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /win2/Retail.

Reason: Document contains no data


So we removed the [P,L]
Doing so, I `m redirected to weblogicServer:7001/Retail !
We need to stay on Apache server not directed to Weblodic server.

Can any gurus tell me what I'm missing in the conf file?

Thank you in advance,


Kader