I do not know if I am in the correct section but I hope so.
I have problems with the SubDomain is not loaded.
And its load from the basic folder "/usr/local/apache/htdocs"
How can i fix it for loard from "/home/root/download"?
Screen:
# vhost_start http://domain.net/
<VirtualHost 127.0.0.1:80>
ServerName domain.net
ServerAlias www.domain.net
ServerAdmin support@domain.net
DocumentRoot "/home/rootwebsite"
ScriptAlias /cgi-bin/ /home/rootwebsite/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/root/http://domain.net//*.conf
<IfModule mod_suexec.c>
SuexecUserGroup Gothic Gothic
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup Gothic Gothic
</IfModule>
<Directory "/home/rootwebsite">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end http://domain.net/
SubDomain:
# vhost_start download.domain.net.
<VirtualHost 127.0.0.1:80>
ServerName download.domain.net.
ServerAlias www.download.domain.net.
ServerAdmin support@domain.net
DocumentRoot "/home/root/download"
ScriptAlias /cgi-bin/ /home/root/download/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/root/download.domain.net./*.conf
<IfModule mod_suexec.c>
SuexecUserGroup root root
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup root root
</IfModule>
<Directory "/home/root/download">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end download.domain.net.