[Freedombox-discuss] autonomous web services
Jonas Smedegaard
dr at jones.dk
Sun Mar 6 18:16:13 UTC 2011
On Fri, Nov 12, 2010 at 07:52:38PM +0100, Arthur Lutz wrote:
>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).
Uhm, are you asking how to make a Debian package or something more
specific?
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20110306/f944191a/attachment.pgp>
More information about the Freedombox-discuss
mailing list