62f3dca531
Change-Id: I7f142c25cd77bf31b0a76e36f5c65c92a76af747
20 lines
632 B
Plaintext
20 lines
632 B
Plaintext
# ************************************
|
|
# Managed by Puppet
|
|
# ************************************
|
|
|
|
<VirtualHost <%= @vhost_name %>:<%= @port %>>
|
|
DocumentRoot <%= @docroot %>
|
|
<Directory <%= @docroot %>>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/<%= scope.lookupvar("::apache::params::apache_name") %>/<%= @name %>_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/<%= scope.lookupvar("::apache::params::apache_name") %>/<%= @name %>_access.log combined
|
|
ServerSignature Off
|
|
|
|
AddType text/plain .log
|
|
</VirtualHost>
|