[pmwiki-users] Can't edit wiki pages in a farm

Bob Koon bob at onemanband.com
Sun May 27 13:09:06 CDT 2007


Hi...

I sorted out the problem by removing the following lines from the extra
wiki's config file:

$EnablePathInfo = 1;
$ScriptUrl = "http://anothersubdomainwiki.mydomain.com";

It has the long (ugly) URLs which is a shame but I'll take that over it not
working. :)


-- Bob


-----Original Message-----
From: pmwiki-users-bounces at pmichaud.com
[mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Bob Koon
Sent: Sunday, May 27, 2007 12:20 PM
To: 'Patrick R. Michaud'
Cc: pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] Can't edit wiki pages in a farm


Hi...

I already had this in the local config (but with " instead of ').  Changing
the quotes doesn't change its behavior.  This existed in the config because
I ripped it from the home config as part of the clean URLs recipe, so the
local config also has:

$EnablePathInfo = 1;

(I don't know if this matters with the problem, but I figured more info is
better than less.)


There was a part of your reply that I don't understand:

"assuming that the index.php occurs in the document root of your extra wiki"

I understood 'document root' to mean 'wiki.d'.  If my understanding is
correct, then the index.php is _not_ there.  My index.php is in the root of
http://anothersubdomainwiki.mydomain.com and wiki.d is a subfolder off of
that.

Thanks again.


-- Bob


-----Original Message-----
From: Patrick R. Michaud [mailto:pmichaud at pobox.com]
Sent: Sunday, May 27, 2007 11:51 AM
To: Bob Koon
Cc: pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] Can't edit wiki pages in a farm

On Sun, May 27, 2007 at 11:22:33AM -0400, Bob Koon wrote:
>     
>    Hello...
>     
>    (I believe) I have followed the instructions on the various pages 
> to
set
>    up extra wikis and set them up as part of a farm.  My home wiki works
>    perfectly, but all I can do on the additional wiki is view the home
page,
>    sidebar and my footnotes are being applied.  _Any_ link I choose on
that
>    extra wiki gives me a 404 (edit, revision, anything in the sidebar,
etc.) 
>    ...
>    The index.php for the extra wiki does use a relative path to the home's
>    pmwiki.php (include('../../../pmwiki.php');) and I believe this to 
> be

Since you're using an index.php file here, you may need to explicitly set a
value of $ScriptUrl, to tell PmWiki where to generate links.  Generally this
isn't needed, but sometimes the webserver configuration requires it.

So, assuming that the index.php occurs in the document root of your extra
wiki, try:

    $ScriptUrl = 'http://anothersubdomainwiki.mydomain.com';

Hope this helps.

Pm


_______________________________________________
pmwiki-users mailing list
pmwiki-users at pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users




More information about the pmwiki-users mailing list