I've been told I need to add an entry to the open_basedir in my httpd.include file to be able to access my main domain from a subdomain. I'm trying to use default PHP pages in my subdomains that are located in the main directory.
In other words, I want to be able to use an include() in: john.domain.com that will pull files from: domain.com/affiliate_pages
I tried looking in the httpd.include file, but it's really confusing me. After an hour of researching, I found the vi command to edit files through SSH, but even that is confusing. Where should I put an entry into john.domain.com that will allow access to the main domain's files?