Re: Sanity check on mod_rewrite and POST data [slightly OT]

[prev] [thread] [next] [Date index for 2005/02/04]

From: ___cliff rayman___
Subject: Re: Sanity check on mod_rewrite and POST data [slightly OT]
Date: 18:35 on 04 Feb 2005
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.

        -- 
        _____cliff_rayman_____cliff_@_rayman_._com_____


AW: Logging user's movements
Denis Banovic 13:50 on 04 Feb 2005

Re: AW: Logging user's movements
James Smith 14:16 on 04 Feb 2005

Re: AW: Logging user's movements
Leo Lapworth 14:55 on 04 Feb 2005

Re: Sanity check on mod_rewrite and POST data [slightly OT]
___cliff rayman___ 18:35 on 04 Feb 2005

Generated at 09:05 on 06 Feb 2005 by mariachi v0.52