Updated Ubuntu / Debian install doc to add support for Apache 2.3 >

This commit is contained in:
laf
2014-03-06 20:16:59 +00:00
parent 6c64e98bdf
commit 42eb60ae38

View File

@@ -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:
<VirtualHost *:80>
DocumentRoot /opt/librenms/html/
ServerName librenms.example.com
@@ -90,6 +92,20 @@ Next, add the following to `/etc/apache2/sites-available/librenms.conf`
</Directory>
</VirtualHost>
If you have Apache 2.3 or newer then please use:
<VirtualHost *:80>
DocumentRoot /opt/librenms/html/
ServerName librenms.example.com
CustomLog /opt/librenms/logs/access_log combined
ErrorLog /opt/librenms/logs/error_log
<Directory "/opt/librenms/html/">
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
</Directory>
</VirtualHost>
Don't forget to change 'example.com' to your domain, then enable the vhost and restart Apache:
a2ensite librenms.conf