diff --git a/doc/INSTALL.md b/doc/INSTALL.md index b472307a4..91bea6afe 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