Skip to content

Instantly share code, notes, and snippets.

@onefriendaday
Last active August 31, 2015 10:36
Show Gist options
  • Save onefriendaday/4fb55b97d5d3a4b8384e to your computer and use it in GitHub Desktop.
Save onefriendaday/4fb55b97d5d3a4b8384e to your computer and use it in GitHub Desktop.
Block IP
RewriteCond %{REMOTE_HOST} !^62\.99\.210\.9
RewriteCond $1 !^(wartung_index\.php|images/)
RewriteRule ^(.*)$ /wartung_index.php/$1 [L]
RewriteCond %{HTTP_X_FORWARDED_FOR} !^62\.99\.210\.9
RewriteCond $1 !^(wartung_index\.php|images/)
RewriteRule ^(.*)$ /wartung_index.php/$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment