[pmwiki-users] must be doing something wrong with farm configuration

Marco Ferretti marco.ferretti at gmail.com
Thu Mar 9 09:04:48 CST 2006


I just saw something not "correct" in my explanation, so I am rewriting : 

I am still trying to set up wiki farms .I have tried to follow the instructions @ 
http://www.pmwiki.org/wiki/Cookbook/WikiFarmStepByStep .

I have created 2 fields, field1 and field2. For each of theese fields I 
have created an .htpassword file and have set a skin ( pmwiki for field1 and 
triad for field2 ) .
Now, field2 seems ok, but field1 doesn't show correctly. In addition to this, the two 
fields seem to share the variables : if I login to field2 I see I am logged 
in also in field1 even if the user i log in in field2 doesn't exists 
in .htpassword file of field1.

You can see the site @ fermasoft.homeunix.net/field2 & 
fermasoft.homeunix.net/field1 .

The config files are : 
farmconfig.php
<?php if (!defined('PmWiki')) exit();
  $FarmPubDirUrl = 'http://fermasoft.homeunix.net/pmwiki/pub';
  $Skin = 'pmwiki';
  $WikiTitle = 'My Farm';
#  include_once('local/config.php');
?>

field1 config.php

<?php if (!defined('PmWiki')) exit();
$WikiTitle = 'PmWiki test box as a field of a wiki farm';
$EnablePathInfo = 1;

$Skin = 'pmwiki';

$DefaultPasswords['admin'] = crypt('secret');
$DefaultPasswords['edit'] = 'id:*';
$EnableGUIButtons = 1;

$EnableUpload = 1;
$EnablePageListProtect = 1;

$AuthUser['htpasswd'] = 'local/.htpasswd';
include_once('scripts/authuser.php');

include_once("$FarmD/scripts/author.php");
if($AuthId && !@$_COOKIE[$AuthorCookie]) {
  $Author = $AuthId; setcookie($AuthorCookie,
      $Author, $AuthorCookieExpires, $AuthorCookieDir); }

include_once('scripts/NewPage.php');
include_once('scripts/newpageform.php');
include_once("scripts/newpageboxplus.php");

include_once('cookbook/newCategory.php');

field2 config.php

-sh-3.00$ cat config.php
<?php if (!defined('PmWiki')) exit();
$WikiTitle = 'PmWiki test box as a field of a wiki farm';
$EnablePathInfo = 1;

$Skin = 'triad';

$DefaultPasswords['admin'] = crypt('secret');
$DefaultPasswords['edit'] = 'id:*';
$EnableGUIButtons = 1;

$EnableUpload = 1;
$EnablePageListProtect = 1;

$AuthUser['htpasswd'] = 'local/.htpasswd';
include_once('scripts/authuser.php');

include_once("$FarmD/scripts/author.php");
if($AuthId && !@$_COOKIE[$AuthorCookie]) {
  $Author = $AuthId; setcookie($AuthorCookie,
      $Author, $AuthorCookieExpires, $AuthorCookieDir); }

include_once('scripts/NewPage.php');
include_once('scripts/newpageform.php');
include_once("scripts/newpageboxplus.php");

include_once('cookbook/newCategory.php');



I really have no clue on what's going on. Can somebody point me somewhere ( maybe docs ) ?


TIA

Marco
-- 
You will always have good luck in your personal affairs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060309/5915b682/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20060309/5915b682/attachment.bin 


More information about the pmwiki-users mailing list