When it comes to restrict your website, there are many ways to achieve that and one of the simplest methods is with your htaccess file. But it can be a little bit tricky when you’re in a cloud environment such as the Amazon Cloud and you are using the Elastic Load Balancer.
October 14th, 2011
How to block/allow IP addresses behind a load balancer with htaccess
3 Comments, Apache, by Joakim Ling.Here I will show you how to suppress PHP errors from visitors and enable logging to a file via htacecss Tracking PHP errors is a must when troubleshooting unexpected issues, related to plugins, themes. But you don’t want to have them visible on your site, especially not your customers. Here is a tutorial how to log all PHP errors behind the scenes to a private file.