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

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

On Sat, Oct 31 2009, Holger Levsen wrote:

> Hi,
> On Mittwoch, 30. September 2009, Steve McIntyre wrote:
>> I'm still unconvinced by /srv personally - we've strived for years in
>> Debian to make things work as much as possible straight from initial
>> installation, yet now we're expected to deliberately leave services
>> unconfigured. I don't think this is progress for most of our users...
> +1 from yet. Yet I still don't know how to configure munin, so that it works 
> out of the box (and so that the webpages it generates are served by a 
> webserver) and conforms to FHS like some people read it.
> /var/lib/munin/www is wrong (FHS says: "Users must never need to modify files 
> in /var/lib to configure a package's operation." since users might want to 
> modify the css files)

        As I mentioned on IRC, look at trac. The trick is put
 configuration files in /etc/munin/, and symlink it back into
 /var/lib/munin if  munin needs that.

> /var/cache/munin/www feels very wrong, but might work, with static
> files like css files coming from /etc/munin/www or such.

        Static non configuration files can live in /usr/{share,lib}/munin, 
 and  be also linked into /var/lib/munin.

        This is not a new solution, I think trac and mediawiki have
 solved this, I think.

Many hands make light work. John Heywood
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/~srivasta/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Reply to: