On Tue, Jun 21, 2005 at 05:37:27PM +1000, Ben Finney wrote: > On 21-Jun-2005, Brendan O'Dea wrote: > > On Tue, Jun 21, 2005 at 02:59:26PM +1000, Ben Finney wrote: > > >Yet some kind of connection needs to be established so that there's > > >a clear default location for how PACKAGE should tell whatever > > >webserver is on the system that there's a new bunch of files to be > > >published. > > > > Given that the layout of /srv is intended to be site-specific, I'm > > rather dubious about packages placing anything, including symlinks > > there. > > So there's a FHS-specified standard location for service-published > content that we can't use for Debian packages?
Obviously yes, when the FHS mandate that the location is a local policy issue. The canonical example is /home, no Debian packages is supposed to install files there. /srv is similar for server content. > > >Having answered the question of "how does Apache know", I hoped to > > >get closer to answering "how should packages tell $HTTPD". > > > > Take a look at the apache2-doc package which installs a config > > fragment as /etc/apache2/conf.d/apache2-doc referring to the > > documentation under /usr/share/doc/apache2-doc/manual. > > That works for Apache (of certain versions). We should be trying to > formulate something that can work for *any* HTTPD. While conforming to > the FHS, if possible. You can use the Debian menu system for that purpose. You register webapps with a needs="web" and write menu-methods that generate httpd config files from then. Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]