Created
March 7, 2020 07:59
-
-
Save ckaklamanos/632d31ab12c5df0f15496fc7265d5aae to your computer and use it in GitHub Desktop.
Apache .htaccess - Block URLs by regex
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
RewriteEngine On | |
RewriteRule ^something(.*)$|^somethingelse(.*)$ - [F] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment