httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josu Lazkano <josu.lazk...@gmail.com>
Subject [users@httpd] Add new site
Date Wed, 23 Jun 2010 08:38:43 GMT
Hello, this is my first post on this mail-list. I search on the web
for questions and I got different solution, so I decided to write here
to have best opinion about it.

I have a Debian Lenny server with apache2 stable package installed, it
works great. I want to add the Monit web interface to my server on
host/monit directory.

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

Where I must config it? /etc/apache2/apache2.conf?
/etc/apache2/sites-available/?

I have this example:

<VirtualHost directe.ras.cat:80>
  ServerAdmin webmaster@localhost
      ServerName directe.ras.cat

      ProxyRequests Off

      ProxyPass / http://directe.ras.cat:8000/
      ProxyPassReverse / http://directe.ras.cat:8000/

      <Location />
              Order allow,deny
              Allow from all
      </Location>

  ErrorLog /var/log/apache2/directe.ras.cat_error.log

  # Possible values include: debug, info, notice, warn, error, crit,
  # alert, emerg.
  LogLevel warn

  CustomLog /var/log/apache2/directe.ras.cat_access.log combined
</VirtualHost>

It is on diferent host (directe.ras.cat), I just need to change to
other directory (host/monit).

What I must change?

Thanks afor all and best regards.

-- 
Josu Lazkano

---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message