Magento 500 Error + Solution

On a recent clean installation on a 1and1 Linux server for a client, the site was getting 500 errors on every page other than the home page. The fix for this was to add the following line to the .htaccess file in the document root:

RewriteBase /

Hope this helps someone else out


############################################
## you can put here your magento root folder
## path relative to web root

    #RewriteBase /magento/
	RewriteBase /


Tags: magento mod_rewritemagento 500 errormagento error