I have a strange problem with a website in PHP but it will happen only in Chrome and Safari when I access the base URL of the website.
Example 1: When I write on Chrome the address of the site www.generaledil2000.it I got a white page and in console log I got Failed to load resource but if I write the full address to the index page www.generaledil2000.it/index.php the website is displayed fine and all is okay.
Example 2: In safari at the address www.generaledil2000.it I got this error cfurlerrordomain:303 and at the address www.generaledil2000.it/index.php no error.
In IE and Firefox all is working fine.
What’s the problem? It’s a hosting problem? I don’t have any other file index than index.php in root folder.
UPDATE: Maybe it’s a JavaScript error but I don’t know how to fix it.
PS: On localhost with easyphp5.3.9 work without any error
I have solved the problem by using an
.htaccessfile with this content: