Add new site

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

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux