Archive for the ‘Common errors’ Category

Enable mod gzip and mod deflate module

The server load is normal but web pages are loading very slow due to heavy web size therefore at that time, we can enable the web page compression for the hosting account. To enable the compress make sure that mod_deflate module.

To install the mod_deflate module refer the following setps.

Login in to the server as root user and run /scripts/easyapache script to recompile the Apache web server.

root@linux7802 [~]# /scripts/easyapache

Select the “Deflate” option available under the “Apache Built-in Modules” as soon as Apache recompiled login in to domain hosting account under which you are facing the problem.

For example the linux7802.com domain having the slow web page loading issue therefore we can create the new .htaccess file or edit the existing .htaccess file and add the following code.

#compress all text & html:
AddOutputFilterByType DEFLATE text/html text/plain text/xml
# Or, compress certain file types by extension:
<Files *.html>
SetOutputFilter DEFLATE
</Files>



Check the following file

root@linux7802 [/home/linux780/public_html]# cat .htaccess
#compress all text & html:
AddOutputFilterByType DEFLATE text/html text/plain text/xml
# Or, compress certain file types by extension:
<Files *.html>
SetOutputFilter DEFLATE
</Files>

We can also use the following code in the .htaccess file

#compress all text & html:
AddOutputFilterByType DEFLATE text/html text/plain text/xml
# Or, compress certain file types by extension:
<FilesMatch “\\.(js|css|html|htm|php|xml)$”>
SetOutputFilter DEFLATE
</Files>

After adding the above check the web page compression by using the following URL

http://www.gidnetwork.com/tools/gzip-test.php

Tag

.htaccess .htaccess file /etc/ssh/sshd_config /var/cpanel/cpanel.config Access denied for user 'root'@'localhost' cgi script clear cache cPanel access logs cPanel error logs cPanel exim logs cPanel logs cPanel servers logs Create new FTP account from cPanel Disable directory listing exim logs find command how to block referrer install mailx mysql from WHM mysql has failed mysql service mysql service from WHM nameserver setup Network File System NFS Server php form phpmail() form phpmail function please contact the sysadmin plesk panel issue roundcube roundcube error roundcube error logs Safari browser Safari browser + AddHandler application/x-httpd-php5 Safari browser downloading .html pages. Safari browser downloading pages Safari downloading pages simple php form simple phpmail() form simple phpmail function form sshd restart suexec trueuserdomains using the NFS Server

.htaccess (15)
Basic Linux (57)
Browser problems (3)
Common errors (10)
cPanel + cPanel scripts (29)
Cron jobs issue (5)
Dedicated Server Issue (21)
Definition / Explanation (5)
E-mails issue (18)
Enable private PHP (5)
Few good queries and suggestions (12)
FTP / Frontpage / Dreamweaver (10)
General (3)
HTML/PHP issue (1)
Install server side software / script (16)
Linux Administrator Interview Questions (73)
Linux Permissions (8)
Mailman (1)
Mysql + phpmyadmin (19)
New updates/release (1)
NFS server (6)
PHP (7)
Plesk (13)
scripts (5)
Server Security (20)
Third party script issue (17)
Tomcat/Ruby Rail (2)
Uncategorized (20)
VPS (61)

WP-Cumulus by Roy Tanck and Luke Morton requires Flash Player 9 or better.

Calendar
May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  
Blogroll