system-config/modules/openstack_project/templates/cacti.vhost.erb
Clark Boylan fa362b813c More old apache acl cleanups
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
2020-10-16 11:16:26 -07:00

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>