Preventing ‘Page 500′ errors with Drupal on www.mijndomein.nl

2009/09/08

This is a short post: www.mijndomein.nl is a cheap shared hosting provider. And as each shared hosting provider goes, they won’t allow specific settings in your .htaccess file. No problem, just that they won’t mention anywhere *what* they don’t allow. And the helpdesk is of no use in the middle of the night. So, here’s the solution:

  • In /.htaccess (so that’s in the root of your Drupal site) comment out the line that says ‘Options +FollowSymlinks’ (thanks to Ewout, below in the comments, for this correction)
  • in /sites/default/files/.htaccess do exactly the same.

Believe it or not, it works beautifully! See http://www.avalizas.com for the result ;) Which is a shameless plug for the site of my sister and her husband, who just emigrated to Uruguay to start a new life there. Just look at the pictures on that site, that they actually made themselves. Isn’t internet great?

(PS: While I’m on the Drupal subject: May I recommend ‘Boost’ which saved an earlier project for me (http://www.civitas-advies.nl) ? It renders each page for an anonymous user as a ‘static’ page in it’s cache, making PHP-heavy pages being served to the visitor almost instantly!


Follow

Get every new post delivered to your Inbox.