]> Untitled Git - public.git/commitdiff
Only expose indexes for publicized files
authorClifton Palmer <cliftonpalmer@pop-os>
Thu, 13 Jun 2019 21:58:38 +0000 (16:58 -0500)
committerClifton Palmer <cliftonpalmer@pop-os>
Thu, 13 Jun 2019 21:58:38 +0000 (16:58 -0500)
httpd.conf

index 9360b9216e411f0e84859a171efc8e5e711d13b4..4f9d8db76d3f8fb3970698c4dc5ce8660b93083e 100644 (file)
@@ -263,7 +263,7 @@ ServerAdmin you@example.com
 # symbolic links and aliases may be used to point to other locations.\r
 #\r
 DocumentRoot "/usr/local/apache2/htdocs"\r
-<Directory "/usr/local/apache2/htdocs">\r
+<Directory "/usr/local/apache2/htdocs/public/*">\r
     #\r
     # Possible values for the Options directive are "None", "All",\r
     # or any combination of:\r