I had been focusing on a website yesterday and had not set the DirectoryIndex for that public_html directory. On my small Home windows machine it might load index.php. However, on the Mac running Safari it had been loading index.js. I did not believe that anyone's browser impacts what Apache can serve as the DirectoryIndex file. Does anybody know why it was happening?

Thanks