46750e896a
It seems there have been some changes to how javascript libraries are installed in ubuntu xenial. Add an alias to /usr/share/javascript. Change-Id: I1ea75cd5c9fddc04515414427f9f322d83f14ecb Signed-off-by: Paul Belanger <pabelanger@redhat.com>
29 lines
594 B
Plaintext
29 lines
594 B
Plaintext
# ************************************
|
|
# Managed by Puppet
|
|
# ************************************
|
|
|
|
<VirtualHost *:80>
|
|
ServerName <%= @vhost_name %>
|
|
|
|
Alias /cacti /usr/share/cacti/site
|
|
Alias /javascript /usr/share/javascript
|
|
|
|
RewriteEngine on
|
|
RewriteRule ^/$ /cacti/graph_view.php [R,L]
|
|
|
|
<Directory /usr/share/cacti/site>
|
|
Options +FollowSymLinks
|
|
AllowOverride None
|
|
order allow,deny
|
|
allow from all
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
|
|
AddType application/x-httpd-php .php
|
|
|
|
DirectoryIndex index.php
|
|
</Directory>
|
|
|
|
</VirtualHost>
|