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
signature.asc
Description: OpenPGP digital signature

