Control Web Panel
WebPanel => Installation => Topic started by: pixelpadre on April 11, 2019, 10:50:49 PM
-
Im getting the index.html display from /usr/local/apache/htdocs directory. I cant figure out why its not working. One thing I did notice is the vhost.conf file is blank. On past versions there was an include line. Is the vhost.conf file supposed to be blank?
I cant even read a text file in any of my website directories. With url mydomain.com/test.txt all I get is the cwp test page. This isnt my first rodeo as the saying goes. I have been using cwp for a few years now and have installed many times.
-
Hi, try to rebuild VirtualHosts via CWPadmin: WebServers Settings => WebServers Main Conf => Rebuild all vhosts on save
-
Hi Igor. That worked. Except one website gives me a "you do not have permission to access this server" error. I checked modsec and csf but I was not blocked. fixed user permissions didnt work either.
Im stumped. Vhost has allowoveride all.
-
The site with problems does use rewrites. I think the problem is with rewrite in the vhost file. What do you think? If I delete the htaccess file, I am able to read text files in the directory. With the htaccess file, I cannot.
-
OK. cwp default php was 5. I changed to 7 and now everything is good.