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

Date Posted:05-01-2016 By default, apache logs the IP address where the request comes from. Consider a scenario where webserver(in our post, we deals with apache) behind load balancer either EC2 load balancer or haproxy load balancer,etc., where the request will come to load balancer and loadbalancer transfer the request to… Continue Reading Enable remote IP address logging on apache2 behind load balancer

Date Posted on:04-01-2017 Ubuntu 16.04 doesn’t have php 5.6 by default. Normally, if we install php on ubuntu 16.04, it will install php 7. Many application (at the time of this post 04-01-2017) runs only with php 5.6 and may face issue with Php7. In this post, we are gonna… Continue Reading Install apache 2.4, php5.6 on Ubuntu 16.04