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

Bug#314808: Incorrect directory for web applications.



On Mon, 20 Jun 2005 19:58:40 -0500, Manoj Srivastava <srivasta@debian.org (va, manoj)> said: 

> On Sat, 18 Jun 2005 18:55:33 +0200, Miguel Gea Milvaques
> <debian@miguelgea.com> 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
>> Application via the doc-base package."

>> and in policy 12.3 says: "Packages must not require the existence
>> of any files in /usr/share/doc/ in order to function."

>> This points that all web applications that uses
>> /usr/share/doc/package directory are breaking policy 12.3, so I
>> think policy 11.5.4 must recommend other different directory.

>         I agree with this assessment.

>> Recent works on webapps-common alioth project recommends to use the
>> directory /usr/share/PACKAGE/www.

>         As others have suggested in this thread, since this is web
>  application data meant to be served by this host, it makes sense to
>  have a per-package sub director somewhere under /srv.

>         /src/webapps/PACKAGE, perhaps?  Or is the draft Web


        Arrgh. /srv/webapps/PACKAGE, I meant.

>  applications policy the correct place to specify the actual path,
>  and just let 11.5.4 say a subdirectory under /srv, and defer to the
>  web applications policy for details?

        manoj

-- 
Might as well be frank, monsieur. It would take a miracle to get you
out of Casablanca.
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: