On Fri, Nov 12, 2010 at 07:52:38PM +0100, Arthur Lutz wrote:
On Fri, Nov 12, 2010 at 4:14 PM, Jonas Smedegaard <[email protected]> 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
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).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.
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
signature.asc
Description: Digital signature
_______________________________________________ Freedombox-discuss mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss
