Setup redirection from one domain to another domain on .htaccess Date Posted: 24-08-2017 Scenario: There are scenarios like where we want to redirect onedomain to another domain. We can use .htaccess to achieve the same. Prerequisites: Ubuntu or centos Server Apache 2.4 or apache 2.2 Rewrite module. You can verify… Continue Reading Setup redirection from one domain to another domain on .htaccess

Install Apache, php7, mysql on Redhat 7 server Apache is a popular webserver and our previous post explains on how to install on ubuntu, centos server. In this article, we will explain on how to install apache, php, mysql on redhat 7 server. Prerequisites: Server Root access Implementation: Login to… Continue Reading Install Apache2, php7, mysql on Redhat 7 server

Date Posted: 04-05-2017 We are getting continuous 500 internal server on our php-fpm/fcgi apache server. The log reports the following error [Day Month xx 10:09:14.269068 2017] [fastcgi:error] [pid 1422] [client xx.xx.xx.xx:59020] FastCGI: incomplete headers (0 bytes) received from server “/usr/lib/cgi-bin/php7-fcgi” [Day Month  xx 10:09:46.864781 2017] [fastcgi:error] [pid 1690] [client xx.xx.xx.xx:59021] FastCGI: comm with server… Continue Reading FastCGI: comm with server “/usr/lib/cgi-bin/php7-fcgi” aborted: idle timeout

Install Apache with php-fpm on Ubuntu 16 Date Posted:03-05-2016 Php-fpm is a FastCGI Process Manager which is faster to serve php when compared to mod_php. In this post, we will explain on how to install Apache with php-fpm on Ubuntu 16 host. Implementation: Let’s Start with apache2 installation. apt-get install… Continue Reading Install Apache with php-fpm on Ubuntu 16

Add Multiple Domains(virtual Hosts) on Apache Ubuntu Date Posted:04-04-2017 Apache popular well known webserver which can be used to serve multiple domains on a single server. This post assumes that apache is already installed and we will deal with how to add multiple domains in it. Assumption: Ubuntu Host Apache… Continue Reading Add Multiple Domains(virtual Hosts) on Apache Ubuntu

Enable mod rewrite module on Apache 2.4 Date Posted:01-04-2017 Mod rewrite is an essential module for .htaccess rules to work on apache server. Follow the below post incase apache is not installed on host. Install Apache 2.4 on Ubuntu Implementation: Login to the server as root. Execute the below command to enable the… Continue Reading Enable mod rewrite module on Apache 2.4 Ubuntu

Introduction When an Apache web server is placed behind a load balancer, Apache may record the load balancer’s IP address instead of the actual client IP address in the access logs. This can make troubleshooting, monitoring, and security analysis difficult. This guide explains how to configure Apache 2.4 to log… Continue Reading Enable remote IP address logging on apache2 behind load balancer

Introduction This guide explains how to install Apache 2.4 and PHP 5.6 on Ubuntu 16.04. Since Ubuntu 16.04 does not provide PHP 5.6 as the default PHP version, an additional PHP repository is required. This setup is useful for applications that depend on PHP 5.6 for compatibility. Prerequisites Before starting… Continue Reading Install apache 2.4, php5.6 on Ubuntu 16.04