Created
August 20, 2018 03:15
-
-
Save uryu-myao/b28191c653844e5b5f3c99d5f27366ff to your computer and use it in GitHub Desktop.
hidden index from URL
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 +FollowSymLinks | |
RewriteEngine on | |
RewriteCond %{THE_REQUEST} ^.*/index.html | |
RewriteRule ^(.*)index.html$ http://yoshikawagumi.info/$1 [R=301,L] | |
<Files ~ "^.(htaccess|htpasswd)$"> | |
deny from all | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment