[plug] Redirect on postdata

Leon Wright techman83 at gmail.com
Sun Aug 11 23:07:35 UTC 2013


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/20130812/93eb247d/attachment.html>


More information about the plug mailing list