[Freedombox-discuss] autonomous web services

Arthur Lutz arthur.lutz at gmail.com
Fri Nov 12 18:52:38 UTC 2010


On Fri, Nov 12, 2010 at 4:14 PM, Jonas Smedegaard <dr at jones.dk> wrote:

> On Fri, Nov 12, 2010 at 02:07:50AM +0100, Arthur Lutz wrote:
>
>> I have a question about php packaging : should packages have a default
>> install procedure in them to get at the end of the installation a
>> http://localhost/package/ (for example ampache or scuttle do this). As
>> far as the FreedomBox is concerned I think this would be handy but am not
>> sure if it is recommended or frowned about by debian.
>>
>
> This is documented in Debian Policy §11.5:
>
>  4.   Web Document Root
>>        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.  If access to the web
>>    document root is unavoidable then use
>>         /var/www
>>    as the Document Root.  This might be just a symbolic link to the
>>    location where the system administrator has put the real document
>>    root.
>>
>
Sure. But the two examples I give do respect this, but they initialise a
database and make links in /etc/apache2/conf.d/ (and probably more steps
than that - I haven't looked in detail yet).

Arthur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20101112/2c9d3142/attachment.htm>


More information about the Freedombox-discuss mailing list