HTTP compression of static content with .htaccess

I was originally using mod_deflate however I had the following issues Content-length was not populated which meant I couldn’t implement an AJAX progress bar Weird error net::ERR_INVALID_CHUNKED_ENCODING on OS X with Chrome on transfers bigger than 1MB – I couldn’t find any other platforms effected by this. Unnecessary server load Things to note. The header… Continue reading HTTP compression of static content with .htaccess

Dreamhost php-cgi use different php.ini per directory

The popular gallery webapp still uses dated short PHP open tags <?, this makes it difficult to deploy in a subdirectory of a site that uses XHTML which requires short_open_tag=off to use &lt?xml… headers, leading to the following error. Parse error: syntax error, unexpected T_STRING in /home/foo/example.com/index.php on line 3 This problem is further complicated… Continue reading Dreamhost php-cgi use different php.ini per directory