On 12 Jun 2011, at 21:15, Edward Bailey wrote:

> ##########################################
> 
>  ExtFilterDefine route mode=input intype=text/xml cmd="/bin/sed 
> s/<CustomerId>001500<\/CustomerId>/<CustomerId>001500<\/CustomerId><customerId>001500<\/customerId>/g"

Not sure OTTOMH if that should work.  But using the same expression
with mod_sed would certainly be a far better solution.

> <Directory />

Now that's badly wrong.  You're exposing your entire filesystem
(GOTO security 101) while at the same time probably not configuring
the filter to apply to your application.  You should configure the filter
(mod_sed) in the same scope (likely a <Location>) as the handler
for your application.

-- 
Nick Kew

Available for work, contract or permanent
http://www.webthing.com/~nick/cv.html


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to