Archive for August, 2008

0

Saving bandwidth using mod_deflate

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

Tips
0

chmod 444 and chmod 751 for wordpress security

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
chmod 444chmod 751wordpress chmod settingswordpress chmodwordpress security chmodchmod for wordpresschmod wordpresschmod 444 windowsjoomla chmod 444wordpress chmod securitychmod [...]

Tips