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

Re: Bug 314808, /srv and webapps.



On Sun, Jun 26, 2005 at 11:43:19AM -0400, sean finney wrote:
> > The files are not put in the "document root". They're symlinked.  
> > Most Web apps are arch-independent, unless I've misunderstood you.
> 
> i think you have.  what i'm saying is instead of using
> /usr/share/wordpress as the location where you put your
> web-accessible files (and then alias in apache), you should use

I would like to avoid Apache aliases altogether with a Virtual Document
root.

> /usr/share/wordpress/www or something similar, so that if you
> ever have files/scripts/includes that don't need to be in the
> web accessible directory, you can do so easily.  it also makes
> it clear to the local admin what files are web-related.

For example what sort of files aren't required in the web accessible
directory?

> for exactly why steve mentioned.  from my reading of the FHS and debian
> policy, /srv is closer to /opt or /usr/local wrt how we should be
> handling it, which means we don't plop files in there.  there was some
> discussion of a tool to help manage copies of sites in /srv, but this

Don't really need a tool, just a convention.

I agree with you in the sense that Debian packages should not drop or
maintain stuff in /srv. 



Reply to: