From c5ca217100870c08b46cc1d77c1464291173747f Mon Sep 17 00:00:00 2001 From: Tobias Herre Date: Sat, 28 Oct 2023 01:11:46 +0200 Subject: [PATCH] new options added --- templates/httpd-vhost.conf.mustache | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/httpd-vhost.conf.mustache b/templates/httpd-vhost.conf.mustache index 96bac09..b2bd292 100644 --- a/templates/httpd-vhost.conf.mustache +++ b/templates/httpd-vhost.conf.mustache @@ -3,12 +3,16 @@ # AllowOverride all - Options Indexes FollowSymLinks + Options {{ vars.apache_vhost.site.doc_root_options }} Require all granted + {{#vars.apache_vhost.site.php}} - SetHandler application/x-httpd-php + SetHandler {{vars.apache_vhost.site.php_handler}} + {{/vars.apache_vhost.site.php}} + DirectoryIndex index.php index.html + {{{vars.apache_vhost.site.dir_raw}}} {{^vars.apache_vhost.site.ssl}}