[pmwiki-users] How to locate local wiki local directory?

Patrick R. Michaud pmichaud at pobox.com
Thu Aug 10 13:02:47 CDT 2006

On Thu, Aug 10, 2006 at 12:02:30PM -0500, JB wrote:
> I want to store my htpasswd file in the local wiki local 
> directory, not somewhere in the farm directory.  Is there 
> a better way to locate it for AuthUser than the line below
> in my config.php file?
>   $AuthUser['htpasswd'] = "$FarmD/../wayneswiki/local/members.htpasswd";

The following should work:

    $AuthUser['htpasswd'] = 'local/members.htpasswd';

This says to get the .htpasswd file from the same place where
the wiki's local customization files are stored.


More information about the pmwiki-users mailing list