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
Apache / How to use the domain associated to user account
« on: January 11, 2016, 10:13:32 PM »
Hello,
I'm here to ask you how i can use the domain specified during CWP account creation; in other words, if I create an account for my customer, i have to specify it's domain name, but when i try to upload the files, i'm not able to see it.
I also modified the Apache vHOST configuration:
# vhost_start mydomain.it
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerName mydomain.it
ServerAlias www.mydomain.it
ServerAdmin info@mydomain.it
DocumentRoot "/home/useraccount/public_html/mydomain.it"
ScriptAlias /cgi-bin/ "/home/useraccount/public_html/mydomain.it/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/useraccount/mydomain.it/*.conf
<IfModule mod_suexec.c>
SuexecUserGroup useraccount useraccount
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup useraccount useraccount
suPHP_ConfigPath /home/useraccount
</IfModule>
<Directory "/home/sinapps/public_html/mydomain.it">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end mydomain.it
Your help is really appreciated!..
Thanks,
Riccardo
I'm here to ask you how i can use the domain specified during CWP account creation; in other words, if I create an account for my customer, i have to specify it's domain name, but when i try to upload the files, i'm not able to see it.
I also modified the Apache vHOST configuration:
# vhost_start mydomain.it
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerName mydomain.it
ServerAlias www.mydomain.it
ServerAdmin info@mydomain.it
DocumentRoot "/home/useraccount/public_html/mydomain.it"
ScriptAlias /cgi-bin/ "/home/useraccount/public_html/mydomain.it/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/useraccount/mydomain.it/*.conf
<IfModule mod_suexec.c>
SuexecUserGroup useraccount useraccount
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup useraccount useraccount
suPHP_ConfigPath /home/useraccount
</IfModule>
<Directory "/home/sinapps/public_html/mydomain.it">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end mydomain.it
Your help is really appreciated!..
Thanks,
Riccardo
Pages: [1]