[Pkg-javascript-devel] Debian javascript URLs

T.C. Hollingsworth tchollingsworth at gmail.com
Fri Aug 16 00:34:17 UTC 2013


On Thu, Aug 15, 2013 at 1:58 PM, Jonas Smedegaard <dr at jones.dk> wrote:
> I personally don't care much, but I believe Debian will only add a root
> directory (or symlink) if that gets included in FHS (File Herarchy
> Standard).

We are most certainly not adding a root directory for this; that would be
absurd!  ;-)

This directory lives in /usr/share, which FHS says "is for all
read-only architecture independent data files".

Note that there are already a few "standard" directories that live
here that aren't in that particular Standard, like /usr/share/fonts.

> With html document /var/www/index.html containing this:
>
> <script src="/sysjs/jquery.js"></script>
>
> This command will fail to load JQuery: mozilla /var/www/index.html
>
> same command (or replacing with iceweasel on Debian) will succeed if
> instead using /usr/share/javascript inside the html and registered in
> Apache.

I have lots of files in /var/www/html that point to places like
"/css/style.css" and so on that don't exist in the filesystem.  It's a
completely different namespace, for good reason.

-T.C.



More information about the Pkg-javascript-devel mailing list