summaryrefslogtreecommitdiffstats
path: root/2.4
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-16 07:39:12 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-16 07:39:12 +0200
commit25e289a36058ab2e252c5b847f6312d5ba2a465f (patch)
tree6c26e0210c7d8cd0bd4cd7c3164ede6189920374 /2.4
parent8d102802f6c155773cac2b6f3d7e8b6574fbb724 (diff)
downloadapache-25e289a36058ab2e252c5b847f6312d5ba2a465f.tar.gz
apache-25e289a36058ab2e252c5b847f6312d5ba2a465f.tar.bz2
apache-25e289a36058ab2e252c5b847f6312d5ba2a465f.tar.xz
apache-25e289a36058ab2e252c5b847f6312d5ba2a465f.zip
Allow unrestricted access to /var/www/html
Diffstat (limited to '2.4')
-rw-r--r--2.4/conf/sites-available/default-ssl.conf4
-rw-r--r--2.4/conf/sites-available/default.conf4
2 files changed, 6 insertions, 2 deletions
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/"
<Directory "/var/www/html/">
- Require all denied
+ Options All
+ AllowOverride All
+ Require all granted
</Directory>
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/"
<Directory "/var/www/html/">
- Require all denied
+ Options All
+ AllowOverride All
+ Require all granted
</Directory>
CustomLog /proc/self/fd/1 combined
ErrorLog /proc/self/fd/2