As you probably know, Dreamhost requires that we add this to the .htaccess in the root for ionCube to work:
#— DH-PHP handlers —
AddHandler php-cgi .php
Action php-cgi /cgi-bin/dispatch.cgi
#AddHandler fastcgi-script fcg fcgi fpl
#AddHandler php-fastcgi .php
#Action php-fastcgi /cgi-bin/dispatch.fcgi
When we do though, the rest of the .htaccess causes an Error 500, as I’m running CakePHP. If however I remove the parts of the .htaccess that are linked to our CakePHP software, ionCube works fine - but the website itself doesn’t load.
I need this in my .htaccess:RewriteEngine on RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L]
We can’t have these both together for some reason? Can someone advise as to how to use both of these? Thanks!
This was posted before by a different user, is there ANY workaround?