pages dont load after install

Started by pixelpadre, April 11, 2019, 10:50:49 PM

Previous topic - Next topic

pixelpadre

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.

Igor S.

Hi, try to rebuild VirtualHosts via CWPadmin: WebServers Settings => WebServers Main Conf => Rebuild all vhosts on save



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

pixelpadre

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.

pixelpadre

#3
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.

pixelpadre

OK.  cwp default php was 5.  I changed to 7 and now everything is good.