[opensuse-packaging] is use of /srv/www in packages good practice?
Hi, While moving my files to a new workstation I stumbled across /srv/www. The directory contains a mix of self written stuff and distro packages. So I needed to take care to only copy my own files. I'd assume that someone who actually uses /srv/www in production and cared about the content would have a similar problem when creating backups. The apache packages allows other packages to simply drop a config file into /etc/apache2/conf.d and install e.g. a custom directory alias this way. So files that need to be accessible via http://somehost/foo do not actually need to be stored at /srv/www/htdocs/foo but can reside in e.g. /usr/share/foo. So I wonder what's best practice for packages. Dump stuff into /srv/www or use aliases in the web server config? FHS is quite unspecific wrt use of /srv [1]. cu Ludwig [1] http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYS... -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (1)
-
Ludwig Nussel