Question
Installing this twiki has run me into various pitfalls which I have
gotten past -- until this one.
I wish to require users to authorize. I follow the instructions.
And when I create a new user, I go through the registration procedure
and then I check the .htpasswd file:
/home/sites/site93/twiki/data/.htpasswd
and see that a new user with a password has been added there.
BUT no user is able to authenticate, not even
TWikiGuest!
here's /home/sites/site93/web/twiki/bin/.htaccess
Redirect /twiki/index.html http://playlistnetwork.com/twiki/bin/view
AuthUserFile /home/sites/site93/twiki/data/.htpasswd
AuthName ByPassword
AuthType Basic
SetHandler cgi-script
ErrorDocument 401 /twiki/bin/oops/TWiki/TWikiRegistration?template=oopsauth
<Files ~ "[^/]*\.html$">
SetHandler blabla
allow from all
</Files>
<Files "edit">
require valid-user
</Files>
etc...
- TWiki version: latest
- Web server: Apache/1.3.6 (Unix)
- Server OS: Linux www.editev.com 2.2.14C10 #3 Wed Jun 21 15:05:10 JST 2000 i586 unknown
- Web browser: "all"
- Client OS: Mac OS 9.1
--
TomRitchford - 02 Dec 2001
Answer
It looks like the location of your
.htpasswd
file is not set correctly in
.htpasswd
. Set it to:
AuthUserFile /home/sites/site93/web/twiki/data/.htpasswd
--
PeterThoeny - 05 Dec 2001