[Pmwiki-users] PmWiki on IIS
J. Perkins
jason
Mon Sep 1 06:47:33 CDT 2003
Patrick R. Michaud wrote:
>>I am trying to install PmWiki on an IIS server at work. For the most
>>part it works great. The one problem I am seeing is with the markup:
>>
>> [[$ThisPage:?action=edit Edit]]
>> [[$ThisPage:?action=print Print]]
>>
>>Because IIS doesn't use the "AcceptPathInfo" type URLs, this generates
>>an href of "pmwiki.php?pagename=Main.Homepage?action=edit". Notice that
>>there are two '?' instead of one '?' and a '&'. This causes an error.
>
> You can change the '?' to '&' so that it reads:
> [[ThisPage:&action=edit Edit]]
> [[ThisPage:&action=print Print]]
>
> (I'm assuming the '$' in your examples above were typos.)
Yes, typos indeed. The problem is that I host this same site from both
IIS and Linux (dual-boot machine), so I was hoping for a solution that
would work in both places. I know that this is a terribly fringe case,
so no worries if there is no good solution. If it starts to bug me
enough I'll come up with a patch somehow.
> Short answer: Try setting $EnablePathInfo=1 in local.php and
> see IIS still works with that.
No, it doesn't work.
> Medium answer: Does anyone have PmWiki installed on an IIS server where
> I could run a few test queries? I don't have IIS or a convenient
> Windows server on which I can install it to be able to run my own tests.
I don't have a permanent IIS host, but I could put my laptop online for
an evening if that would help. Hard part will be finding a time to do
it, but let me know. Otherwise I would be happy to run some tests for
you, if that is feasible.
IMHO, $EnablePathInfo is a perfectly reasonable solution. I suppose I
could always disable pathinfo on Linux, then both environment would be
equivalent, at least. I will do that.
Jason
More information about the pmwiki-users
mailing list