[pmwiki-users] Password trouble with pmwiki-mode at pmwiki.org

chr at home.se chr at home.se
Wed May 11 08:37:24 CDT 2005


On Wed, 11 May 2005, Patrick R. Michaud wrote:

> On Wed, May 11, 2005 at 03:12:51PM +0200, chr at home.se wrote:
> > Hi
> > 
> > Using pmwiki-mode for Emacs I can work with sites that are protected using 
> > .htaccess files. The solution is simply to access the page using for 
> > instance the following URI
> > 
> > 	http://chr:password@www.pmwiki.org/wiki/Test/Password
> > 
> > where I've prepended username and password. This solution unfortunately
> > doesn't work with the mechanism that pmwiki uses... How can I fix this?
> 
> PmWiki now uses PHP sessions for authentication, so what PmWiki
> normally expects at this point is the cookie that was set by PHP's
> session handler.
> 
> However, you probably don't want to deal with cookies in Emacs, so
> perhaps you could try doing an HTTP POST with the "authpw" value set
> to "password"?

Um.. I tried the following URI, but it didn't work..

	http://www.pmwiki.org/wiki/Test/Password?authpw=password

Should it have worked?

> >From the simple test that I ran, it doesn't appear that PHP gives
> me access to the "chr:password@" part of the url at all.

Hmm.. ok.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr




More information about the pmwiki-users mailing list