File tree Expand file tree Collapse file tree 6 files changed +22
-13
lines changed
playbooks/roles/web/templates/etc/apache2 Expand file tree Collapse file tree 6 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 15
15
ServerAdmin webmaster@foo.org
16
16
DocumentRoot /var/www/html
17
17
18
+ <Directory /var/www/html/ >
19
+ Options FollowSymLinks
20
+ AllowOverride All
21
+ # Apache 2.4 only syntax, see: http://httpd.apache.org/docs/2.4/upgrading.html
22
+ # Require all granted
23
+ Order allow,deny
24
+ Allow from all
25
+ </Directory >
26
+
18
27
# Apache2 server-stats on http://localhost:8080/st
19
28
<Location /server-status >
20
29
SetHandler server-status
Original file line number Diff line number Diff line change 16
16
DocumentRoot /var/www/vhosts/{{ item.key }}/public
17
17
18
18
<Directory /var /www /vhosts /{{ item.key }} />
19
- Options Indexes FollowSymLinks
19
+ Options FollowSymLinks
20
20
AllowOverride All
21
21
# Apache 2.4 only syntax, see: http://httpd.apache.org/docs/2.4/upgrading.html
22
22
# Require all granted
Original file line number Diff line number Diff line change 6
6
7
7
ServerName {{ item.value.servername }}
8
8
{% if item .value .serveralias .0 is defined %}
9
- {% for item in item .value .serveralias %}
10
- ServerAlias {{ item }}
9
+ {% for item in item .value .serveralias %}
10
+ ServerAlias {{ item }}
11
11
{% endfor %}
12
12
{% endif %}
13
13
16
16
DocumentRoot /var/www/vhosts/{{ item.key }}/web
17
17
18
18
<Directory /var /www /vhosts /{{ item.key }} />
19
- Options Indexes FollowSymLinks
19
+ Options FollowSymLinks
20
20
AllowOverride All
21
21
# Apache 2.4 only syntax, see: http://httpd.apache.org/docs/2.4/upgrading.html
22
22
# Require all granted
Original file line number Diff line number Diff line change 6
6
7
7
ServerName {{ item.value.servername }}
8
8
{% if item .value .serveralias .0 is defined %}
9
- {% for item in item .value .serveralias %}
10
- ServerAlias {{ item }}
9
+ {% for item in item .value .serveralias %}
10
+ ServerAlias {{ item }}
11
11
{% endfor %}
12
12
{% endif %}
13
13
16
16
DocumentRoot /var/www/vhosts/{{ item.key }}/current/public
17
17
18
18
<Directory /var /www /vhosts /{{ item.key }} />
19
- Options Indexes FollowSymLinks
19
+ Options FollowSymLinks
20
20
AllowOverride All
21
21
# Apache 2.4 only syntax, see: http://httpd.apache.org/docs/2.4/upgrading.html
22
22
# Require all granted
Original file line number Diff line number Diff line change 6
6
7
7
ServerName {{ item.value.servername }}
8
8
{% if item .value .serveralias .0 is defined %}
9
- {% for item in item .value .serveralias %}
10
- ServerAlias {{ item }}
9
+ {% for item in item .value .serveralias %}
10
+ ServerAlias {{ item }}
11
11
{% endfor %}
12
12
{% endif %}
13
13
16
16
DocumentRoot /var/www/vhosts/{{ item.key }}/current/web
17
17
18
18
<Directory /var /www /vhosts /{{ item.key }} />
19
- Options Indexes FollowSymLinks
19
+ Options FollowSymLinks
20
20
AllowOverride All
21
21
# Apache 2.4 only syntax, see: http://httpd.apache.org/docs/2.4/upgrading.html
22
22
# Require all granted
Original file line number Diff line number Diff line change 6
6
7
7
ServerName {{ item.value.servername }}
8
8
{% if item .value .serveralias .0 is defined %}
9
- {% for item in item .value .serveralias %}
10
- ServerAlias {{ item }}
9
+ {% for item in item .value .serveralias %}
10
+ ServerAlias {{ item }}
11
11
{% endfor %}
12
12
{% endif %}
13
13
16
16
DocumentRoot /var/www/vhosts/{{ item.key }}/current/web
17
17
18
18
<Directory /var /www /vhosts /{{ item.key }} />
19
- Options Indexes FollowSymLinks
19
+ Options FollowSymLinks
20
20
AllowOverride All
21
21
# Apache 2.4 only syntax, see: http://httpd.apache.org/docs/2.4/upgrading.html
22
22
# Require all granted
You can’t perform that action at this time.
0 commit comments