[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Vhost et spip mutualise



Bonsoir a tous,

je suis sous debian Squeeze, je cherche a mutualiser un noyau spip

en local

en utilisant le plugin "mutualisation" ,

--Le spip a mutualiser est bien installe avec les fichiers et dossiers idoines,
--------------------------------------------------------
le fichier /etc/hosts contient cette modif

127.0.0.1 localhost
127.0.1.1 debianjmarc

127.0.0.1 spip
127.0.0.1 02sudhotel
127.0.0.1 03rocandbloc
127.0.0.1 04diane-de-bournazel
127.0.0.1 le-clapotis
127.0.0.1 meschapeauxetmoi
127.0.0.1 ruedesarts


# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
-----------------------------------------------------------------------
j'en suis a regler les vhost, donc a priori j'ai regarde dans /etc/apache2/sites-available/default

<VirtualHost *:80>
	ServerAdmin webmaster@localhost

	DocumentRoot /mnt/jmarc-perso/travail/00sites-jmarc/www
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /mnt/jmarc-perso/travail/00sites-jmarc/www/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride None
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>

	ErrorLog ${APACHE_LOG_DIR}/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog ${APACHE_LOG_DIR}/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

--Sachant que le "spip" a mutaliser est dans le rep www indique ci-dessus.
et dans le "spip" il y a un rep "sites" avec mes sites .
Mais la, je ne sais pas ce qu'il faut ecrire...


merci d'avance,
Jmarc


Reply to: