I almost have this working but for one small thing: The external subdomain points to its root folder at Linode just fine, so If I type
http://subdomain.domain.com , it happily goes to to root. However, any directory/file below that will not work unless I include the root directory into url path again:
subdomain.domain.com-> DocumentRoot is /var/www/topdirectory. Inside I have a directory and a file: /var/www/topdirectory/somedirectory/index.html
if I visit
http://subdomain.domain.com, the root at /var/www/topdirectory loads fine.
if I go to
http://subdomain.domain.com/somedirectory/index.html I get an error (URL not found)
if I go to
http://subdomain.domain.com/topdirectory/somedirectory/index.html I get no error, but the root path should not be there.
I know this is gonna be a Rewrite module thing but I cannot figure out what. I am guessing I need to write a rewrite rules on the apache file OR make an .htaccess file for that directory.
Any chance you your may have a a hint as of what I need to do?