简体   繁体   English

当Tomcat通过Apache Server运行时,无法访问Tomcat 8管理器

[英]Unable to access Tomcat 8 manager when Tomcat is running through Apache Server

Apache server has been put infront of tomcat to redirect the request from 80 port to 8080 port through mod_proxy connector. Apache服务器已放置在tomcat的前面,以通过mod_proxy连接器将请求从80端口重定向到8080端口。 The problem I am facing is that I can't access the manager page of tomcat to deploy war file. 我面临的问题是我无法访问tomcat的管理器页面来部署war文件。

I have read a lot and just got one similar question on SO SO SIMILAIR LINK 我读了很多,关于SO SIMILAIR LINK也有一个类似的问题

I tried the changes asked by the answerer there but no result. 我尝试在那里回答者要求的更改,但没有结果。 I am still getting the NOT FOUND error on accesssing localhost:8080/manager/html 我在访问localhost:8080 / manager / html时仍然遇到NOT FOUND错误

What is the issue? 有什么问题

How to access the manager page to deploy war file of the project? 如何访问管理器页面来部署项目的war文件?

What should be the new url for manager page? 管理员页面的新网址应该是什么?

IS THERE ANYWAY TO ACCESS MANAGER PAGE ON 80 PORT OF APACHE? 是否在APACHE 80港口有访问管理页面的信息?

APACHE Version => 2.4 APACHE版本=> 2.4

TOMCAT Version => 8 TOMCAT版本=> 8

From https://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Configuring_Manager_Application_Access 来自https://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Configuring_Manager_Application_Access

In addition to the password restrictions the Manager web application could be restricted by the remote IP address or host by adding a RemoteAddrValve or RemoteHostValve. 除了密码限制之外,通过添加RemoteAddrValve或RemoteHostValve,可以通过远程IP地址或主机来限制Manager Web应用程序。 See valves documentation for details. 有关详细信息,请参见阀门文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM