[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pmwiki et site du CULTe
- To: linux-31@culte.org
- Subject: Re: Pmwiki et site du CULTe
- From: "jdd@dodin.org" <jdd@dodin.org>
- Date: Wed, 20 Jul 2022 19:55:53 +0200
- Authentication-results: pic2s.le-pic.org; dkim=pass (2048-bit key; unprotected) header.d=dodin.xyz header.i=@dodin.xyz header.a=rsa-sha256 header.s=default header.b=SCkKdAO2; dkim-atps=neutral
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dodin.xyz; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=k5um4mxCZyEU7JqbXSvWCnW2OTAJHtyPh8cu59Xvt/8=; b=SCkKdAO2E7+3bokdwOev0jfydJ jXLFsFkx4f23BAwSbIEAIomGpzgUISSsdjz6pxXZsui/brfbcgl62LCPawn3MiolbWanbT4Cn6Ukf 4C5qBgIfjT+v7ZBw00GDQKb54gA/QcGJS1c20l8AaCqrUyPC+pNueRhpTbPZEdgSK4P+Jm8E8kXCw o4FBSNLJp9O1tV5myJ5daFgxiwaf6UKikpFsPArH/T62u5H9NTK1el4dDFk1XxT9fbO63RbtgUTTg rNQURHxIbQeEaj6Z6x891bvMh8My15fUf4pFrlvC109xdfyx7eIZPYPXA8DzyPTVmzmH+LcEPx8Zq jIg7UFJw==;
- In-reply-to: <CAJejU9FkT5PEz-H5+2d8Z643oXDnqQ5rY80u0=tFjOR1kNFsEw@mail.gmail.com>
- References: <CAJejU9FkT5PEz-H5+2d8Z643oXDnqQ5rY80u0=tFjOR1kNFsEw@mail.gmail.com>
Le 20/07/2022 à 17:16, Frederic Zulian (via linux-31 Mailing List) a écrit :
Bonjour,
La page de garde du site s'affiche correctement sur
http://www.culte.asso.st/pmwiki/pmwiki.php
Rien ne s'affiche sur : http://culte.asso.st/
index.php est dans www/htdocs/
Son contenu est <?php cd pmwiki; include('pmwiki.php');?>
"cd" n'est pas une commande en php mais en php par quoi remplace-t-on "cd"
?
La question : Quelle est la bonne syntaxe pour dire dans index.php : Va
dans www/htdocs/pmwiki pour lire pmwiki.php ?
NB : Inutile de me dire "va voir dans pmwiki.org. J'y suis déjà aller et
cela ne m'a pas trop avancé .......
quand même:
https://www.pmwiki.org/wiki/PmWikiFr/Installation#dirsetupend
"ajoutez un script index.php qui comportera une seule ligne (sans la
balise de cloture " ?>"):
<?php include_once('pmwiki.php');
attention, le fichier doit bien être index.php, pas index.html
ce qui, pour nous devrait sans doute être
<?php include_once('pmwiki/pmwiki.php');
ou peut-être (en suivant le lien de gilbert)
<?php chdir('pmwiki'); include_once('pmwiki.php');
ce dernier marche, j'ai vérifié
jdd
--
http://dodin.org
http://valeriedodin.com