HTMLFormAuth

<< | Cookbook-V1 | >>

Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.


Problem

Web hosting service doesn't support HTTP authentication, or a HTML-based password prompt is desired

Solution

Discussion

(sessionauth.php is included in pmwiki-0.5.beta2 and later releases)

Some installations of PHP and/or Apache don't allow the HTTP-based password authentication mechanism that PmWiki/PmWiki uses by default. The sessionauth.php module provides a way to prompt for passwords via an HTML form and uses PHP sessions to keep track of passwords.

To activate this module, simply place sessionauth.php in the scripts/ directory and then add

    include_once("scripts/sessionauth.php");

to the local.php file.

See Also

pmwiki-2.3.32 -- Last modified by {{}}?

from IP: 85.171.160.186 ip should be disabled by default for security reasons