I have subdomain we'll call yadda.domain.com
I've installed a Web app within that domain that has it's own directory tree
I need to be able to set the public directory above as the DocumentRoot for the yadda subdomain. I've attempted using the httpd.conf configuration page of DA to set the DocumentRoot, but the resulting path saved to DocumentRoot is always mangled in a way that it's unusable.
Example, inserting the following into the VirtualHost area...
Results in errors...
The script for modifying the DocumentRoot seems to be appending or inserting data to my request that results in an illegitimate path structure.
How do I get around this?
I've installed a Web app within that domain that has it's own directory tree
Code:
/home/user/domains/domain.com/yadda/
/home/user/domains/domain.com/public_html/yadda/[B]assets[/B]/
/home/user/domains/domain.com/public_html/yadda/[B]bin[/B]/
/home/user/domains/domain.com/public_html/yadda/[B]public[/B]/
I need to be able to set the public directory above as the DocumentRoot for the yadda subdomain. I've attempted using the httpd.conf configuration page of DA to set the DocumentRoot, but the resulting path saved to DocumentRoot is always mangled in a way that it's unusable.
Example, inserting the following into the VirtualHost area...
Code:
|*if SUB="time"|
|?DOCROOT=/home/user/domains/domain.com/public_html/yadda/public|
|*endif|
Results in errors...
AH00112: Warning: DocumentRoot [/home/user/domains/domain.com/public_html/yadda/public/yadda] does not exist
AH00112: Warning: DocumentRoot [/home/user/domains/domain.com/public_html/yadda/public/yadda] does not exist
The script for modifying the DocumentRoot seems to be appending or inserting data to my request that results in an illegitimate path structure.
How do I get around this?