adam987123

Member
May 7, 2015
6
0
1
United Kingdom
cPanel Access Level
Root Administrator
Hello

I have a serious problem with my server and I cannot work out what the cause is.

I made some changes to my my.cnf and the restarted MySQL. After that all of my php files redirect to the domain. I have undone my changes and restarted the server and still have the problem.

I have tried deleting all files from my public_html and tested with a blank php file and this just redirects to the root. If I have index as a php file it give me a redirect loop.

All other files work (such as if it just change the extension of the index.php to index.html)

I also made changes to tweak settings but have reverted all of them back to default.

I cannot work out what is going on. Has anyone else had this problem?

Any advice will be much appreciated.

Thank you in advance
Adam
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
158
168
New Jersey
cPanel Access Level
DataCenter Provider
Having a hard time understanding exactly what you mean. When you say the blank php file redirected to the root, what was it displaying? Do you have a .htaccess file somewhere, even in the home directory before public_html
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
158
168
New Jersey
cPanel Access Level
DataCenter Provider
You might as well share what you did to fix it, just in case someone else happens to come by this :)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
I have managed to fix this. It was a small setting I missed in cpanel. Sorry.
Hello :)

I am happy to see you were able to address the issue. Would you mind sharing the solution?

Thank you.