[pmwiki-users] Problem with PmWikiDraw
Patrick R. Michaud
pmichaud at pobox.com
Sat Jun 24 08:34:33 CDT 2006
On Sun, Jun 25, 2006 at 12:03:04AM +1200, Robin Sheat wrote:
> Hi, I'm trying to use PmWikiDraw, but I have the problem that when it
> saves, it sends the POST request to the wrong location. On my setup,
> $ScriptUrl='http://www.kallisti.net.nz/', and page names get appened to
> that, and a rewrite rule maps them to the wiki code proper. However, the
> base URL does a 302 redirect to ...net.nz/Main/HomePage. When PmWikiDraw
> POSTs the drawing, it sends it to the $ScriptUrl, which replies with a
> 302, which is then not followed by the applet, and so the drawing doesn't
> save.
>
> I've tried changing the value of $ScriptUrl that pmwikidraw.php sees to
> something else, but it appeared to make no difference. How can I fix
> this?
You'll need a url that PmWikiDraw can use to post things that doesn't
involve a redirect. You might try doing things with the $PageUrl page
variable instead of $ScriptUrl.
Pm
More information about the pmwiki-users
mailing list