Hello,

I've already built a Farm with differents URL like :

http://www.mydomain1.com/wiki1/
http://www.mydomain1.com/wiki2/
http://www.mydomain1.com/wiki3/

and all is functionning perfectly.

Presently I have to build a new Farm with URL like :

http://www.mydomain2.com/
http://subd1.mydomain2.com/
http://subd2.mydomain2.com/

all sub-domains pointing to different folders ; the typical method described in the cookbook seems to be puzzled.

I have defined the root pmwiki for the URL http://www.mydomain.com/ as it was a single pmwiki but with a farmconfig.php file to define the $FarmPubDirUrl as 'http://www.mydomain.com/pub'. The config.php file loads all the needed recipes and does all the needed parameterizations. That root pmwiki functions perfectly.

For the child pmwiki, in their config.php file. If I define something like:

$ScriptUrl = 'http://subd1.mydomain2.com/pmwiki.php';

and then the proper index.php file:

<?php include('/home/www/dem-tech.net/pmwiki.php');

which is the correct path to the pmwiki.php file, I access correctly to the home page by http://subd1.mydomain2.com/ but all the links in the page are defined as :

http://subd1.mydomain2.com/pmwiki.php/Main/foo

and these links fail as there is no more pmwiki.php file in the child pmwiki. All the access to a recipe try too to find a cookbook folder and a script folder in the child pmwiki.

What is false in my doing?

Thanks,
JDem


begin:vcard
fn:Jean DEMARTINI
n:DEMARTINI;Jean
org:DEMTECH;Supervision Urbaine
adr;quoted-printable:;;72, avenue Pierre S=C3=A9mard;GRASSE;;06130;FRANCE
email;internet:[EMAIL PROTECTED]
title:Audit, Etudes technique, AMO
tel;cell:06.80.30.00.94
version:2.1
end:vcard

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to