Piranha is a simple yet powerful tool to manage virtual IP and service with its web-based GUI.
As refer to my previous post on how to install and configure Piranha for HTTP service: http://blog.secaserver.com/2012/07/centos-configure-piranha-load-balancer-direct-routing-method/, in this post we will complete over the Piranha configuration with HTTP and HTTPS load balancing using direct-routing with firewall marks [...]
We have several directories which have been restricted to some users in our company. Since they will need to authenticate before able to access the directory via web browser, I need to manage simple Apache user authentication using htpasswd.
User Authentication
To create new password protected directory under /home/website/public_html/secure1, create a new .htaccess file:
$ [...]
Our new online shopping cart site is run on 3 Apache servers which mount the same document root in all nodes. With a load balancer in front of it to distribute the HTTP/HTTPS connections equally using weigh round-robin algorithm, we are facing big problem in session handling for the site; When user’s session is not exist [...]
I am currently working on a web cluster project using CentOS. In this project, I have 2 web servers running on Apache and mounted the same document root to serve the HTTP content. I also have 2 servers in front of it to become the load balancer and failover to increase high availability of the [...]
Even though IPv4 has been fully occupied, many people still not realized that they need to start implementing IPv6 for their services. In this post, I am going to show how to implement IPv6 connectivity to HTTP service which run on Apache.
We will use dual-stack configuration which allowed IPv4 and IPv6 run simultaneously in [...]
Our development team are working on a new project which involved many scripts to be executed in long time using Apache. These scripts are used to migrate and convert old database to the new database fields and formats. Most of the scripts are still under development and required me to monitor the process and terminate [...]
One of our web developer required to have 2 directories to be always identical, which means whatever files contain in directory ‘a’ will be appeared in directory ‘b’. From the server and operating system point-of-view, this can be achieved using several methods:
Use symbolic link Use mount bind Use bindfs
Each and every method has [...]
In same cases, one of my server is having problem delivering static content due to low I/O disk capabilities. So we need something to help our web service to deliver and cache the static content (mostly pictures and HTML) to help reduce the load of the main server.
You can refer to the diagram below [...]
To achieve high availability, what we really need is to eliminate single point of failure as many point as possible but, it comes with expensive way to do this. What if we just have 2 servers, and we want to have highest web service availability possible with lowest cost?
Most important part in this high [...]
One of my developer required PHP SSH2 module to be loaded into the cPanel server. Since this module is not available inside EasyApache, I need to install it separately and integrate to the current configuration that we have build using EasyApache.
1. Download and install libssh2 from this website, http://www.libssh2.org/snapshots/
$ cd /usr/local/src $ [...]
Apache Benchmark (aka ab) is a tool to benchmark the HTTP web server. It is recommended to test your web server performance before switch it to production environment. I am using this tools to benchmark and do some stress test to our development server before it goes live.
Make sure you have following points prepared [...]
Whenever you browse a website, you can check the type of web server running by retrieving the response server header. For example, by using this website, http://serverheader.com/header/form.html following server response return for website www.opensource.org :
HTTP/1.1 200 OK Date: Tue, 13 Mar 2012 03:44:54 GMT Server: Apache/2.2.22 (FreeBSD) DAV/2 SVN/1.7.3 mod_ssl/2.2.22 OpenSSL/1.0.0g Set-Cookie: SESSe6df14a6557d381f7820d30df9723b5b=tul1j9kd7mme2r01up3lbq8326; [...]
Sci/Tech – Google News- Xbox One: What We Wanted vs. What We Got - PC Magazine 22 May 2013
- Twitter Enacts Extra Security Layer in Response to High-Profile Cyber Attacks - Fox Business 22 May 2013
- NASA awards grant for 3D food printer; could it end world hunger? - Pakistan Daily Times 22 May 2013
- Creator of GIF files insists it's 'jif' - Internet in turmoil - NBCNews.com 22 May 2013
- Nip narcissism in the bud - The Borneo Post 22 May 2013

