liunx 系统在tomcat上面发布网站,名称不能带下划线

最开始的时候,我在 linux 上面安装了 tomcat, 在外网一直只能访问 tomcat 首页,不能访问 manager app 页面,

在本机可以,原因至今未知。。。

后来我在外面搭了一个下载服务,将项目下载到 linux 下面,但是 liunx 下载默认是没有文件后缀的,所以下载下来后直接放到 webapps 下面是没反应的,

要修改文件名称,加上后缀,但是还是访问不了项目,报错:

The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

找了半天也不知道什么问题,关键是项目上 windowns 下面是正常的。

后来我发现报错页面的项目名称带的 "_" 被转义了,我猜可能就是这个原因,后来我修改了一下项目名称,把下划线去掉,果然可以了。