Control Web Panel

WebPanel => Installation => Topic started by: pixelpadre on April 11, 2019, 10:50:49 PM

Title: pages dont load after install
Post 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.
Title: Re: pages dont load after install
Post by: Igor S. on April 12, 2019, 10:56:13 AM
Hi, try to rebuild VirtualHosts via CWPadmin: WebServers Settings => WebServers Main Conf => Rebuild all vhosts on save
Title: Re: pages dont load after install
Post by: pixelpadre on April 12, 2019, 07:41:37 PM
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.
Title: Re: pages dont load after install
Post by: pixelpadre on April 12, 2019, 09:38:44 PM
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.
Title: Re: pages dont load after install SOLVED
Post by: pixelpadre on April 12, 2019, 10:50:25 PM
OK.  cwp default php was 5.  I changed to 7 and now everything is good.