Apache JavaScript Directory Inaccessible

Shortly after setting up a fresh installation of Apache, I uploaded a website, only to find that none of the JavaScript was loading. It turns out that Apache helpfully provides you with a common JavaScript directory but if you’re not using it you may need to turn it off.