2
0
Files
SIB_Exercices/17.1_variable/myapache/templates/vhost.conf.jj

17 lines
565 B
Plaintext

<VirtualHost *:{{ http_port }}>
ServerName {{ apache_servername }}
ServerAlias {{ apache_serveralias }}
ServerAlias {{ inventory_hostname }}
DocumentRoot {{ apache_documentroot }}
CustomLog {{ apache_accesslog }} combined
ErrorLog {{ apache_errorlog }}
<Directory />
Options none
Allowoverride none
Require all denied
</Directory>
<Directory {{ apache_documentroot }}>
Require all granted
</Directory>
</VirtualHost>