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

Marco Ferretti marco.ferretti at gmail.com
Thu Mar 9 07:55:24 CST 2006


Hi all,
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 cannot doesn't show correctly. More : the two 
fields seem to share the variables : if I login to field2 I see I am logged 
in also in field2 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 : 

-sh-3.00$ cat 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
-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 = '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
-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');



Any help would be appreciated.


TIA

Marco
-- 
A kind of Batman of contemporary letters.
		-- Philip Larkin on Anthony Burgess
-------------- 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/eb6f5361/attachment.bin 


More information about the pmwiki-users mailing list