I need to have a subdomain with shop name, that point to web directory.
I use below code in this option: admin > Custom Httpd Configurations
But this is output code:
This is because in the sub host template file (/usr/local/directadmin/data/templates/virtual_host2_sub.conf) wrote this: DocumentRoot |DOCROOT|/|SUB|
I need to this correction output:
How can I resolve this problem?
I use below code in this option: admin > Custom Httpd Configurations
Code:
|*if SUB="shop"|
|?DOCROOT=`HOME`/domains/`DOMAIN`/public_html/web|
|*endif|
But this is output code:
Code:
DocumentRoot /home/example/domains/example.com/public_html/web/shop
This is because in the sub host template file (/usr/local/directadmin/data/templates/virtual_host2_sub.conf) wrote this: DocumentRoot |DOCROOT|/|SUB|
I need to this correction output:
Code:
DocumentRoot /home/example/domains/example.com/public_html/web
How can I resolve this problem?