dmacleo
Verified User
- Joined
- Jun 21, 2012
- Messages
- 631
I have a subdomain (called t for this) that I need to point to public_html for cdn implementation.
so I create a custom config under appropriate section but apache still won't look at correct directory unless I hand edit the http.conf for the user, and of course any ./build rewrite_confs overwrites this
however in the http conf for the domain itself it shows like this
why won't it point to public_html as needed?
edit: also I only need to do this to ONE sub-domain which is why I think editing the templates wasn't right.
so I create a custom config under appropriate section but apache still won't look at correct directory unless I hand edit the http.conf for the user, and of course any ./build rewrite_confs overwrites this
|*if SUB="t"|
|?DOCROOT=/home/convoice/domains/DOMAIN_NAME/public_html|
|*endif|
however in the http conf for the domain itself it shows like this
DocumentRoot /home/convoice/domains/DOMAIN_NAME/public_html/t
why won't it point to public_html as needed?
edit: also I only need to do this to ONE sub-domain which is why I think editing the templates wasn't right.
Last edited: