[pmwiki-users] question regarding groups

Neil Herber (nospam) nospam at eton.ca
Wed Nov 15 11:00:07 CST 2006


In the home wiki you only really need farmconfig.php but you can have 
config.php (both inside the "local" folder) if you want the home wiki to 
have individual settings that are not "farm wide".

I have attached 2 small .png files (may not survive Mailman) that show 
the structure of my home wiki and another wiki in the farm. In their 
respective "local" folders, the home wiki only has farmconfig and the 
other wiki only has config.

Disregard the "shared" folders in the home wiki. You do not need them 
unless you want to share a group amongst the wikis in the farm.


dan paul wrote:
> Thanks Neil. One last question.
> In the folders of my wiki farm, will I have to implement same /local/ folder
> manually, and in it to have the congig.php, or where else is the default
> location of the config file?
> 
> Would you have a folder structure example of what each individual wiki in
> the farm should contain? Or is just the wiki.d folder there?
> 
> Thanks
> Dan
> 
> 
> -----Original Message-----
> From: Neil Herber (nospam) [mailto:nospam at eton.ca] 
> Sent: Wednesday, November 15, 2006 11:11 AM
> To: dan paul; PmWiki Users
> Subject: Re: [pmwiki-users] question regarding groups
> 
> In general terms, the farmconfig file loads first and sets the 
> parameters for all of the wikis in the farm. Each individual wiki's 
> config.php loads second and can override items in farmconfig.php. In the 
> special case of your "home wiki" (the one that contains both files) they 
> are still loaded in the same order and work like any other wiki in the farm.
> 
> Polite suggestion: when replying to pmwiki-users posts be sure to 
> "reply-all", otherwise only the original sender gets your reply. I am 
> sure there are lots of lurkers who would like to see the answers - if 
> only to be able to correct me when I give the wrong answer.  ;-)
> 
> dan paul wrote:
>> That is cool.
>> So, because I want all my wikis to have the same look, feel and admin, I
>> will then do all the changes in the farconfig.php and forget about doing
> it
>> in config.php individually in their own folders. This will keep all my
> eggs
>> in one basket so to speak.
>>
>> How about the main wiki config file, in the same /local/ folder where
>> farmconfig.php is? Will that only affect the main wiki only as well?
>> Will the farmconfig.php override the main wiki config file as well?
>>
>> Thanks
>> Dan
>>
>>
>> -----Original Message-----
>> From: Neil Herber (nospam) [mailto:nospam at eton.ca] 
>> Sent: Wednesday, November 15, 2006 8:51 AM
>> To: dan paul; PmWiki Users
>> Subject: Re: [pmwiki-users] question regarding groups
>>
>> On 2006-11-15 dan paul is rumoured to have said:
>>> In adition, I am confused as to what is the role of the config.php 
>>> and that of farmconfig.php Does the later replace the former? Can 
>>> they coexist together? Do I have to copy whatever I had in config.php 
>>> into the farmconfig.php? 
>> The distinction is that farmconfig.php sets the configuration for all of 
>> the wikis in your farm. In other words, it is "global".
>>
>> Each individual wiki in the farm has its own version of config.php to 
>> set local parameters, such as skin choice. In other words, config.php is 
>> "local".
>>
>> For example, if you want every wiki in the farm to have the same admin 
>> password, set it in farmconfig.php. If you want each wiki to have its 
>> own admin password, set them in their respective config.php.
>>
> 
> 


-- 
Neil Herber
Corporate info at http://www.eton.ca/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: home_wiki.png
Type: image/png
Size: 4649 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20061115/493305bb/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: other_wiki.png
Type: image/png
Size: 2939 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20061115/493305bb/attachment-0001.png 


More information about the pmwiki-users mailing list