[pmwiki-users] Problem with login

Petko Yotov 5ko at 5ko.fr
Thu Apr 4 07:40:18 PDT 2024


I suspect something changes or blanks the $ScriptUrl variable. I'd check 
in config.php or any included scripts.

Sometimes it may be caused by $_SERVER variables unavailable to the PHP 
process. If necessary, you can define this variable in config.php to the 
correct URL.

Is this an actual web server software like Apache, or the standalone 
recipe?

I wonder why it would work in a normal window and not in incognito mode. 
Does it work in Firefox, and in a Firefox private window?

Petko


On 04/04/2024 16:27, Michael Eager wrote:
> I'm running into a strange situation with AuthUser and logins.
> 
> I've used AuthUser in several wikis without issue.  I added AuthUser
> to a new wiki and it seemed to work.  I created a user and user group
> and updated config.php to specify that the group would have edit
> authority. Everything seemed to work OK.  In the browser window where
> I entered my login credentials, I can edit a page.  When I try to edit
> a different page I'm able to without having to re-enter credentials.
> I presume that the previous login is recorded in a cookie in the
> browser.
> 
> When I attempt to edit pages from a different system or from a
> private/incognito browser window, I am unable to.  I am prompted for
> name and password.  When I enter them, the website takes a long time
> to respond, and then redirects to a bogus page.
> 
> The link for to the page displaying the login box is
>   https://example.com//Main/HomePage?action=edit
> After entering the credentials, and a long wait, the redirect is to
>   https://main/HomePage?action=edit
> 
> I changed config.php to set fixed 'admin' and 'edit' passwords
> (essentially ignoring AuthUser), but I see the same behavior.



More information about the pmwiki-users mailing list