I was getting the anoying Error 500 - Internal server error on my 1and1 home shared hosting again.
I tried all the fixes on this site but still not getting passed the error page.
Then I realized that the front page of my site was working fine but the resto of the pages weren't. So I figured that there might be a problem with the clean URLs. I checked my .htaccess file and there it was.
# RewriteBase /
I uncommented that line.
RewriteBase /
This solved the problem.
I am developing drupal sites locally on my MacBook using MAMP.
I was getting a lot of memory limit errors.
I modified the php.ini file and also the settings.php fiel in drupal. None of them solved my problems.
I inserted this line in my .htaccess file inside the drupal folder:
php_value memory_limit "100M"
That line goes right after
# PHP 5, Apache 1 and 2. <IfModule mod_php5.c>
This solved my problem.
Copy and paste the following line at the beginning of your .htaccess file:
## AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php ##
go to http://drupal.org/node/232773 for the complete drupal forum post.
ADDITIONAL IMPORTANT INFORMATION