[pmwiki-users] authuser glitch

Dominique Faure dominique.faure at gmail.com
Wed Jan 4 16:13:20 CST 2006


Hi,

Wanting to "share" an htpasswd file between latest PmWiki and apache,
I set the following 'local/Site.AuthUser.php' file:
=====8<-----
<?php if (!defined('PmWiki')) exit();

global $FmtPV;
$FmtPV['$FarmD'] = '$GLOBALS["FarmD"]';
----->8=====
and set the following external authentication source in Site.AuthUser:

    htpasswd: {$FarmD}/local/htpasswd

Then received the laconic message:

Warning: fopen({$FarmD}/local/htpasswd) [function.fopen]: failed to
open stream: No such file or directory in [...]/scripts/authuser.php
on line 93

Can't we have htpasswd auth sources  processed to handle variables
evaluation or (intermap) links?

Regards,
Dom




More information about the pmwiki-users mailing list