Hello,
I tried to read docs about such config but haven't found any. So I post it to this forum.
Has anyone tried to do the following:
<VirtualHost x.x.x.:80>
ServerName www.domain.com
DocumentRoot /home/user/domains/domain.com/public_html/www
[..]
</VirtualHost>
<VirtualHost x.x.x.x:80>
ServerName www.sub.domain.com
DocumentRoot /home/user/domains/domain.com/public_html/subwww
[..]
</VirtualHost>
When I put DOCROOT=/home/user/domains/domain.com/public_html/www
to domain.com.custom_httpd it inserts:
DocumentRoot /home/user/domains/domain.com/public_html/www - o.k. for the first virtualhost and
DocumentRoot /home/user/domains/domain.com/public_html/www/subdomain
Any idea how to make it working like I want ?
I tried to read docs about such config but haven't found any. So I post it to this forum.
Has anyone tried to do the following:
<VirtualHost x.x.x.:80>
ServerName www.domain.com
DocumentRoot /home/user/domains/domain.com/public_html/www
[..]
</VirtualHost>
<VirtualHost x.x.x.x:80>
ServerName www.sub.domain.com
DocumentRoot /home/user/domains/domain.com/public_html/subwww
[..]
</VirtualHost>
When I put DOCROOT=/home/user/domains/domain.com/public_html/www
to domain.com.custom_httpd it inserts:
DocumentRoot /home/user/domains/domain.com/public_html/www - o.k. for the first virtualhost and
DocumentRoot /home/user/domains/domain.com/public_html/www/subdomain
Any idea how to make it working like I want ?