Friday, May 8, 2015

VirtualMin: 413 “Request Entity Too Large” error with uploading a file

In a normal nginx installation, this error is solved by making an amendment to the nginx.conf file and the php.ini file.

The nginx.conf file is found at /etc/nginx/nginx.conf while php.ini is to be found at /etc/php.ini

Sunday, May 3, 2015

VirtualMin Wordpress Nginx Permalinks



VirtualMin Wordpress Nginx Permalinks


If you want to use Virtualmin with nginx, there are two nice tutorials (Using Nginx with Virtualmin and Virtualmin with NGINX+PHP-FPM+OPCACHE).

To get the Wordpress permalinks to work, do the following:

Go to Virtualmin > Services > Configure Nginx Website > Return to virtual hosts list > Edit Configuration Files.

Sunday, October 12, 2014

Nginx.conf rules for Wordfence Falcon Engine Caching when using Nginx and PHP5-FPM

Wordfence is a free Wordpress plugin that provides security for your wordpress installation. It has a nice feature that scans your wordpress files and compares it with the original to see if they have been modified.

However, the scan is not foolproof. It does not cover all the core wordpress files or the themes or the plugins. Also, if the hacker has inserted new files, that goes undetected.

Monday, September 15, 2014

Wordpress Shows Login Page For Entire Site

Today, I had an unpleasant experience. When I tried to access my site, I was presented with a peculiar login page. No page was accessible. Even the wp-admin.php page was blocked out by the login page. There was only one input box for the password (see image).

Monday, September 8, 2014

MicroAd Hijacks Browsers & Hides Google Adsense Ads

I have several websites where I have Google Adsense Ads running.

Today, when I was browsing my websites, I was surprised to see some shady-looking ads showing. The ads appeared to be of companies called “Poster Gully”, “Styleever”, “fashion equation.com” etc.

If you peer closely at the ads, you will find an icon towards the right-hand side, similar to the ones found in the Adsense ads.

Sunday, September 7, 2014

php5-fpm process is consuming the CPU resources & RAM

Today morning, I posted something which drew a flock of people to my website. I had concurrent visitors of about 100 + according to Google analytics. They were downloading a 1 MB pdf file.

My VPS is powered by easyengine (nginx + php-fpm). I also have WP Super Cache installed.

Sunday, August 31, 2014

VPS Used To Send Spam Email Messages

Today morning, I got a shocking message from servermania.



“New support ticket was created

Subject: Abuse - 23.236…….

Hello,

This message is to notify you that your server located at 23.236……. is now in violation of our Terms of Service located at http://www.servermania.com/tos.htm‎ and is subject to account suspension leading up to termination without notice.