Apache Server configuration support - Rewrite with https error

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > May 2007 > Rewrite with https error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Rewrite with https error
kaderb@yahoo.com

2007-05-18, 1:25 pm

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com