Forum Moderators: coopster
I have few files under "config" directory in my main domain. Now when i access those files using $DOCUMENT ROOT from a subdomain.. it gives error..
Files which are in "config" directory are using $DOCUMENT_ROOT to include few files..
when i access.. say /home/domain/config/config.php in my forum.domain.com it gives error because config.php is using $DOCUEMNT_ROOT to include few files..
Can anyone tell me how can i define my document root in a subdomain?
Regards
tabish
if there are different files included for each sub domain then you may want to look at having individual config files
you could also try echo'ing the doc root so you can see in each subdomain where it is looking for the files and find something that will work for all