[pmwiki-users] login problem (when page isnt defind in url)

Patrick R. Michaud pmichaud at pobox.com
Tue Aug 29 07:48:10 CDT 2006

On Tue, Aug 29, 2006 at 12:19:10PM +0200, benjamin behringer wrote:
> hi list
> I'v got a strange problem when I try to login.
> If I use the url: http://mydomain.net/pmwiki
>     only the users defined in the config.php are working
> If I use the url: 
> http://mydomain.net/pmwiki/index.phpindex.php?n=Main.HomePage
>     everything works fine.
> It looks to my that if no pagename is defined in the url userauth dosent/cant 
> look at the userauth page.
> What could i do that users that access the page cia 
> http://mydomain.net/pmwiki?

Try adding 

    $pagename = ResolvePageName($pagename);

near the top of your config.php file (at least before the
include call to userauth).


More information about the pmwiki-users mailing list