[plug] Redirect on postdata
Carl Gherardi
carl.gherardi at gmail.com
Fri Aug 23 10:10:11 UTC 2013
Thanks Leon,
Hadn't had a chance to get back to this until today. That was the start I
needed.
Took about 5 minutes to implement, and 30 minutes to figure out why
mod_rewrite wasn't reading the rules.
On Mon, Aug 12, 2013 at 7:07 AM, Leon Wright <techman83 at gmail.com> wrote:
> Carl,
>
> Not sure if you've had a reply yet, but this should cover it:
>
>
> http://stackoverflow.com/questions/9708631/apache-redirectmatch-regular-expression
>
> Regards,
>
> Leon
>
> --
> DRM 'manages access' in the same way that jail 'manages freedom.'
>
> # cat /dev/mem | strings | grep -i cats
> Damn, my RAM is full of cats... MEOW!!
>
>
> On Fri, Aug 9, 2013 at 12:12 PM, Carl Gherardi <carl.gherardi at gmail.com>wrote:
>
>> Hey all,
>>
>> Pretty standard situation: i'm replacing one service with another, and
>> want to redirect all queries from the old service to the similar equivalent
>> of the new.
>>
>> When I've done this previously the unique data was part of the url. In my
>> current situation it isn't
>>
>> eg.
>> http://server/main?content&content&A&docs&0&11111&0&dgenexec_main&list
>>
>> I need to match and redirect based on the 11111, which is part of the
>> postdata not the url.
>>
>> I'm not having any luck with the Apache docs at the moment. How do you
>> redirect on postdata from within Apache? Or is writing a custom cgi script
>> to interpret the data the only way?
>>
>> Cheers
>>
>> Carl G
>>
>> _______________________________________________
>> PLUG discussion list: plug at plug.org.au
>> http://lists.plug.org.au/mailman/listinfo/plug
>> Committee e-mail: committee at plug.org.au
>> PLUG Membership: http://www.plug.org.au/membership
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20130823/97b71365/attachment.html>
More information about the plug
mailing list