On 04/03/2022 09:50, Alan F wrote:
Im trying to read robots.txt from '/' on a few tomcat servers to block web 
search engines. Obviously placed the txt file in ./webapps/ROOT/

Works fine on a few tomcat hosts that have identical server.xml / web.xml  so 
im puzzled as to why these two Tomcat servers are blocking requests, obviously 
something is different. Ive checked ./Catalina/localhost and see some 
restrictions here but only apply to /webapps/manager

Im not sure where else to look?

web.xml for security constraints

context.xml (and server.xml) for Valves?

It is also possible the application deployed to ROOT is intercepting the request (Filter or default servlet) and returning the 403.


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

Reply via email to