Archive for August, 2008

Saving bandwidth using mod_deflate

Friday, August 22, 2008 22:05 No Comments

Deploy right technology will help you saving bandwidth and hosting fee for additional bandwidth
One solution from apache module is :
mod_deflate
example of vhost directive in practice :
<VirtualHost *:80>
ServerName blog.hostingformula.info
DocumentRoot /var/www/blog
<Directory /var/www/blog>
AddOutputFilterByType DEFLATE text/html text/css text/xml text/plain text/javascript application/x-javascript application/xml application/xhtml+xml application/postscript
</Directory>
</VirtualHost>
yes, all type of files listed in DEFLATE lines will get compressed

    

[...]

This was posted under category: Tips Tags:

chmod 444 and chmod 751 for wordpress security

Monday, August 18, 2008 23:07 No Comments

chmod 444 will definitely kill wordpress template, any solution?
Yes, do special chmod for wordpress template
go to wp-content
and give chmod to wp-content/themes 751
7 = 4+2+1 (read-write-execute for owner)
5 = 4+1 (read + execute)
1= execute
You’ll see your themes again

    

This was posted under category: Tips Tags: ,