monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[monit] Monit HTTP proxy via Apache: (13)Permission denied: proxy


From: Simon Blandford
Subject: [monit] Monit HTTP proxy via Apache: (13)Permission denied: proxy
Date: Wed, 12 Aug 2009 09:25:52 +0100
User-agent: Thunderbird 2.0.0.22 (X11/20090625)

I have set up monit http as follows...

set httpd port 2812 and
    allow localhost       # allow localhost to connect to the server

I have set up Apache as follows...

ProxyVia On
ProxyRequests Off

ProxyPass /monit http://localhost:2812
ProxyPassReverse /monit http://localhost:2812

I can access Monit fine if I access it from localhost:2812 using a web browser on the same machine. However if I try to access it via http://localhost/monit I get the a 503 Service Unavailable message with the following Apache error log entry: "(13)Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:2812 (localhost) failed".

I am using CentOS 5.3, httpd-2.2.3-22.el5.centos.2 and monit-5.0-1.el5.rf.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]