Forum Moderators: phranque
But, but, splutter-- But that's exactly what I would expect to see.
No, the redirect the host uses isn't behaving like a normal redirect.
- The host creates a catchall redirect from subdomains to a folder of the subdomain at the server level(not in htaccess, can't be overridden)
if my addon site, which resides in a folder under the primary domain, makes a call to include a file the pathing is wrong. Accessing it with "/includedfile.php" or "./includedfile.php" works but if INCLUDEDFILE.PHP has code on it requiring a further include of something like a template file then things get screwy, the path must go all the way back up the chain and a local call does not work for includedfile.php, hence the 500 error message where the template are would have been on the original page.
include($_SERVER['DOCUMENT_ROOT'].'/templates/mytemplate.inc.php');
...hence the 500 error message where the template are would have been on the original page.
include($_SERVER['DOCUMENT_ROOT'].'/templates/mytemplate.inc.php');