home / blog

Tag Archives: htaccess

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 … Continue reading

Posted in geek | Tagged , | Leave a comment

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 … Continue reading

Posted in geek | Tagged , , , | Leave a comment