[NBLUG/talk] FHS and webapps

Kendall Shaw kshaw at kendallshaw.com
Sun Nov 17 19:31:18 PST 2013


The filesystem hierarchy standard seems to say that files for a website 
should be placed in /srv. Serving images for PXE from /srv seems to make 
sense to me.
But... HTTP serves resources which are not files any more than an 
executable is a file. And there isn't only one network program on a 
computer serving HTTP, usually.

So, of course, you can put webapps whereever you want. But, for the sake 
of knowing where a distribution or a vendor should not put files, where 
do you think a locally developed webapp's component files should be located?

I think it would not be these places:

The dump:
/usr/local

Distro files:
/usr

Vendor files:
/opt

Files for file transfer protocols:
/srv

Transient files:
/var

Kendall

-- 
Dead peer detection detects dead peer.



More information about the talk mailing list