httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josu Lazkano <>
Subject [users@httpd] Redirect Monit port to Apache2
Date Wed, 23 Jun 2010 21:59:49 GMT
Hello, I have a Debian Lenny server with Apache2 and Monit installed,
both works great, Apache on port 80 and Monit on port 2812. I want to
add the Monit web interface to my server on http://host/monit

By default Monit comes on http://host:2812, and I want to change it to 80 port.

Where I must config it? /etc/apache2/apache2.conf?

My server LAN IP is, I need to connect from outside from a DNS name.

I configure this way:

1. Create the monit site:

# cat /etc/apache2/sites-available/monit
<VirtualHost *:80>
ProxyPass /monit/
ProxyPassReverse /monit/
<Location /monit/>
       Order deny,allow
       Allow from all

2. Symlink to enable sites:

ln -s /etc/apache2/sites-available/monit /etc/apache2/sites-enabled/000-monit

3. Restart apache2:

/etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .

But when I try to enter from remote, I have this error:

"Not Found

The requested URL /monit was not found on this server."

Can you help with this? I am on the correct way?

Thanks for all and best regards.

Josu Lazkano

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message