Ok... then for some reason, your context definition is probably not
being used.  Where is this context.xml file and how are you deploying
your webapp?

--David

Peter Neu wrote:

>Hi,
>
>I called the jsp from the same workstation where the server
>runs and got 127.0.0.1
>And then from another client and got 192.168.200.190. 
>
>Configuration looks like this 
><Valve className="org.apache.catalina.valves.RemoteAddrValve"
>               allow="192\.168\.200\.188" 
>                />
>
>Don't know where the error could be. I got no proxy running
>in this setup.
>
>Cheers,
>Pete
>
> 
>
>  
>
>>
>>>>-----Ursprüngliche Nachricht-----
>>>>Von: Mark Thomas [mailto:[EMAIL PROTECTED]
>>>>Gesendet: Dienstag, 14. November 2006 01:11
>>>>An: Tomcat Users List
>>>>Betreff: Re: Problem with RemoteAddrValve in Context.xml
>>>>
>>>>Peter Neu wrote:
>>>>
>>>>
>>>>        
>>>>
>>>>>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?
>>>>>
>>>>>
>>>>>          
>>>>>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to