|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/astrosfm/pmwiki/local/ |
Upload File : |
#<?php if (!defined('PmWiki')) exit();
#####################################################
# to enable AuthUser
#include_once("$FarmD/scripts/authuser.php"); # this is done in config.php
$EnableHtpassword=1;
$EnableHtgroup=1;
# $HtpasswdFile = "$FarmD/local/.htpasswd"; # not clear is this is needed
# use local .htpasswd
# $AuthUser['htpasswd']='local/authuser/.htpasswd';
$AuthUser['htpasswd']="local/.htpasswd";
# $AuthUser['htpasswd']='local/.htpasswd';
# use local .htgroup
$AuthUser['htgroup']='local/.htgroup';
$HtpasswordAuth = "admin";
$HtpasswordNewUsers = 0;
$HtpasswordCaptcha = 0;
$HtpasswordAutoLogin = 0;
$HtpasswordNewPageRedirect = $FarmD/pmwiki.php;
$HtpasswordDefaultType = 0;
$HtpasswordSortedFile = 0;
$HtgroupSortedFile = 0;
$HtpasswordMessages = "(:messages:)";
$EnableHtpasswordProfileLinks = 0;
######################################################
include_once("$FarmD/cookbook/htpasswdform.php");