[Pmwiki-users] Re: PmWiki on Boa

Carlo Strozzi carlo
Sun Jul 27 15:30:15 CDT 2003


On Sun, Jul 27, 2003 at 12:04:53PM -0600, Patrick R. Michaud wrote:
> On Sun, Jul 27, 2003 at 04:18:15PM +0200, Carlo Strozzi wrote:
> > I have
> > succesfully managed to get PmWiki to work with the Boa lightweight web
> > server (http://www.boa.org) on linux, but I had to patch things a bit.
> > Namely, embedded '?' characters in the HTTP "Location:" header get
> > translated by Boa into '%3F', thus causing the client browser not to be
> > redirected. 
> 
> This has *got* to be a bug in the Boa server--it should not be translating
> the '?'.  The HTTP/1.1 protocol is fairly explicit that '?' is part of
> a valid http: URL, see 
>    http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2.2

Hmm, actually I had suspected it was a bug in Boa but I wasn't sure,
so I went for my home-made workaround :-) Thanks for the pointer to the
relevant RFC, I'll look it up.

> What version of Boa are you using? From looking at the Boa source code 
> it appears that in March 2002 the server was changed to not translate '?'
> into %3F.

You are definitely right. I'm running version 0.94.11 so I need to upgrade.

> > Another thing is that Boa knows nothing about BasicAuth. Fortunately
> > I found that PmWiki already contains code for using SessionAuth instead,
> > although it had not been activated. I would humbly suggest you make it
> > a local.php configuration variable, like all others.
> 
> I'll probably do this.  Good idea, and thanks for your comments!

Thank *you* for PmWiki :-)

Carlo
-- 
For best reading please set the Courier font.
Freedom for Business: http://swpat.ffii.org



More information about the pmwiki-users mailing list