Category Archives: Apache

Blocking Traffic With Apache GeoIP Module

To install GeoIP module in CentOS Apache server, run Now verify mod_geoip installed in apache by running Example [root@3blogger ~]# httpd -M | grep geoip geoip_module (shared) [root@3blogger ~]# Now edit /etc/httpd/conf/httpd.conf add following In your Apache VirtualHost, add This


Managing users with Apache htpasswd

htpasswd is used to create and update the flat-files used to store usernames and password for basic authentication of HTTP users. On Ubuntu server, you can install htpasswd with command To create a password file and add user, run In


Configuring SSL site in Ubuntu Server

Create file Add following content Enable the web site Enable Apache SSL module if not already enabled Restart Apache You can verify SSL module enabled by running Now web site will work with SSL certificate.


Apache Optimization

Configuring SSL site in Ubuntu Server Enable SSL in Apache VirtualHost php-fpm Blocking Traffic With Apache GeoIP Module CentOS 7 Apache Error AH01630: client denied by server configuration To optimize Apache, you can use perl script available at https://github.com/richardforth/apache2buddy/ Download


Windows could not start the Apache2 on Local Computer

Some of the local sites on my pc is not working. When i tried to access, its showing like Unable to connect Firefox can’t establish a connection to the server at hostonnet.co. The site could be temporarily unavailable or too


Redirect yourdomain.com to www.yourdomain.com

By default most sites allow yourdomain.com and www.yourdomain.com It is better to select one of the url you want and stay with it instead of using both URLs for same web site. It is better to use URL with www


Htaccess Tips and Tricks

Block All traffic Create .htaccess file with Allow Only Specific IP Create .htacces with following code If your IP changes, you can use CIDR format to white list IP range of your ISP. Block Specific Browser/Version To block visitors using


How to analyze Apache access logs using Scalp

What is Scalp ?? Scalp! is a log analyzer for the Apache web server that aims to look for security problems. The main idea is to look through huge log files and extract the possible attacks that have been sent


How to install Apache MySQL and PHP on Cent OS 6.6

Following tutorial describes how to install Apache MySQL and PHP on a Cent OS based server. First we need to identify the version of OS using on the server. For that, login to the server as root user and run


Installing NewRelic on CentOS 7 Server

NewRelic is an Application performance monitoring tool. To install it on CentOS LAMP server (PHP), run You need need a NewRelic.com account before you can start monitoring your Application.