Created
April 23, 2019 01:34
-
-
Save mariapaulinar/66fd581fbf1e784419822b986b48910b to your computer and use it in GitHub Desktop.
Deshabilitar indexing de archivos con apache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Directory /var/www/> | |
Options FollowSymLinks | |
AllowOverride None | |
Require all granted | |
</Directory> | |
<FilesMatch "\.(env|json|config.js|md|gitignore|gitattributes|lock)$"> | |
Require all denied | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment