We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77f08eb commit b6cc3a8Copy full SHA for b6cc3a8
bin/v-update-web-templates
@@ -43,6 +43,14 @@ fi
43
# Update templates
44
tar -xzpf templates.tar.gz -C $VESTA/data/ templates/web
45
46
+# Replace includes for apache2.4
47
+if [ "$os" = 'ubuntu' ]; then
48
+ if [ ! -z "$(apache2 -v|grep 'Apache/2.4')" ]; then
49
+ sed -i "s/Include /IncludeOptional /g" \
50
+ $VESTA/data/templates/web/apache2/*tpl
51
+ fi
52
+fi
53
+
54
# Rebuild web domains
55
for user in $($BIN/v-list-sys-users plain); do
56
$BIN/v-rebuild-web-domains $user no
0 commit comments