Merge pull request #11 from mhuffnagle/master
apache_name not being set properly in templates
This commit is contained in:
commit
7f70d12fa0
@ -18,9 +18,9 @@ NameVirtualHost <%= vhost_name %>:<%= port %>
|
||||
Order allow,deny
|
||||
allow from all
|
||||
</Directory>
|
||||
ErrorLog /var/log/<%= apache_name %>/<%= name %>_error.log
|
||||
ErrorLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/<%= name %>_error.log
|
||||
LogLevel warn
|
||||
CustomLog /var/log/<%= apache_name %>/<%= name %>_access.log combined
|
||||
CustomLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/<%= name %>_access.log combined
|
||||
ServerSignature Off
|
||||
</VirtualHost>
|
||||
|
||||
|
@ -20,9 +20,9 @@ NameVirtualHost <%= vhost_name %>:<%= port %>
|
||||
ProxyPassReverse / <%= dest %>/
|
||||
ProxyPreserveHost On
|
||||
|
||||
ErrorLog /var/log/<%= apache_name %>/<%= name %>_error.log
|
||||
ErrorLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/<%= name %>_error.log
|
||||
LogLevel warn
|
||||
CustomLog /var/log/<%= apache_name %>/<%= name %>_access.log combined
|
||||
CustomLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/<%= name %>_access.log combined
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user