Basic .htaccess tutorial

.htaccess (distributed configuration files) is a file through which you can configure changes on directory basis. If you don’t have access to the Apache’s main configuration files and “AllowOverride All” is placed on the <Directory> section of your Apache configuration file then you can handle your directory level configuration changes by putting a .htaccess file. […]
Continue reading…

 

How to disable public access to a website during maintanace mode

There are times when you want to make changes to your website and you do not want your visitors to see the site before you have finished deploying and testing the website. But your Developers and QA’s might need to visit the website before it goes live. So, in this article I will show you […]
Continue reading…

 

Log Management using Logstash and Kibana on CentOS/ RHEL / Ubuntu

Log files are one of the most important files where almost all useful or sometimes unnecessary information’s are stored in regard to your servers running state. Log files will help us to rescue or identify where or what went wrong if there is any security has been breached or compromised. Log files are the most […]
Continue reading…

 

How To Block Exploits, SQL Injections, File Injections, Spam, User Agents, Etc. to your Nginx

Exploits, SQL Injections, File Injections, Spam, User Agents, Etc. are the common problem for the web server administrators. How to block this? In this article I will show you how to block the above mentioned problem. Append the below mentioned configuration to your nginx VirtualHosts.

Whenever one of the rules matches a request, a […]
Continue reading…

 

How to install Log.io on CentOS 6.4

Log.io is an Opensource Real-time log monitoring tool in your browser having a beautiful dashboard. To install log.io you need to install Node JS and NPM on your machine. Please read this article to install Node JS and NPM . After installing Node JS install log.io following below steps. 1. Install via npm

2. […]
Continue reading…