From 42eb60ae38f5396ef214f4466ecc40b1a142d7da Mon Sep 17 00:00:00 2001 From: laf Date: Thu, 6 Mar 2014 20:16:59 +0000 Subject: [PATCH] Updated Ubuntu / Debian install doc to add support for Apache 2.3 > --- doc/INSTALL.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/INSTALL.md b/doc/INSTALL.md index b472307a44..91bea6afe5 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -79,6 +79,8 @@ First, create and chown the `rrd` directory and create the `logs` directory Next, add the following to `/etc/apache2/sites-available/librenms.conf` +If you have Apache older than 2.3 then please use: + DocumentRoot /opt/librenms/html/ ServerName librenms.example.com @@ -90,6 +92,20 @@ Next, add the following to `/etc/apache2/sites-available/librenms.conf` +If you have Apache 2.3 or newer then please use: + + + DocumentRoot /opt/librenms/html/ + ServerName librenms.example.com + CustomLog /opt/librenms/logs/access_log combined + ErrorLog /opt/librenms/logs/error_log + + Require all granted + AllowOverride All + Options FollowSymLinks MultiViews + + + Don't forget to change 'example.com' to your domain, then enable the vhost and restart Apache: a2ensite librenms.conf