I am new to Dreamhost and have been struggling getting our https: to work on our site. At first we thought it was the custom install of php5 and APC but after uninstalling APC we have come down to maybe a problem with our .htaccess file.
When accessing a simple html file in the root directory via https: we get the following error:
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.
When we access it through the http: it works fine.
The following is the .htaccess in the root directory of our site:
AddHandler php5-cgi .php
Action php5-cgi /php5/php5.cgi
Action application/x-httpd-php5 /php5/php5.cgi
AddType application/x-httpd-php5 .php5
Deny from All
Allow from env=REDIRECT_STATUS
SetEnvIfNoCase Remote_Addr ^184.108.40.206$ MODSEC_ENABLE=Off
We have a custom php install based on a wiki provided by Dreamhost: http://wiki.dreamhost.com/PHP_5_install_script
And have commented out of the php.ini everything to do with APC from the following Wiki install: http://wiki.dreamhost.com/Pecl_APC
Not real sure where the SetEnvIfNoCase line came into play. But not sure if it is okay to delete it either.
Just Really need another set of eyes to look at this and give me an idea and/or direction as to how to get it resolved.
Many Thanks in advance!!!