monit-general
[Top][All Lists]
Advanced

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

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


From: Martin Pala
Subject: Re: [monit] Monit HTTP proxy via Apache: (13)Permission denied: proxy
Date: Wed, 12 Aug 2009 20:59:55 +0200
User-agent: Thunderbird 2.0.0.22 (X11/20090608)

Hello,

you are missing the access option, example:

  ProxyPass /monit/ http://127.0.0.1:2812/
  ProxyPassReverse /monit/ http://127.0.0.1:2812/
  <Location /monit/>
     Order deny,allow
     Allow from all
  </Location>


Martin


Simon Blandford wrote:
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.



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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