I'm trying to use the Mailhandler module. My hosting company (dreamhost) doesn't support php imap.
So, I compiled a customized php 5 with additional extensions using their instructions (http://wiki.dreamhost.com/index.php/Installing_PHP5).
Then (per their instructions), I added the following to my .htaccess file:
AddHandler phpFive .php
Action phpFive /cgi-bin/php.cgi
After adding the above code to the .htaccess file, I get an internal server error (500) when visiting my site. In the error log, I get the following error:
Request exceeded the limit of 20 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
I think that means I've created a re-write loop of some sort, not sure. But, I don't know how to fix the problem.
Here is the entire contents of my .htaccess file:
#
# Apache/PHP/Drupal settings:
#
# Protect files and directories from prying eyes.
Order deny,allow
Deny from all
# Set some options.
Options -Indexes
Options +FollowSymLinks
# Customized error messages.
ErrorDocument 404 /index.php
# Set the default handler.
DirectoryIndex index.php
# Override PHP settings. More exist in sites/default/settings.php, but