Changeset 806087
- Timestamp:
- 11/18/2013 08:06:07 AM (12 years ago)
- Location:
- tr-cache-and-security/trunk
- Files:
-
- 2 edited
-
inc/actions.php (modified) (1 diff)
-
plug.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tr-cache-and-security/trunk/inc/actions.php
r795650 r806087 305 305 if ( $bwpsserver == 'apache' || $bwpsserver == 'litespeed' ) { 306 306 $need_rewrite .= "RewriteRule ^" . $login . "/?$ " . $dir . "wp-login.php?" . $key . " [R,L]" . PHP_EOL . PHP_EOL . 307 "RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$" . PHP_EOL . 308 "RewriteRule ^" . $admin . "/?$ " . $dir . "wp-login.php?" . $key . "&redirect_to=" . $dir . "wp-admin/ [R,L]" . PHP_EOL . PHP_EOL . 309 "RewriteRule ^" . $admin . "/?$ " . $dir . "wp-admin/?" . $key . " [R,L]" . PHP_EOL . PHP_EOL . 310 "RewriteRule ^" . $register . "/?$ " . $dir . "wp-login.php?" . $key . "&action=register [R,L]" . PHP_EOL . 311 "RewriteCond %{QUERY_STRING} !" . $key . PHP_EOL . 312 "RewriteCond %{QUERY_STRING} !^action=logout" . PHP_EOL . 313 "RewriteCond %{QUERY_STRING} !^action=rp" . PHP_EOL . 314 "RewriteCond %{QUERY_STRING} !^action=postpass" . PHP_EOL . 315 "RewriteCond %{QUERY_STRING} !^checkemail=" . PHP_EOL . 316 "RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$" . PHP_EOL . 317 "RewriteRule ^.*wp-login\.php$ " . $dir . " [R,L]" . PHP_EOL . PHP_EOL; 307 "RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$" . PHP_EOL . 308 "RewriteRule ^" . $admin . "/?$ " . $dir . "wp-login.php?" . $key . "&redirect_to=" . $dir . "wp-admin/ [R,L]" . PHP_EOL . PHP_EOL . 309 "RewriteRule ^" . $admin . "/?$ " . $dir . "wp-admin/?" . $key . " [R,L]" . PHP_EOL . PHP_EOL . 310 "RewriteRule ^" . $register . "/?$ " . $dir . "wp-login.php?" . $key . "&action=register [R,L]" . PHP_EOL . 311 "RewriteCond %{QUERY_STRING} !" . $key . PHP_EOL . 312 "RewriteCond %{QUERY_STRING} !^action=logout" . PHP_EOL . 313 "RewriteCond %{QUERY_STRING} !^action=rp" . PHP_EOL . 314 "RewriteCond %{QUERY_STRING} !^action=postpass" . PHP_EOL . 315 "RewriteCond %{QUERY_STRING} !^action=resetpass" . PHP_EOL . 316 "RewriteCond %{QUERY_STRING} !^checkemail=" . PHP_EOL . 317 "RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$" . PHP_EOL . 318 "RewriteRule ^.*wp-login\.php$ " . $dir . " [R,L]" . PHP_EOL . PHP_EOL; 318 319 }else 319 320 { -
tr-cache-and-security/trunk/plug.php
r804796 r806087 4 4 Plugin URI: http://ngoctrinh.net/ 5 5 Description: Smart Cache and full security your site 6 Version: 1.1. 66 Version: 1.1.7 7 7 Author: Trinh 8 8 Author URI: http://ngoctrinh.net/
Note: See TracChangeset
for help on using the changeset viewer.