Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache 通过Web服务器访问RabbitMQ_Apache_Rabbitmq_Amqp - Fatal编程技术网

Apache 通过Web服务器访问RabbitMQ

Apache 通过Web服务器访问RabbitMQ,apache,rabbitmq,amqp,Apache,Rabbitmq,Amqp,我有一个运行在EC2实例上的RabbitMQ服务器,以及一个指向Route53中配置的实例的URL地址,我使用该地址访问RabbitMQ web UI。 我可以使用Nginx或Apache很好地访问UI,但是当我试图查看特定队列或交换的页面时,我收到一个错误,说找不到该对象。当我直接通过IP:PortURL访问UI时,不会发生这种行为 我注意到这是一个已知的bug,在这里已经解决了- 我已尝试使用以下Apache配置实现本文中列出的修复程序- <VirtualHost *:80>

我有一个运行在EC2实例上的RabbitMQ服务器,以及一个指向Route53中配置的实例的URL地址,我使用该地址访问RabbitMQ web UI。 我可以使用Nginx或Apache很好地访问UI,但是当我试图查看特定队列或交换的页面时,我收到一个错误,说找不到该对象。当我直接通过IP:PortURL访问UI时,不会发生这种行为

我注意到这是一个已知的bug,在这里已经解决了-

我已尝试使用以下Apache配置实现本文中列出的修复程序-

<VirtualHost *:80>
    ProxyPreserveHost On
    ProxyRequests Off
    ServerName stage-rabbithq.apester.com 
    ServerAlias stage-rabbithq.apester.com
    ProxyPass /api http://localhost:15672/api nocanon
    ProxyPass / http://localhost:15672/
    ProxyPassReverse / http://localhost:15672/
</VirtualHost>

代理主机
代理请求关闭
ServerName stage-rabbithq.apester.com
ServerAlias stage-rabbithq.apester.com
ProxyPass/apihttp://localhost:15672/api 诺卡农
ProxyPass/http://localhost:15672/
ProxyPassReverse/http://localhost:15672/
但错误占了上风。
有人能解决这个错误吗?

我已经解决了,问题是忘记在我的站点配置文件中添加以下行-

AllowEncodedSlashes On
希望有一天这能帮助别人