Re: Bug#314808: Incorrect directory for web applications.

2005-06-21 Thread Bill Allombert
On Wed, Jun 22, 2005 at 09:35:26AM +1000, Ben Finney wrote: > On 21-Jun-2005, Bill Allombert wrote: > > > > 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. > > If you mean the

Re: Bug#314808: Incorrect directory for web applications.

2005-06-21 Thread Ben Finney
On 21-Jun-2005, Bill Allombert wrote: > On Tue, Jun 21, 2005 at 05:37:27PM +1000, Ben Finney wrote: > > On 21-Jun-2005, Brendan O'Dea wrote: > > > Take a look at the apache2-doc package which installs a config > > > fragment as /etc/apache2/conf.d/apache2-doc referring to the > > > documentation un

Bug#314808: Incorrect directory for web applications.

2005-06-21 Thread Manoj Srivastava
On Mon, 20 Jun 2005 20:52:52 -0700, Steve Langasek <[EMAIL PROTECTED]> said: > On Mon, Jun 20, 2005 at 09:06:11PM -0500, Manoj Srivastava wrote: >> On Mon, 20 Jun 2005 19:58:40 -0500, Manoj Srivastava >> <[EMAIL PROTECTED] (va, manoj)> said: >> > On Sat, 18 Jun 2005 18:55:33 +0200, Miguel Gea Mi

Re: Bug#314808: Incorrect directory for web applications.

2005-06-21 Thread Bill Allombert
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 whate

Re: Bug#314808: Incorrect directory for web applications.

2005-06-21 Thread Ben Finney
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

Re: Bug#314808: Incorrect directory for web applications.

2005-06-21 Thread Brendan O'Dea
On Tue, Jun 21, 2005 at 02:59:26PM +1000, Ben Finney wrote: >On 20-Jun-2005, Steve Langasek wrote: >> On Tue, Jun 21, 2005 at 02:12:56PM +1000, Ben Finney wrote: >> > - service-published content goes somewhere under /srv/ >> > - /srv/ is site-defined >> > - thus shouldn't be clobbered by th

Re: Bug#314808: Incorrect directory for web applications.

2005-06-20 Thread Ben Finney
On 20-Jun-2005, Steve Langasek wrote: > On Tue, Jun 21, 2005 at 02:12:56PM +1000, Ben Finney wrote: > > - service-published content goes somewhere under /srv/ > > - /srv/ is site-defined > > - thus shouldn't be clobbered by the package manager > > > That last one's a bit of a blocker, isn'

Re: Bug#314808: Incorrect directory for web applications.

2005-06-20 Thread Steve Langasek
On Tue, Jun 21, 2005 at 02:12:56PM +1000, Ben Finney wrote: > So we have: > - static content goes somewhere under /usr/ > - static, platform-independent content goes somewhere under > /usr/share/ > - static, platform-independent content for PACKAGE goes under > /usr/share/PACKAGE/

Re: Bug#314808: Incorrect directory for web applications.

2005-06-20 Thread Ben Finney
On 20-Jun-2005, Steve Langasek wrote: > > On Mon, 20 Jun 2005 19:58:40 -0500, Manoj Srivastava <[EMAIL PROTECTED] > > (va, manoj)> said: > > > /src/webapps/PACKAGE, perhaps? > > Arrgh. /srv/webapps/PACKAGE, I meant. > > AFAICT, the FHS specifies that the structure of /srv is > si

Re: Bug#314808: Incorrect directory for web applications.

2005-06-20 Thread Steve Langasek
On Mon, Jun 20, 2005 at 09:06:11PM -0500, Manoj Srivastava wrote: > On Mon, 20 Jun 2005 19:58:40 -0500, Manoj Srivastava <[EMAIL PROTECTED] (va, > manoj)> said: > > On Sat, 18 Jun 2005 18:55:33 +0200, Miguel Gea Milvaques > > <[EMAIL PROTECTED]> said: > >> Hi, On policy 11.5.4 says: "Web Applica

