It is possible to serve .php or .cgi / .pl file using different file type / extension name. This will improve security. For example, server .html as .php file, add following to your httpd.conf or .htaccess file: # serve .html files as php files AddType application/x-httpd-php .html # serve .nix files as cgi files AddType […]


Recently, I noticed something strange about Apache 2.2.3 version running on CentOS Linux 5 64 bit version. We have centralized NFS server and all 3 web server load balanced using hardware front end (another box running LVS). All Apache server picks up file via NFS i.e DocumentRoot is set over NFS. The small file such […]


Apache’s mod_rewrite considered as one of the difficult module to configure and use. This article will lead you through rewrite rules, regular expressions, and rewrite conditions, and provide a great list of examples: Apache’s low-cost, powerful set of features make it the server of choice for organizations around the world. One of its most valuable […]


You can speed up downloads or web page access time with Apache mod_deflate module. The mod_deflate module provides the DEFLATE output filter that allows output from your server to be compressed before being sent to the client over the network. This decreases the amount of time and data transmitted over the network, resulting in faster […]


Recently I have noticed that my Apache error log file shows it is generating segmentation faults. After doing little research I came to know that there is not simple solution to find of causes of this problem. I got an error that read as follows: [Mon May 8 11:20:09 2006] [notice] Apache/2 (WebAppBETA) child pid […]