High server CPU with proxy login
-
Hey guys
I’m staying at a hotel and used their wifi to try to login to WordPress.
After I entered my details it would just load the login page again without any error message.
Then after a short amount of time I got notices from my server that the CPU was up to 90% ( it is usually around < 10% ).
After alot of debugging and mucking around I realised it was caused by the option Forbid Proxy Comment Posting.
Removing the code below from the .htaccess file solved the problem.
#AIOWPS_FORBID_PROXY_COMMENTS_START RewriteCond %{REQUEST_METHOD} =POST RewriteCond %{HTTP:VIA}%{HTTP:FORWARDED}%{HTTP:USERAGENT_VIA}%{HTTP:X_FORWARDED_FOR}%{HTTP:PROXY_CONNECTION} !^$ [OR] RewriteCond %{HTTP:XPROXY_CONNECTION}%{HTTP:HTTP_PC_REMOTE_ADDR}%{HTTP:HTTP_CLIENT_IP} !^$ RewriteCond %{REQUEST_URI} !^/(wp-login.php|wp-admin/|wp-content/plugins/|wp-includes/).* [NC] RewriteRule .* - [F,NS,L] #AIOWPS_FORBID_PROXY_COMMENTS_END
I’m presuming it has something to do with the hotel wifi internet access using a proxy.
https://www.ads-software.com/plugins/all-in-one-wp-security-and-firewall/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘High server CPU with proxy login’ is closed to new replies.