Hi the error Message shows the following URL: "The requested URL /rabbitmq/api/exchanges// was not found on this server."
Request was: http://XXX/rabbitmq/api/exchanges/%2F So it seems the %2F gets decoded somewhere even AllowEncodedSlashes is set to Yes Stefan Am 02.10.19 um 10:33 schrieb Stefan Priebe - Profihost AG: > Hi, > > i'm trying to run the webgui of rabbitmq behind apache proxy while using > mod_rewrite. > > RabbitMQ generates URLs like: > http://rabbit.example.com/#/queues/%2F/myqueue > > but those always generate a 404 > > What i tried is: > AllowEncodedSlashes NoDecode or Yes > > RewriteRule ^/?rabbitmq/(.*)$ http://172.16.206.71:15672/$1 [B=#,NE,P,L] > > or > > RewriteRule ^/?rabbitmq/(.*)$ http://172.16.206.71:15672/$1 [B,PT,L] > > or > > RewriteRule ^/?rabbitmq/(.*)$ http://172.16.206.71:15672/$1 [NE,P,L] > > but all of those and in coombination does not work... > > Can anyhelp help with this? > > > This one works fine but i need to use mod_rewrite: > AllowEncodedSlashes NoDecode > ProxyPass / http://localhost:15672/ nocanon > ProxyPassReverse / http://localhost:15672/ > > Greets, > Stefan >
