Author Topic: Fresh install of CWP7 and no user directory for Apache  (Read 5387 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Fresh install of CWP7 and no user directory for Apache
« 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/mod_userdir.so 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.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...