Martin Moss wrote:

However after the rewrite, the POST data is lost. Can
anybody throw any light on this?

the rewrite rule is this:-

RewriteRule ^(.*)$ http://%{HTTP_HOST}$1 [R]

Not sure what you are trying to do here. You are making a non-ssl request back to the exact same server, with the exact same parameters - hopefully this is just for your example. Since you are using the "R" flag, you are causing an external redirect. An external redirect will not cause the browser to send the POST information again to the new server. You will probably need to make sure you have mod_proxy installed on the server and use the "P" flag instead. This will proxy the request, which WILL send the post data through.


As a side question, can anybody tell me if a https GET request would encrypt the parameters passed?

Yes - it is. Everything about the request is encrpyted. That is why you cannot use some of the normal http/apache features such as virtual hosts.

--
[EMAIL PROTECTED]




Reply via email to