Hello,

 

I'm trying to define an ip access filter with RemoteAddrValve in the
context.xml file I deploy with my war file.

If I read the documentation right the only thing to be done is write the
following into the context.xml file:

 

<?xml version="1.0" encoding="UTF-8"?>

<Context path="/user/public/">

  <Valve className="org.apache.catalina.valves.RemoteAddrValve"

        allow="192.168.200.188"

        />

</Context>

 

But this does not work out. Does anyone know what's wrong?

 

Cheers,

Pete

 

 

Reply via email to