fa362b813c
We can rely on Require instead of Order, Allow, Deny, Satisfy since we are all on apache 2.4 now. This simplifies reasoning about acl rules. Change-Id: Idedba1558ccaa1c753d1175e356bf26a8d4b1084
25 lines
511 B
Plaintext
25 lines
511 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
|
|
Require all granted
|
|
|
|
AddType application/x-httpd-php .php
|
|
|
|
DirectoryIndex index.php
|
|
</Directory>
|
|
|
|
</VirtualHost>
|