mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated Ubuntu / Debian install doc to add support for Apache 2.3 >
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user