Hello all, running Tomcat 6.0.26 on jdk1.6.0_18 on a Win XP Pro box.

I think I'd asked before, but can't find reference to a fix here.

Issue is I'm trying to alter the context.xml file within the manager webapp 
folder, for an IP restriction with the RemoteAddrValve, like so.

In webapps/manager/META-INF/context.xml:
        <!-- Valve added to prevent access to this webapp from public computers 
-->
        <Context antiResourceLocking="false" debug="0" privileged="true">
                <Valve className="org.apache.catalina.valves.RemoteAddrValve" 
allow="100\.111\.111\.23" />
        </Context>

In trying to overwrite the current setting to allow for the filter, do I need 
to delete the manager.xml file in Tomcat\conf\Catalina\localhost ?
Doing so doesn't allow the manager.xml file to be recreated, upon starting and 
stopping the Tomcat service, unlike other webapp context.xml files.

Shouldn't it do so? My other context.xml file (from 
tomcat\webapps\webapp1\META-INF\context.xml recreates webapp1.xml file in the 
Catalina\localhost folder upon being deleted, and then restarting the service. 
But not the manager.xml file.

Please advise to if I'm doing something incorrectly here or need to supply more 
information.

Thanks,

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to