
Will associate monitored processes with roles later. Change-Id: I33a14255a11f52be87c1551a3dd2b4542c11eebc
33 lines
968 B
Plaintext
33 lines
968 B
Plaintext
<VirtualHost *:80>
|
|
ServerName <%= @node[:collectd][:collectd_web][:hostname] %>
|
|
|
|
DocumentRoot <%= @node[:collectd][:collectd_web][:path] %>
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
<Directory <%= @node[:collectd][:collectd_web][:path] %>>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
AllowOverride None
|
|
Order allow,deny
|
|
Allow from all
|
|
</Directory>
|
|
|
|
ScriptAlias /cgi-bin/ <%= @node[:collectd][:collectd_web][:path] %>/cgi-bin/
|
|
<Directory "<%= @node[:collectd][:collectd_web][:path] %>/cgi-bin">
|
|
AllowOverride None
|
|
Options ExecCGI -MultiViews
|
|
Order allow,deny
|
|
Allow from all
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/apache2/error.log
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
# alert, emerg.
|
|
LogLevel warn
|
|
|
|
CustomLog /var/log/apache2/access.log combined
|
|
ServerSignature On
|
|
</VirtualHost>
|