Customize the 404 page for ArcGIS Server Map Services
ArcGIS Server 10 internal Tomcat web root:
\ArcGIS\Server10.0\java\manager\web_output
ArcGIS Server 10 internal Tomcat conf:
\ArcGIS\Server10.0\java\manager\service\managerappserver\conf
\ArcGIS\Server10.0\java\manager\web_output
ArcGIS Server 10 internal Tomcat conf:
\ArcGIS\Server10.0\java\manager\service\managerappserver\conf
You may modify the web.xml by adding the error page definition:
...
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<error-page>
<error-code>404</error-code>
<location>/404.htm</location>
</error-page>
</web-app>
And the 404 error file can put in the root (/web_output)
Comments
Post a Comment