Re: [us...@httpd] Add new site
On 23.06.10 10:38, Josu Lazkano wrote: 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/? apparently you can use both. Otoh, you should ask in debian mailing list and I guess you should create new config file in /etc/apache2/sites-available/ Note that you should put only the VirtualHost definition there, not any general directives. Finally I dislike the way of splitting apache's config file to many parts, since that makes imho the configuration much harder, not easier and the apache configuration system is not made to be maintained in man files, no matter how different SW distribution administrators want it. (well, I guess they know it and they have hard work to do the configuration easier) -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Depression is merely anger without enthusiasm. - 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
[us...@httpd] Add new site
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 webmas...@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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org