Hi,

I just deployed Tomcat 10.1.25 to my Windows machine, and I want to test
the FORMS example (/examples/jsp/security/protected/index.jsp) , but I am
getting a 403 error:

"You are not authorized to view this page.

By default the examples web application is only accessible from a browser
running on the same machine as Tomcat. If you wish to modify this
restriction, you'll need to edit the example web application's context.xml
file."

I've already commented out the valve in the context.xml file
(E:\apache-tomcat\apache-tomcat-10.1.25\webapps\examples\META-INF0\context.xml):

<Context>
<CookieProcessor className="
org.apache.tomcat.util.http.Rfc6265CookieProcessor" sameSiteCookies="strict"
/>
<!-- <Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" /> -->
</Context>

and bounced the Tomcat, but I still get the same error message.


Does anyone know what else could be causing this error?

Reply via email to