/srv is defined by the Linux Filesystem Hierarchy Standard as the place where "site-specific data which are served by the system"belongs.
But the One And Only True Standard is /var/www ... and /home/apache, and /usr/local/apache2, and /Library/WebServer/Documents, and /usr/local/httpd, and /var/apache, and who knows how many other ad-hoc locations that were used before the Filesystem Hierarchy Standard was hammered out. I've never heard the Filesystem Hierarchy Standard described as nonstandard before. On Sat, Apr 18, 2015 at 6:22 AM, Edward Ned Harvey (blu) <b...@nedharvey.com> wrote: > > From: John Abreau [mailto:abre...@gmail.com] > > Sent: Friday, April 17, 2015 9:09 PM > > > > Perhaps slightly off-topic, but I like to use /srv instead of /var for my > > websites. I create a directory /srv/www, give it a very small lvm > volume, then > > create a separate lvm volume for each website under /srv/www. > > > > That way, If one of the websites goes nuts and tries to fill up the > disk, it won't > > stomp on the other websites or the rest of the server. > > There's already more than enough stuff under /var competing for space. > > Of course you could do the same thing, where /var/www/www.foobar.com is > itself a mountpoint. But by using a nonstandard location such as /srv, > you're breaking the default selinux and apparmor rules - so you'll have to > manually configure those rules - > > PS. Never expose a web server to the internet without selinux and/or > apparmor. And various other security measures. > -- John Abreau / Executive Director, Boston Linux & Unix Email: abre...@gmail.com / WWW http://www.abreau.net / PGP-Key-ID 0x920063C6 PGP-Key-Fingerprint A5AD 6BE1 FEFE 8E4F 5C23 C2D0 E885 E17C 9200 63C6 _______________________________________________ Discuss mailing list Discuss@blu.org http://lists.blu.org/mailman/listinfo/discuss