diff options
author | mh <mh@immerda.ch> | 2014-04-19 17:31:23 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2014-04-19 17:31:23 +0200 |
commit | e14622cd4495a9c0ccae391f6168dec21dba0985 (patch) | |
tree | e750ff44f640fab36fce1eeb10fca77d3729fbe9 /templates/vhosts/php_wordpress/partial.erb | |
parent | bec7183cee93188cf7f0f8cda38a620da6ec0f17 (diff) |
correct alignment
Diffstat (limited to 'templates/vhosts/php_wordpress/partial.erb')
-rw-r--r-- | templates/vhosts/php_wordpress/partial.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/vhosts/php_wordpress/partial.erb b/templates/vhosts/php_wordpress/partial.erb index 1a02d68..7b07f21 100644 --- a/templates/vhosts/php_wordpress/partial.erb +++ b/templates/vhosts/php_wordpress/partial.erb @@ -9,11 +9,11 @@ # http://www.frameloss.org/2013/04/26/even-easier-brute-force-login-protection-for-wordpress/ RewriteEngine On RewriteCond %{HTTP_COOKIE} !<%= cookie = scope.function_sha1([scope.function_fqdn_rand([9999999999999,@name]).to_s + "cookie"]) %> -RewriteRule /wp-login.php /wordpress-login-<%= tmpuri = scope.function_sha1([scope.function_fqdn_rand([9999999999999,@name]).to_s + "wp-login"]) %>.php [R,L] -<Location /wordpress-login-<%= tmpuri %>.php> + RewriteRule /wp-login.php /wordpress-login-<%= tmpuri = scope.function_sha1([scope.function_fqdn_rand([9999999999999,@name]).to_s + "wp-login"]) %>.php [R,L] + <Location /wordpress-login-<%= tmpuri %>.php> CookieTracking on CookieExpires 30 CookieName <%= cookie %> - </Location> - RewriteRule /wordpress-login-<%= tmpuri %>.php /wp-login.php [NE] + </Location> + RewriteRule /wordpress-login-<%= tmpuri %>.php /wp-login.php [NE] |