Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: darkness on October 10, 2017, 06:10:40 PM

Title: Fresh install of CWP7 and no user directory for Apache
Post by: darkness on October 10, 2017, 06:10:40 PM
I reinstalled the CentOS 7 and now I have full httpd.conf. I created 2 users - 1 for web hosting, 1 for online shop. I pointed the domains like I was doing in CWP6, did vhosts-ssl.conf, vhosts.conf, created SSL Certificates, ... All I was doing in CWP6 and there my pages was working. Now I see:
Code: [Select]
Are you the Administrator?
You should add your website content to the directory /var/www/html/.
To prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf.
Which points me to this that Apache is not working correctly. I have enabled LoadModule userdir_module modules/ in httpd.conf and all other necessary files for it, but /home/USER/public_html/ is not shown. It`s asking me to put the files in /var/www/html. Am I doing something wrong?
Please fast advice how to fix this.