<br><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 4:14 PM, Jonas Smedegaard <span dir="ltr">&lt;<a href="mailto:dr@jones.dk">dr@jones.dk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Fri, Nov 12, 2010 at 02:07:50AM +0100, Arthur Lutz wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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 <a href="http://localhost/package/" target="_blank">http://localhost/package/</a> (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.<br>

</blockquote>
<br></div>
This is documented in Debian Policy §11.5:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
4.   Web Document Root<br>
        Web Applications should try to avoid storing files in the Web<br>
    Document Root.  Instead they should use the<br>
    /usr/share/doc/&lt;package&gt; directory for documents and register the<br>
    Web Application via the `doc-base&#39; package.  If access to the web<br>
    document root is unavoidable then use<br>
         /var/www<br>
    as the Document Root.  This might be just a symbolic link to the<br>
    location where the system administrator has put the real document<br>
    root.<br>
</blockquote>
</blockquote><div><br>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&#39;t looked in detail yet).<br>
<br>Arthur<br></div></div>