Archive for the 'apache' Category

non-www to www redirection with .htaccess

Opening a domain as domain.com or www.domain.com takes to the same page. From the SEO perspective , many suggest that search engines may consider the two to be different sites. So the fix is to apply a redirection to redirect domain.com to www.domain.com

Output buffering PHP Apache mod gzip mod deflate

Till recently most of my php scripts were working fine on the servers with instantaneous outputs as and when a echo statement came. One issue that popped a lot on localhost was that of chunky outputs; that is the outputs of big scripts came out in chunks rather than smoothly with every echo or print [...]