This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS-WebPanel GUI / new vHost domain does not redirect - only showing DocumentRoot
« on: July 20, 2016, 01:09:34 PM »
I've created a new user with a domain, but instead of the vHost working it just shows the document root. My vHost.conf is below
Code: [Select]
# vhost_start
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerName {domain}
ServerAlias www.{domain}
ServerAdmin {admin}
DocumentRoot "/home/{user}/public_html"
ScriptAlias /cgi-bin/ "/home/{user}/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/{user}/{domain}/*.conf
<IfModule mod_suexec.c>
SuexecUserGroup {user} {user}
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup {user} {user}
suPHP_ConfigPath /home/{user}
</IfModule>
<Directory "/home/{user}/public_html">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end
Pages: [1]