Bug#314808: Incorrect directory for web applications.

2005-06-20 Thread Manoj Srivastava
On Mon, 20 Jun 2005 19:58:40 -0500, Manoj Srivastava <[EMAIL PROTECTED] (va, manoj)> said: > On Sat, 18 Jun 2005 18:55:33 +0200, Miguel Gea Milvaques > <[EMAIL PROTECTED]> said: >> Hi, On policy 11.5.4 says: "Web Applications should try to avoid >> storing files in the Web Document Root. Instead

Bug#314808: Incorrect directory for web applications.

2005-06-20 Thread Manoj Srivastava
On Sat, 18 Jun 2005 18:55:33 +0200, Miguel Gea Milvaques <[EMAIL PROTECTED]> said: > Hi, On policy 11.5.4 says: "Web Applications should try to avoid > storing files in the Web Document Root. Instead they should use the > /usr/share/doc/package directory for documents and register the Web > Appl

Bug#314808: Incorrect directory for web applications.

2005-06-20 Thread Gunnar Wolf
Chris Waters dijo [Mon, Jun 20, 2005 at 05:55:56AM -0700]: > > > No problem for me. But It could give little problems. On one of my > > > machines a was beholden to remove /usr/share/doc directory, it broke my > > > ldap-account-manager installation. > > > > Note: /usr/share/PACKAGE/www, not /usr/

Bug#314808: Incorrect directory for web applications.

2005-06-20 Thread Julian Gilbey
On Mon, Jun 20, 2005 at 05:55:56AM -0700, Chris Waters wrote: > > Note: /usr/share/PACKAGE/www, not /usr/share/doc/PACKAGE/www. > > Removing /usr/share/doc should not impact this web suggestion. > > And what happens if my WebApp package is named "doc"? Or "applnk"? Or > "keymaps" or "locale" or

Bug#314808: Incorrect directory for web applications.

2005-06-20 Thread Chris Waters
On Mon, Jun 20, 2005 at 12:39:12AM +0100, Julian Gilbey wrote: > On Mon, Jun 20, 2005 at 12:03:01AM +0200, Miguel Gea Milvaques wrote: > > > Also, as this is a draft, the useage of "/usr/share/PACKAGE/www" may > > > change. IMO, it's probably not going to, but it may be worth keeping > > > (main)

Bug#314808: Incorrect directory for web applications.

2005-06-19 Thread Julian Gilbey
On Mon, Jun 20, 2005 at 12:03:01AM +0200, Miguel Gea Milvaques wrote: > > Also, as this is a draft, the useage of "/usr/share/PACKAGE/www" may > > change. IMO, it's probably not going to, but it may be worth keeping > > (main) policy as is until we are in a position to release 1.0 of the > > WebAp

Bug#314808: Incorrect directory for web applications.

2005-06-19 Thread Miguel Gea Milvaques
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil McGovern wrote: > On Sat, Jun 18, 2005 at 06:55:33PM +0200, Miguel Gea Milvaques wrote: > >>On policy 11.5.4 says: >>"Web Applications should try to avoid storing files in the Web Document >>Root. Instead they should use the /usr/share/doc/packag

Bug#314808: Incorrect directory for web applications.

2005-06-19 Thread Neil McGovern
On Sat, Jun 18, 2005 at 06:55:33PM +0200, Miguel Gea Milvaques wrote: > On policy 11.5.4 says: > "Web Applications should try to avoid storing files in the Web Document > Root. Instead they should use the /usr/share/doc/package directory for > documents and register the Web Application via the doc

Bug#314808: Incorrect directory for web applications.

2005-06-18 Thread Miguel Gea Milvaques
Package: debian-policy Version: 3.6.2.1 Severity: normal Hi, On policy 11.5.4 says: "Web Applications should try to avoid storing files in the Web Document Root. Instead they should use the /usr/share/doc/package directory for documents and register the Web Application via the doc-base package."