Created
October 6, 2008 07:53
-
-
Save chryss/15010 to your computer and use it in GitHub Desktop.
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
# The .htaccess file in the folder "forum" | |
RewriteEngine On | |
RewriteBase /forum/ | |
RewriteCond %{REQUEST_URI} ^/?register\.php.* | |
RewriteCond %{HTTP_REFERER} !.*eggcorns.lascribe.net.* [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} ^$ | |
RewriteRule .* - [F] | |
# OR: in the .htaccess file in the web site root | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_URI} ^/?forum/?register\.php.* | |
RewriteCond %{HTTP_REFERER} !.*eggcorns.lascribe.net.* [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} ^$ | |
RewriteRule .* - [F] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment