[pmwiki-users] need help with AuthUser password syntax in config.php
Patrick R. Michaud
pmichaud at pobox.com
Thu Apr 6 08:26:35 CDT 2006
On Wed, Apr 05, 2006 at 04:42:08PM -0400, Neil Herber wrote:
> I cannot get either one of these to work. On the Site.AuthUser page I
> have a line like so:
>
> @admins: NeilHerber
>
> Where NeilHerber is my Apache BA login name that I have forced into
> $Authid with:
>
> if (@$_SERVER['REMOTE_USER']) $AuthId = $_SERVER['REMOTE_USER'];
>
> and I have tried this line before and after:
>
> include_once("$FarmD/scripts/authuser.php");
>
> It did not work in either position. Anything else I should check?
Try the following in your config.php instead:
include_once("$FarmD/scripts/authuser.php");
if (@$_SERVER['REMOTE_USER'])
AuthUserId($pagename, $_SERVER['REMOTE_USER']);
Pm
More information about the pmwiki-users
mailing list