Re: AW: Problem with RemoteAddrValve in Context.xml

2006-11-16 Thread David Smith
You can't split a webapp into protected and not protected with the valve. It's all or nothing. You'd be better off implementing a filter in your webapp that pay's attention to request.getRemoteAddr() and either chains the request or redirects to an error page. --David Peter Neu wrote: I

Re: AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread David Smith
I suspect the context.xml file in META-INF isn't honored unless you deploy your webapp as a web archive file (.war). Sounds to me like this webapp is an exploded folder under webapps directory. In that case, copy the context.xml file to Catalina/localhost, rename to match your web application's

RE: AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Caldarale, Charles R
From: David Smith [mailto:[EMAIL PROTECTED] Subject: Re: AW: Problem with RemoteAddrValve in Context.xml I suspect the context.xml file in META-INF isn't honored unless you deploy your webapp as a web archive file (.war). Not true - META-INF/context.xml is used regardless of whether