The "Go" Tomcat access page under the Soft Connection folder appears with a 404 error, description The requested resource (/xxx.html) is not available.

Source: Internet
Author: User
Tags apache tomcat

Create a soft connection file under tomcat/webapps/root/
Ln-s/home/ubuntu/report Report
and create a report.html in the report soft link directory.
There was an error accessing this report.html through the browser.

The error is as follows:

HTTP Status 404-report/report.html
--------------------------------------------------------------------------------

Type Status Report

Message rc/aa.html

Description The requested resource (/report.html) is not available.
--------------------------------------------------------------------------------

Apache tomcat/5.5.15

Find some information on the Internet and finally find a solution that can be implemented (http://suchalin.blog.163.com/blog/static/55304677201062644027477/):

Modified: Tomcat/conf/context.xml, add allowlinking= "true" in <Context>, as follows:

<context allowlinking= "true" >

<!--Default set of monitored resources--
<WatchedResource>WEB-INF/web.xml</WatchedResource>

</Context>

Once the modifications are complete, save and restart Tomcat on the OK!

The "Go" Tomcat access page under the Soft Connection folder appears with a 404 error, description The requested resource (/xxx.html) is not available.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.