diff options
Diffstat (limited to 'docs/apache2-example.md')
| -rw-r--r-- | docs/apache2-example.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/apache2-example.md b/docs/apache2-example.md index 09f5c1d..a6115b1 100644 --- a/docs/apache2-example.md +++ b/docs/apache2-example.md @@ -49,9 +49,13 @@ Looking for the apache2 guide? <a href="https://git.lolcat.ca/lolcat/4get/src/br </Directory> # deny access to private resources - <Directory /var/www/4get/data/> - Order Deny,allow - Deny from all + <DirectoryMatch "^/var/www/4get/(data|lib|scraper|template|oracles|docs|docker|extra)/"> + Require all denied + </DirectoryMatch> + + # remove directory listing from /icons + <Directory /var/www/4get/icons> + Options -Indexes </Directory> </VirtualHost> |
