Tag: Apache

Howto: disable Mod Security for an account

How to Turn off Mod Security OR How to disable Mod Security for an account? Mod_Security for an account is turned off/disabled on depending upon the version of Mod_Security i.e. it can be disabled in .htaccess file in modsecurity1 and have to disable it in VirtualHost entry of a domain […]

Network UPS Tools (NUT) For USB UPSs On CentOS 5.5

This tutorial shows how to configure and use Network UPS Tools (NUT) software with an USB (Uninterruptible Power Supply) on CentOS 5.5. NUT is a software which supports several thousand models. To check if your UPS is supported, this is the link to the HCL: http://www.networkupstools.org/stable-hcl.html Install NUT dependencies: yum […]

Howto: enable HTTP Compression

How to enable HTTP Compression? In order to enable compression, you will need compression modules compiled with Apache. Apache 1.x needs mod_gzip and Apache 2.x need mod_deflate compiled with it. If  you have these module installed, you need to edit your Apache configuration file locate at “/etc/httpd/conf/httpd.conf” file and add […]

What is .htaccess and how to disable .htaccess?

What is .htaccess and how to disable .htaccess? .htaccess is use to modify the way Apache behaves for a directory and it’s sub-directories. It gives you an extra control on your server, like setting up custom error messages, password protect a directory, writing rewrite rules, blocking IPs etc. However, it […]

Warning: MaxClients exceeds ServerLimit

You may reach the maximum number of clients that are allowed to connect to your Apache web server and Apache stops responding. In this case, you have to increase the MaxClients and ServerLimit variable to a higher value. The changes has to be placed in the Apache configuration file located […]

Deny Or Allow Countries With Apache .htaccess

Introduction The following script is using blogama.org IP geolocation API to automatically generate Apache .htaccess file to deny or allow specific countries. You can put this script under crontab and the .htaccess rules will be automatically updated. Also, it can update multiple .htaccess files. Source: http://blogama.org [ad#adgoogle1] Deny or allow? […]

nginx, PHP 5.3 and FastCGI on CentOS 5.5, Fedora 13, Red Hat RHEL 5.5/6

This is guide howto install nginx, PHP 5.3 and FastCGI webserver with MySQL and/or PostgreSQL and Memcache support on Fedora 12 and Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5/6. nginx (engine x) is a robust, small and high performance http server, reverse proxy server and also mail proxy server. […]

Tomcat failure after Apache rebuild in CPanel

After rebuilding Apache in CPanel using easyapache or WHM there are many things that can go wrong even if you use a stable branch of CPanel. For example Tomcat that was installed from CPanel can fail after the build and even if this might look unrelated to the apache build […]

How to Install and Enable cPanel Proxy?

cPanel, WHM and even Webmail uses non-common ports which some Internet Server Providers (ISP) do not allow what do viagra pills look like< and makes it impossible for people to access any of these. cPanel works on 2082/2083, WHM 2086/2087 and Webmail 2095/2096. The workaround is to install does cialis […]

The Perfect LAMP Stack – Apache2, FastCGI, PHP-FPM, APC

The Apache + mod_php combination has been ideal choice for most of peoples for their LAMP webserver. Easy to install and works most of the time make it favorite among the users. However, this setup is quite performance intensive and has some drawbacks which can be seen when the site […]