[dokuwiki] Re: .htpasswd

  • From: Grant Gardner <grant@xxxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 03 May 2007 20:46:22 +1000


David M. Besonen wrote:
hi all,

i'd like to use .htaccess to password protect a dokuwiki with
.htpasswd.


i've added the necessary .htaccess lines:

--
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /usr/home/location_of_dokuwiki_password/.htpasswd
AuthGroupFile /dev/null
require valid-user
--


to the top of the default .htaccess (in the root of the
dokuwiki installation), which only contained these active
lines:

--
<Files ~ "^[\._]ht">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>
--


is there anything i need to be concerned about wrt dokuwiki
functioning properly now that i've manually edited it's root
.htaccess file?

everything seems to work fine.  i'm asking to avoid being
surprised by a problem that i might not have immediately
noticed.


peace,
david
David,

I've (re)written a dokuwiki authentication module to use htaccess which is useful if you want dokuwiki to know about your authenticated user.

There are a number of dokuwiki things related to ACL and user manager that don't work fully behind BASIC auth.

Depending on your circumstance you may be better off using this authentication module with dokuwiki's normal login page but configured to check your htpasswd file.

Info is at http://wiki.splitbrain.org/wiki:tips:htaccessauth2

Cheers,
     Grant.



--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: