397167 Remote Access documentation is wrong

This commit is contained in:
Jan Bartel 2013-11-11 12:10:02 +11:00
parent 310c7a543e
commit bd7930416e
2 changed files with 4 additions and 2 deletions

View File

@ -39,6 +39,7 @@
</servlet> </servlet>
<!-- Allow remote access to test webapp --> <!-- Allow remote access to test webapp -->
<!--
<filter> <filter>
<filter-name>TestFilter</filter-name> <filter-name>TestFilter</filter-name>
<filter-class>com.acme.TestFilter</filter-class> <filter-class>com.acme.TestFilter</filter-class>
@ -48,6 +49,7 @@
<param-value>true</param-value> <param-value>true</param-value>
</init-param> </init-param>
</filter> </filter>
-->
</web-app> </web-app>

View File

@ -21,11 +21,11 @@ cross domain scripting vulnerabilities and reveal private information. This pag
is displayed because you have accessed this context from a non local IP address. is displayed because you have accessed this context from a non local IP address.
</p> </p>
<p> <p>
You can disable the remote address checking by editing webapps/test.d/override-web.xml, uncommenting the declaration of the TestFilter, and changing the You can disable the remote address checking by editing demo-base/webapps/test.d/override-web.xml, uncommenting the declaration of the TestFilter, and changing the
"remote" init parameter to "true". "remote" init parameter to "true".
</p> </p>
<p> <p>
This webapp is deployed in $JETTY_HOME/webapps/test and configured by $JETTY_HOME/webapps/test.xml and $JETTY_HOME/webapps/test.d/override-web.xml This webapp is deployed in $JETTY_HOME/demo-base/webapps/test.war and configured by $JETTY_HOME/demo-base/webapps/test.xml and $JETTY_HOME/demo-base/webapps/test.d/override-web.xml
</p> </p>
</BODY> </BODY>