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

WWW filesystem layout

/var is not for stuff that the sysadmin and users are intended to
edit; it's intended for programs to store their data.

Information that is created by users is usually put in their home
directories, and since the Web server has a username it should use a
directory in /home by default, just like the anon-ftp area.

WRT CGI scripts, &c, if a server can read several directories then it
should be configured to read one in /usr/lib somewhere where the ones
that come with the server are installed, and one in the webtree.

The only thing I can think of that /var should be used for is for a
caching server, which should keep its cache in /var, perhaps in
/var/cache/acme-httpd or whatever.


Reply to: