Exercice: commit initial
This commit is contained in:
16
17.1_variable/myapache/templates/vhost.conf.jj
Normal file
16
17.1_variable/myapache/templates/vhost.conf.jj
Normal file
@@ -0,0 +1,16 @@
|
||||
<VirtualHost *:{{ http_port }}>
|
||||
ServerName {{ servername }}
|
||||
ServerAlias {{ serveralias }}
|
||||
DocumentRoot {{ documentroot }}
|
||||
CustomLog {{ accesslog }} combined
|
||||
ErrorLog {{ errorlog }}
|
||||
<Directory />
|
||||
Options none
|
||||
Allowoverride none
|
||||
Require all denied
|
||||
</Directory>
|
||||
|
||||
<Directory {{ documentroot }}>
|
||||
Require all granted
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user