我已按照安装过程来解锁浏览器访问权限:
sudo rabbitmq-plugins enable rabbitmq_management
sudo chown -R rabbitmq:rabbitmq /var/lib/rabbitmq/
到达localhost:15672后,我只有空白页:
<!doctype html>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<html>
<head>
<title>RabbitMQ Management</title>
<script src="js/ejs-1.0.min.js" type="text/javascript"></script>
<script src="js/jquery-1.12.4.min.js" type="text/javascript"></script>
<script src="js/jquery.flot-0.8.1.min.js" type="text/javascript"></script>
<script src="js/jquery.flot-0.8.1.time.min.js" type="text/javascript"></script>
<script src="js/sammy-0.7.6.min.js" type="text/javascript"></script>
<script src="js/json2-2016.10.28.js" type="text/javascript"></script>
<script src="js/base64.js" type="text/javascript"></script>
<script src="js/global.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
<script src="js/prefs.js" type="text/javascript"></script>
<script src="js/formatters.js" type="text/javascript"></script>
<script src="js/charts.js" type="text/javascript"></script>
<link href="css/main.css" rel="stylesheet" type="text/css"/>
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon"/>
<!--[if lte IE 8]>
<script src="js/excanvas.min.js" type="text/javascript"></script>
<link href="css/evil.css" rel="stylesheet" type="text/css"/>
<![endif]-->
</head>
<body>
<div id="outer"></div>
<div id="debug"></div>
<div id="scratch"></div>
</body>
</html>
登录表单在哪里?
答案 0 :(得分:0)
确定,添加更多详细信息:我使用流浪汉,我想从主机访问URL。 因此,检查服务器日志后,导致我失败的原因是虚拟主机文件中缺少“ /”。这就是一种合适的方法:
<VirtualHost *:80>
ServerName rabbit.fbm
ProxyRequests Off
ProxyPass / http://192.168.56.101:15672/
## Logging
ErrorLog "/var/log/apache2/rabbit_error.log"
ServerSignature Off
CustomLog "/var/log/apache2/rabbit_access.log" combined
</VirtualHost>
P.S。不要忘记主机上的防火墙。