How to Install Tomcat 8 on CentOS 7.0 (Multiple Instances)

Apache Tomcat is an open source web server and servlet container developed by the Apache Software Foundation. It implements the Java Servlet, JavaServer Pages (JSP), Java Unified Expression Language and Java WebSocket specifications from Sun Microsystems and provides a web server environment for Java code to run in. This article will guide you through the […]

July 22, 2014 | By
| 4 Replies More

How To - Mod_wsgi Module With Apache To Host Python In CentOs

This article will teach you how to use mod_wsgi module with Apache to host python web server in Centos 6.4.Mod_wsgi is an Apache HTTP Server module by Graham Dumpleton that provides a WSGI compliant interface for hosting Python 2.3+ based web applications under Apache.It is written in C codes.So it have better performance and lower […]

October 14, 2013 | By
| Reply More

How To Configure And Enable WebDAV On Apache

What is WebDAV? WebDAV stands for 'Web-based Distributed Authoring and Versioning'. Normally HTTP protocol provides the internet users with the read access on web files. So, anybody will be able to read/execute the website files, but will not be able to write on to the underlying web files. The webdav module is an extension to […]

July 25, 2012 | By
| Reply More

Example : How To Add New Modules In Apache

  The Apache web server is a modular program. We can dynamically add and remove modules without recompiling the whole program. The modules in apache are known as Dynamic Shared Objects (DSOs). An example of commonly used module is mod_perl, which is used to increase Perl CGI script execution speed by embedding Perl interpreter in […]

January 31, 2012 | By
| Reply More

Speed Webpages Using Mod_Deflate Module On Apache

Deflate is a lossless data compression algorithm. The mod_deflate module for apache, which is based on this algorithm, compresses the contents before delivering them to the clients and thus speeds up the webpages. This module can compress up to 70% of a file. In current versions of Apache this module is installed and enabled by […]

December 14, 2011 | By
| Reply More

Example How To Disable Apache Directory Listing

The Apache web server looks for index.html file to be present in the default “DocumentRoot” directory (by default /var/www/html directory). This file name is controlled by a directive named “DirectoryIndex”. In Apache configuration file, the default value for this directive is index.html. If index.html file is not present in the “DocumentRoot” directory, then the server […]

December 2, 2011 | By
| Reply More

Understand And Setup Apache Virtual Host In Linux

The Apache web server allows you to run more than one website on a single machine. This is possible through virtual hosting. Virtual hosting reduces the cost of website hosting. This article describes how virtual hosting can be configured in Apache Web Server on a RHEL machine. Apache Web Server To install apache in you […]

November 30, 2011 | By
| Reply More

Authenticating HTTP Users Using htpasswd and .htaccess

htpasswd is used to create and update the flat-files used to store usernames and password for basic authentication of HTTP users. htpasswd encrypts passwords using either a version of MD5 modified for Apache, or the system's crypt() routine. htpasswd returns a zero status ("true") if the username and password have been successfully added or updated […]

November 24, 2011 | By
| Reply More

Cannot Restart Apache - Segmentation Fault : Apache Down

Apache goes down and wont come up if we try to start/restart. Here is how the error looks like: -------------------------------------------------------------------------------------------------------------------------------------- /etc/init.d/httpd restart: httpd not running, trying to start [Tue May 6 01:31:31 2008] [warn] module bwlimited_module is already loaded, skipping [Tue May 6 01:31:31 2008] [warn] module php5_module is already loaded, skipping /etc/init.d/httpd: line 83: […]

November 23, 2011 | By
| Reply More

Apache ( httpd.conf ) Directives That A Web Server Admin Should Know

Apache Web Server Directives Apache web server is the most popular web server designed for unix like operating system. It has become the dominating one over the other web servers because of its high flexibility and performance. Apache functionality can be extended with the help of compiled modules. Apache directives can be defined as the […]

November 22, 2011 | By
| Reply More

Installing/Configure Mod Security In Apache For Security

Apache modsecurity module. ModSecurity is an open-source intrusion detection and prevention engine for web applications. It can also be called as web application firewall. It operates embedded into the web server, acting as a powerful umbrella and shielding applications from attacks. Installation of modsecurity. You can get the latest stable release of modsecurity from In this article, […]

November 17, 2011 | By
| Reply More

Semaphore error (semget)-Apache crash

The issue causes mainly due to insufficient disk space available for apache resources. Fixes: 1. Check /etc/httpd/domlogs, if it is motre than 2GB that will cuase the issue; reduce the size and restart apache. 2. Check the error_log, access_log and other log files if anything is above 2B that will cause the issue; reduce the […]

May 21, 2011 | By
| Reply More

How To Find Apache Uptime Using Script

The uptime command in Linux/Unix is used to find out how long the system has been running. Both distributions come with built- in commands to check put server uptime. In Linux, the file '/proc/uptime' contains uptime information, and the file '/var/run/utmp' has all the details about who has logged in the system. However, information in these […]

May 9, 2011 | By
| Reply More