From 25e289a36058ab2e252c5b847f6312d5ba2a465f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 16 Aug 2019 07:39:12 +0200 Subject: Allow unrestricted access to /var/www/html --- 2.4/conf/sites-available/default-ssl.conf | 4 +++- 2.4/conf/sites-available/default.conf | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to '2.4/conf/sites-available') diff --git a/2.4/conf/sites-available/default-ssl.conf b/2.4/conf/sites-available/default-ssl.conf index 9bdb3e1..fc496f5 100644 --- a/2.4/conf/sites-available/default-ssl.conf +++ b/2.4/conf/sites-available/default-ssl.conf @@ -4,7 +4,9 @@ Listen 8043 ServerName localhost DocumentRoot "/var/www/html/" - Require all denied + Options All + AllowOverride All + Require all granted CustomLog /proc/self/fd/1 combined ErrorLog /proc/self/fd/2 diff --git a/2.4/conf/sites-available/default.conf b/2.4/conf/sites-available/default.conf index d8e7f67..a2d1fa2 100644 --- a/2.4/conf/sites-available/default.conf +++ b/2.4/conf/sites-available/default.conf @@ -2,7 +2,9 @@ ServerName localhost DocumentRoot "/var/www/html/" - Require all denied + Options All + AllowOverride All + Require all granted CustomLog /proc/self/fd/1 combined ErrorLog /proc/self/fd/2 -- cgit v1.2.3