[Spip-maintainers] Bug#612467: spip: Incomplete install documentation
David Prévot
david at tilapin.org
Tue Dec 6 14:04:41 UTC 2011
Hi,
Le 06/12/2011 06:10, Olivier Berger a écrit :
> On Tue, Feb 08, 2011 at 05:31:28PM +0100, Romain DOUMENC wrote:
>>
>> After a fresh installation via apt-get, the documentation (as given by the file
>> README.Debian) is rather not sufficient for me (and I assume I am not alone in
>> this case...).
>
> I do agree the instructions are a bit too scarce, even though that's not uncommon WRT Debian web apps packaging.
>
>> Would it be possible to change this file for something like :
>>
>> 1. Copy /etc/spip/apache.conf to /etc/apache2/sites-available/spip
It's actually /usr/share/doc/spip/apache2.conf that should be copied to
/etc/apache2/sites-available/http-host (http-host to follow the actual
logic in the current README file).
>> 2. Run a2ensite spip
s/spip/http-host/
>> 3. Check that spip has a user access to a mysql database
>> 4. Point your browser to spipsite/ecrire
>
> I'm not sure this is the best way to go, in particular if several web apps are co-located on the same apache server.
>
> I'd advise instead to add an :
> Include /etc/spip/apache.conf
> inside the virtualhost config in /etc/apache2/sites-enabled/000-default...
/etc/apache2/conf.d/spip.conf is already a link to that file.
> Then, I'm puzzled by the :
> # Uncomment this to add an alias.
> # This does not work properly with virtual hosts..
> # Alias /spip /var/lib/spip
> in /etc/spip/apache.conf, as I have it just working now inside the default <VirtualHost *:80>...
The purpose of the proposed Alias is to make SPIP available from
http://<hostanme>/spip (where hostname is anything that point to the
host, no matter what VirtualHost it is). I guess Romain added this
before he added the mutualisation, so that proposed Alias and its
comment should be safely dropped.
Regards
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/spip-maintainers/attachments/20111206/95d15e7c/attachment.pgp>
More information about the Spip-maintainers
mailing list