From 7cdd12df730aee6caaaaa5f04a2e90e22e0a9578 Mon Sep 17 00:00:00 2001 From: David D'ALMEIDA Date: Wed, 21 Feb 2024 16:41:28 +0100 Subject: [PATCH] Ajouter 'Sources/config/virtual-host.conf' --- Sources/config/virtual-host.conf | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Sources/config/virtual-host.conf diff --git a/Sources/config/virtual-host.conf b/Sources/config/virtual-host.conf new file mode 100644 index 00000000..095b7644 --- /dev/null +++ b/Sources/config/virtual-host.conf @@ -0,0 +1,39 @@ + + ServerName default + + + Options FollowSymLinks + AllowOverride None + Require all denied + + + + AllowOverride All + Require all granted + + + DocumentRoot ${VOLUME_PATH} + + AccessFileName .htaccess + + Require all denied + + + LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined + LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined + LogFormat "%h %l %u %t \"%r\" %>s %O" common + LogFormat "%{Referer}i -> %U" referer + LogFormat "%{User-agent}i" agent + + CustomLog /proc/self/fd/1 combined + + + SetHandler application/x-httpd-php + + + # Multiple DirectoryIndex directives within the same context will add + # to the list of resources to look for rather than replace + # https://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex + DirectoryIndex disabled + DirectoryIndex index.php index.html + \ No newline at end of file