Setup redirection using Proxypass, proxyreversepass on apache Date Posted: 24-08-2017 There are scenarios like we would like to forward the request to different domain or different port. However, the URL on the browser should remain the same. In this post, we will explain on how to setup redirection using proxypass.… Continue Reading Setup redirection using Proxypass, proxyreversepass on apache

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

WordPress post xmlrpc.php attack Prevention Date Posted: 17-07-2017 This post explains on how to prevent xmlrpc.php attack on wordpress website. If we seen below error or continuous POST request to xmlrpc.php on access log will be best way to identify attack. 2017/07/17 06:25:46 [error] 14858#14858: *411668 connect() to unix:/run/php/php7.0-fpm.sock failed… Continue Reading WordPress post xmlrpc.php attack Prevention

When you integrate angular2 with laravel on top of nginx, you may see empty page while accessing angular2 end point on browser. say http://server-ip/angularclient if you dig little deeper using inspect element, you may see 404 for all files(css,html,js,etc). You just need to verify the href base is as same… Continue Reading laravel and angular2 setup shows empty page on nginx

You might get not found error (404) when you access laravel API end points on nginx. To resolve this we need to add below rules in nginx.conf. Post that reload nginx conf. location @rewrite { rewrite ^/(.*)$ /index.php?_url=/$1; } location / { try_files $uri $uri/ @rewrite; } $ service nginx… Continue Reading Laravel route gives 404 error on nginx

Install and Configure Nagios Server Date Posted: 08-06-2017 Nagios is an open source monitor tool widely used to monitor client machines. Here, we are going to explain on how to install and configure nagios server. Prerequisites: Centos 7.0 Server – In this post, we are using centos server 7.0. We… Continue Reading Install and Configure Nagios Server

Adding automatic extension (php) on nginx Date Posted:25-05-2017 Well, normally no one likes to expose the language written on their website. On apache, we will use .htaccess to autoadd the extension. In this post, we will show on how to autoadd the extension on nginx configuration. Incase, if nginx is… Continue Reading Adding automatic extension (php) on nginx

Codeigniter 404 error on nginx Date Posted:24-05-2017 Recently, we deployed a codeigniter application on one of our server and found that it shows 404 error when we try to access the custom urls(such as domain.tld/login, domain.tld/admin, domain.tld/dashboard). The same application works fine on Apache webserver. After a long research, we found… Continue Reading Codeigniter 404 error on nginx

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