Re: Comportement étrange

Manu <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
Le 22/06/2018 à 10:07, Matthieu Marcillaud a écrit :
> Le 22/06/2018 à 08:45, Manu a écrit :
>> Le 22/06/2018 à 08:32, [email protected] a écrit :
> 
>> public_html/domaineA/ est équivalent à /domaineA/
> 
> Répacitulons…
> Si tu as :
> 
> public_html/spip/ecrire
> public_html/spip/sites/xxx
> public_html/domaineA
> 
> Tes domaines habituels pointent donc vers public_html/spip
> Ton domaineA pointe sur public_html/domaineA
> 
> Si c’est le cas, ton vhost
> - ne doit pas être correct, tout simplement,
il l'est : l'ajout d'un fichier index.html dans public_html/domaineA 
montre que c'est bien ce répertoire qui est pointé


> - et/ou pas activé
ben, non, c'est OK  (voir ce qui précède)


> - ou l’autre vhost qui se charge de la mutu a un serveralias sur domaineA
> - et/ou la conf apache pas rechargéeBah, si, elle semble bien l'être :
si je renomme public_html/domaineA en public_html/domaineAA
et si je modifie dans la foulée le vhost pour indiquer 
/public_html/domaineAA comme document root pour domainea.tld,
alors, rebelotte :
=> http://domainea.tld/ aboutit bien dans /public_html/domaineAA
si un fichier index.html y est présent
=> aboutit sur la mutu si il n'y a pas de index.html
=> prend en compte /public_html/domaineAA/index.php si le fichier 
public_html/spip/index.php est supprimé/renommé !

_______________________________________________
liste: http://listes.rezo.net/mailman/listinfo/spip-dev
doc: http://www.spip.net/
dev: http://trac.rezo.net/trac/spip/
irc://irc.freenode.net/spip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.