<div dir="ltr">Carl,<div><br></div><div>Not sure if you've had a reply yet, but this should cover it:</div><div><br></div><div><a href="http://stackoverflow.com/questions/9708631/apache-redirectmatch-regular-expression">http://stackoverflow.com/questions/9708631/apache-redirectmatch-regular-expression</a><br>
</div><div><br></div><div>Regards,</div><div><br></div><div>Leon</div></div><div class="gmail_extra"><br clear="all"><div>--<br>DRM 'manages access' in the same way that jail 'manages freedom.'<br><br># cat /dev/mem | strings | grep -i cats<br>
Damn, my RAM is full of cats... MEOW!!</div>
<br><br><div class="gmail_quote">On Fri, Aug 9, 2013 at 12:12 PM, Carl Gherardi <span dir="ltr"><<a href="mailto:carl.gherardi@gmail.com" target="_blank">carl.gherardi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey all,<br><br>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.<br><br>When I've done this previously the unique data was part of the url. In my current situation it isn't<br>

<br>eg.<br><a href="http://server/main?content&content&A&docs&0&11111&0&dgenexec_main&list" target="_blank">http://server/main?content&content&A&docs&0&11111&0&dgenexec_main&list</a><br>

<br>I need to match and redirect based on the 11111, which is part of the postdata not the url. <br><br>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?<br>

<br>Cheers<br><br>Carl G<br>
<br>_______________________________________________<br>
PLUG discussion list: <a href="mailto:plug@plug.org.au">plug@plug.org.au</a><br>
<a href="http://lists.plug.org.au/mailman/listinfo/plug" target="_blank">http://lists.plug.org.au/mailman/listinfo/plug</a><br>
Committee e-mail: <a href="mailto:committee@plug.org.au">committee@plug.org.au</a><br>
PLUG Membership: <a href="http://www.plug.org.au/membership" target="_blank">http://www.plug.org.au/membership</a><br></blockquote></div><br></div>