new options added

This commit is contained in:
Tobias Herre 2023-10-28 01:11:46 +02:00
parent 21acb0f5d6
commit c5ca217100
1 changed files with 6 additions and 2 deletions

View File

@ -3,12 +3,16 @@
# #
<Directory {{vars.apache_vhost.site.doc_root}}> <Directory {{vars.apache_vhost.site.doc_root}}>
AllowOverride all AllowOverride all
Options Indexes FollowSymLinks Options {{ vars.apache_vhost.site.doc_root_options }}
Require all granted Require all granted
{{#vars.apache_vhost.site.php}}
<FilesMatch ".+(\.php)$"> <FilesMatch ".+(\.php)$">
SetHandler application/x-httpd-php SetHandler {{vars.apache_vhost.site.php_handler}}
</FilesMatch> </FilesMatch>
{{/vars.apache_vhost.site.php}}
DirectoryIndex index.php index.html DirectoryIndex index.php index.html
{{{vars.apache_vhost.site.dir_raw}}}
</Directory> </Directory>
{{^vars.apache_vhost.site.ssl}} {{^vars.apache_vhost.site.ssl}}