[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /var/www is depracated, which directory to use?



"mlists@stacktrace.us" <mlists@stacktrace.us> writes:

> I personally prefer to keep files served by a webserver in /var/www/

Local sysadmins can of course use that path, but Debian packages aren't
allowed to according to the way most of us have read the FHS.

Debian web application packages should really put their static files in
/usr/share/<package> and their data files in /var/lib/<package> just like
every other package does, and then use the web configuration to serve out
the correct parts of the file system.  That way there's never any
accidental, unexpected results from dropping files into an area that a
sysadmin may think they can use for some other purpose.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: