Created
January 3, 2022 09:24
-
-
Save skounis/a18f879a677a3004ac270b197f623967 to your computer and use it in GitHub Desktop.
Prevent listing and redirect to a subdirectory with .htaccess
This file contains 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
Options All -Indexes | |
RedirectMatch ^/$ /site/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment