I use directadmin.
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
|*if SUB="shop"|
|?DOCROOT=`HOME`/domains/`DOMAIN`/public_html/web|
|*endif|
But this is output 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:
DocumentRoot /home/example/domains/example.com/public_html/web
How can I resolve this problem?