Skip to main content

Posts

Showing posts with the label Apache server perfomance tuning

APACHE SERVER PERFOMACE OPTIMISATION IN CENTOS/UBUNTU

There are different things to be taken care for improve perfomance of apache server.Iam explaing about different apache modules which helps in tuning its perfomance. APACHE MOD_STATUS To enable status reports only for browsers from the localhost add this code to your httpd.conf configuration file #vi /etc/httpd/conf/httpd.conf(centos/Redhat) #vi /etc/apache2/apache2.conf(ubuntu) <Location /server-status> SetHandler server-status Order Deny,Allow Deny from all Allow from localhost </Location> Apache mod_status also offers an option called  ExtendedStatus , which provides additional information about each request made to Apache. To enable  ExtendedStatus  edit your Apache configuration file: #vi /etc/httpd/conf/httpd.conf(centos/Redhat) #vi /etc/apache2/apache2.conf(ubuntu) ExtendedStatus On (Enabling ExtendedStatus consumes additional system resources.) To view the file generated, download Lynx: ...