Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: ring_c on November 21, 2019, 10:16:20 AM

Title: Default page changed to index.html on all sites!
Post by: ring_c on November 21, 2019, 10:16:20 AM
CWP falks, I assume you've made some kind of update that caused all my wordpres' hosted sites to show CWP's default index.html instead of using index.php to load wordpress.


I've fixed it by moving index.php before index.html in httpd.conf.


I don't really know how it was configured before, but I guess you've changed the httpd.conf with a wrong order of index pages.
BUT! I can I make sure this won't happen again in the future? Please advise what was the change you've made to the panel.


By the way, I didn't access the panel for at least a week, so it's not something I did.
I wonder if others had the same issue...
Title: Re: Default page changed to index.html on all sites!
Post by: arabgenius on November 21, 2019, 08:29:52 PM
same to me
today almost all accounts site got changed to default cwp index.html
Title: Re: Default page changed to index.html on all sites!
Post by: vbpal on November 22, 2019, 04:09:53 AM
I experienced this issue this afternoon with a select number of domains on 1 account. I don't see the issue on other accounts. Has anyone identified a root cause?
Title: Re: Default page changed to index.html on all sites!
Post by: augold on November 22, 2019, 04:29:52 AM
Same here ... interesting thing is that a partner is seeing different results accessing websites from a different location .... thank you for providing the workaround fix in the httpd.conf file ... that helped, but I am very concerned about unintended consequences.

Thanks again ... state of chaos here
Title: Re: Default page changed to index.html on all sites!
Post by: randyproxz on November 22, 2019, 05:01:01 AM
Fixed by add this line on top of your .htaccess :

Code: [Select]
DirectoryIndex index.php
Title: Re: Default page changed to index.html on all sites!
Post by: ring_c on November 22, 2019, 09:36:23 AM
Fixed by add this line on top of your .htaccess :

Code: [Select]
DirectoryIndex index.php
Thanks. I had to go over 30 sites now to change this.
But the weird thing is that not all sites had this line in their htaccess, and yet some were working properly.


Any why on earth do we get this error second day in a row?!
Title: Re: Default page changed to index.html on all sites!
Post by: bablil on November 22, 2019, 12:22:54 PM
The same problem occurred with me and this causes us embarrassment ??
Title: Re: Default page changed to index.html on all sites!
Post by: cwp_user2018 on November 22, 2019, 02:06:53 PM
You can modify DirectoryIndex direct in httpd.conf file. it will be working per all sites in apache
Title: Re: Default page changed to index.html on all sites!
Post by: rdoto on November 22, 2019, 02:29:17 PM
Had this happened to me today, I was able to fix it on all sites by rebuilding nginx+apache.
Title: Re: Default page changed to index.html on all sites!
Post by: ventoh on November 22, 2019, 03:43:15 PM
Same problem here. Solved thanks to this post.
Thank you very much.
Title: Re: Default page changed to index.html on all sites!
Post by: augold on November 22, 2019, 09:35:26 PM
I have made the changes to the httpd.conf file ... but now what is to stop and update like we took on 22Nov and blowing these DirectoryIndex changes away..?..

I am looking in the /usr/local/apache/conf/extra directory ... maybe it makes more sense to try an overide in one of the override files there? but then again references to these files have to be pounded in on the httpd.conf file.

Back to square one....
Title: Re: Default page changed to index.html on all sites!
Post by: Darkroom on November 25, 2019, 04:36:01 AM
I had the same problem and resolution. Not too happy about it, esp after the surprise Nginx disabling.
Title: Re: Default page changed to index.html on all sites!
Post by: ring_c on November 25, 2019, 07:58:17 AM
Why don't we get answers from CWP's owners?
Title: Re: Default page changed to index.html on all sites!
Post by: ring_c on December 16, 2019, 12:17:46 PM
I must say I'm very frustrated from the "no answers" mod of CWP's developers!
Title: Re: Default page changed to index.html on all sites!
Post by: imRelease on December 16, 2019, 12:58:29 PM
I must say I'm very frustrated from the "no answers" mod of CWP's developers!

what is your issue - i can help you out, buddy
Title: Re: Default page changed to index.html on all sites!
Post by: ring_c on December 16, 2019, 01:54:28 PM
what is your issue - i can help you out, buddy
Read the thread...
Title: Re: Default page changed to index.html on all sites!
Post by: Igor S. on December 19, 2019, 08:14:09 AM
Hi, @ring_c
Try to update CWP. This bug was fixed long time ago.
Title: Re: Default page changed to index.html on all sites!
Post by: ring_c on December 23, 2019, 07:30:22 AM
Hi, @ring_c
Try to update CWP. This bug was fixed long time ago.
CWP is being updated automatically.
Anyway, I've fixed it manually, but I wanted to know this was root fixed and won't happen again for new sites which might not have the manual fix applied.