Archive

Archive for November, 2010

How to fix browse button for webbrowsers

November 18, 2010 Leave a comment

Step 1:

Browse

Step 2:

$(document).ready(function(){
$(‘#attachment’).css({
‘opacity’:’0.0′,
‘z-index’: ‘110’
});

});

Advertisements
Categories: PHP, Zend

How to make apache gzip

November 15, 2010 Leave a comment

How to use mod_deflate?

# Compress output
AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html

Categories: Apache, centOS, Zend Tags:

Centos – how to setup timezone

November 9, 2010 Leave a comment

Step 1: Basically
ln -s /usr/share/zoneinfo/UTC /etc/localtime
date
Tue Nov 9 10:54:12 CET 2010 (this is wrong!!)

Step 2: So,
yum install ntp
chkconfig ntp on
ntpdate pool.ntp.org

service ntpd start

date
Tue Nov 9 09:58:16 CET 2010

Categories: centOS