home / blog

Tag Archives: dreamhost

HTTP 503 from IE6 on dreamhost

It seems that dreamhost somehow returns HTTP 503 if the user agent is exactly “Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)”. This is from the modern.ie IE6 windows XP build. wget –user-agent “Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; … Continue reading

Posted in geek | Tagged | Leave a comment

Rails 4.0.0 with Ruby 2.0 on a Dreamhost shared server

Build ruby from source. RVM won’t work out of the box because it tries to use sudo. It’s quite easy. cd mkdir build cd build http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz tar xzf ruby-2.0.0-p247.tar.gz cd ruby-2.0.0-p247 ./configure –prefix /home/adamish/ruby # <=== make sure you install … Continue reading

Posted in geek | Tagged , | Leave a comment

HTTP 500s on dreamhost shared hosting

I finally got to the bottom of the occasional HTTP 500 (internal server) errors on weathersupermarket. The apache error log simply contains “premature end of script headers”, which isn’t much help. It turns out on shared hosting servers a background … Continue reading

Posted in geek | Tagged , | Leave a comment

HTTP caching

Often browsers cache when you do not wish them to do so. POST requests by forms are exempt according to RFC 2616, so we only need worry about GET requests. A default installation of apache by default will not serve … Continue reading

Posted in geek | Tagged , | Leave a comment