On 06/23/2010 07:57 PM, Josu Lazkano wrote:
I must change somethig?
I don't understand, sorry.
Kind regards.
2010/6/24 Frank Gingras<francois.ging...@gmail.com>:
On 23/06/2010 5:59 PM, Josu Lazkano wrote:
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
directory.
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?
/etc/apache2/sites-available/?
My server LAN IP is 192.168.1.1, 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/ http://192.168.1.1:2812/
ProxyPassReverse /monit/ http://192.168.1.1:2812/
<Location /monit/>
Order deny,allow
Allow from all
</Location>
</VirtualHost>
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,
Request /monit/ instead.
Frank.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See<URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org
If you insist on changing something, remove the trailing slash from the
source and the target.
Frank.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org