According to a guide on the Linux directory structure,
/usr/ is for application files, and
/var/ is for files that change (I assume this means "files that belong to the applications"). Is this correct?
If this is the case then I'm a little torn between using either. A website is an application (if it's dynamic, so to speak), but in other cases it is just a collection of files used by Apache.
The default www dir lives in
/var/www/, so should we follow suit by using
/var/websites/ (or something similar), or choose
/usr/websites/ since they could be applications?
This is a very trivial question, but it's bugging me nonetheless. For our case, I'm leaning toward
/usr/web or something like that, since our websites are all applications.
This is for our company websites; it's not a shared hosting server, so we don't need to worry about separating them in
/home/ or anything like that.