Created
November 25, 2013 11:12
-
-
Save horitaku1124/7639813 to your computer and use it in GitHub Desktop.
特定のURIのみIP制限したい
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
RewriteEngine on | |
RewriteCond %{REMOTE_ADDR} !^1\.2\.3\.4$ | |
RewriteCond %{REMOTE_ADDR} !^5\.6\.7\.8$ | |
RewriteCond %{REQUEST_URI} ^/something.html$ [NC] | |
RewriteRule ^(.*)$ - [F] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment