BIP KB Tag: Traffic

How To Redirect HTTP Traffic To HTTPS Using An .htaccess File

The below code, when added to a .htaccess file, will automatically redirect any traffic destined for http: to https: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] ...
By lee, January 24, 2015


How To Redirect or block traffic based on country geographical location using Apache mod_geoip

In this tutorial you will learn how to block or redirect web traffic based on the visitor's country (geographical location) using Apache's geoip mod. 1. Apache mod_geoip installation Assuming that you already have a Apache webserver installed and running we will start by the installing mod_geoip: UBUNTU/DEBIAN # apt-get install libapache2-mod-geoip CENTOS/REDHAT/FEDORA ( epel enabled only ) # yum install mod_geoip.x...
By lee, June 24, 2015