"Greg Balmer" <[EMAIL PROTECTED]> writes: [...]
> Basically our service has a single access point > http://ourhost.com/Service and I want to be able to examine the POSTed > (XML) content of requests for keywords in the body and rewrite the > incomming url as follows - > > Request BODY : "..............keyword1.............." then rewrite the URL > to http://ourhost.com/Service-method1 > Request BODY : "..............keyword2.............." then rewrite the URL > to http://ourhost.com/Service-method2 > ... If there was an xml parser available for libapreq2, you could use Apache::Request to do this without any worries. [...] > I'm a bit of a newbie to this stuff, but I think this may be > achievable with InputFilters, so I was really looking for any pointers > that anyone could give. It is, but you need to be very careful about spooling the post data for the redirected url. This is basically what mod_apreq.c does in libapreq2, but it's pretty tricky. Perhaps convincing apreq-dev@ to support xml would be your best bet. -- Joe Schaefer -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html