I have DirectAdmin installed on my dedicated host.
What I'm trying to achieve is set up a subdomain on domain "C.com", which belongs to user "C", so that its document root is a directory in another user's (P) directory tree
|*if SUB="mysubdomain"| |?DOCROOT=/home/P/domains/mysubdomain.somedomainname| |*endif|
This works as long as I try to view flat HTML files, i.e.
C.com/index.html // Hello World!
Whenever I try to view a PHP file, I get a 500 error, i.e.
C.com/index.php // Internal Server Error
index.php is simple and should not throw any errors, right?
I can't view the log files for reasons that would take too much space to describe. Also I'm not that familiar with DirectAdmin, but I have managed to set up other subdomains in C.com that have DocumentRoot within user C's directory tree and that run PHP exactly as I would expect them to.
Am I right that the problem is pointing the DocumentRoot to some other user's directory tree?
Are there any simple configuration tweaks available to make this work as intended?