John Watson

Hello! My name is Watson and I’m a freelance web developer. I create web sites using the latest tech for clients of all sizes. Contact me and I’ll help you build your dream project.

Fix for /javascript files not found in Apache

Running an Apache server on Debian? Suddenly find you can’t access any files in /javascript? As part of a maintenance upgrade, somehow the javascript-common package was selected for me. It quietly installs a symlink javascript-common.conf in /etc/apache2/conf.d that globally aliases all /javascript URLs to /usr/share/javascript. Why? Who knows. I’m sure whoever did it meant well. The fix is to either remove javascript-common or just delete the conf.d symlink and restart Apache.