Problem solved, <div>I have to make the path more relative, so to speak.</div><div>vis   $FarmD/../../../onewiki/public_html/pmwiki/  etc</div><div><br></div><div>thanks, and documentation updated</div><div><br></div><div>
Simon</div><div><br></div><div><br><br><div class="gmail_quote">2009/11/27 Simon <span dir="ltr">&lt;<a href="mailto:nzskiwi@gmail.com">nzskiwi@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks, well yes I did write the page, I had great help, but all mistakes are mine (to fix ...)<div><br></div><div>Using $FarmD works fine for one wiki.</div><div><br></div><div>My directory structure is</div><div>/home/</div>

<div>    /onewiki/</div><div>        /public_html/</div><div>            /pmwiki/</div><div>                /wiki.d/</div><div>                /wikishared.d/</div><div>    /twowiki/</div><div>        /public_html/</div><div>

            /pmwiki/</div><div><div>                /wiki.d/</div><div><br></div></div><div>My challenge seems to be to let IIS access wikishared.d from twowiki, hmmm</div><div>I&#39;ll keep you posted, but if anyone has ideas  (file system in NTFS)</div>

<div><br></div><div>thanks</div><div><br></div><div>Simon</div><div><br></div><div><br><div class="gmail_quote">2009/11/26 Petko Yotov <span dir="ltr">&lt;<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>&gt;</span><div>
<div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Wednesday 25 November 2009 10:31:31 Simon wrote:<br>
&gt; I am using the following code to share files in a group from<br>
&gt; <a href="http://pmwiki.org/wiki/Cookbook/SharedPages-Talk" target="_blank">http://pmwiki.org/wiki/Cookbook/SharedPages-Talk</a><br>
<br>
</div>Well, this section seems to have been written by you -- you might try to<br>
contact the author... :-)<br>
<div><br>
&gt; viz<br>
&gt; &lt;?php if (!defined(&#39;PmWiki&#39;)) exit(); ## Songs.php<br>
&gt; ## only alter the directories when a page is posted in this group<br>
&gt; if (@$_REQUEST[&#39;action&#39;]==&#39;edit&#39;<br>
&gt;  &amp;&amp; preg_grep(&#39;/^post/&#39;, array_keys($_REQUEST) ) ) {<br>
&gt;   $LockFile = &quot;/home/tahi/public_html/pmwiki/wikishared.d/.flock&quot;;<br>
&gt;   $WikiDir = new<br>
&gt; PageStore(&#39;/home/tahi/public_html/pmwiki/wikishared.d/$Group/$FullName&#39;,<br>
&gt; 1); # writeable shared group<br>
&gt;   $WikiLibDirs = array(  &amp;$WikiDir,<br>
&gt;     new PageStore(&#39;wiki.d/$Group/$FullName&#39;, 1), # per group subdirectories<br>
&gt;     new PageStore(&#39;$FarmD/wikilib.d/$FullName&#39;)  );<br>
&gt; }<br>
<br>
</div>Always use $FarmD/wikilib.d and $FarmD/wikishared.d including for the .flock<br>
file and not /home/.../wikishared.d.<br>
<br>
  LockFile = &quot;$FarmD/wikishared.d/.flock&quot;;<br>
  $WikiDir = new PageStore(&#39;$FarmD/wikishared.d/$Group/$FullName&#39;, 1);<br>
  # what you have next should work fine<br>
<font color="#888888"><br>
Petko<br>
</font></blockquote></div></div></div><br><br></div></blockquote></div>
</div>