Here's a hint:On 09/03/2013 09:06 PM, Ajay Garg wrote:
> Hi all.
>
> In our setup, we need to do conditional-redirects.
> Till now, we were able to accomplish them, by using a smart combination
> of "RewriteCond", "RewriteRule" and "QSA".
>
> However, we now face a situation, wherein we need to do re-directs, only
> if the original-URL does not contain POST-variables/parameters (although
> they may contain any number of GET-variables). Going through the
> "mod_rewrite" documentation, I could not find any way to do
> conditional-redirect, for URLs containing POST-variables/parameters.
>
>
> Is it even possible to accomplish via HTTPD?
> If yes, I will be grateful for pointers :)
>
>
>
> Thanks and Regards,
> Ajay
RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule ......
With regards,
Daniel.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx