Question
Hi, I have a problem with the .httaccess file, the twiki is install in a Red Hat Server, before I had my twiki in a Slackware server and I didn't have any problem. The verification of users worked very well, and now it isnot working.
This is the configuration
AuthUserFile /home/httpd/twiki/data/.htpasswd
ErrorDocument 401 /home/httpd/twiki/bin/oops/TWiki/TWikiRegistration?template=oopsauth
AuthName EnterPassword
AuthType Basic
and how the .htaccess did not have the desired effect, I enabled it: Add "AllowOverride All" to the Directory [3] section of httpd.conf for my twiki/bin directory and when I try to edit a page the browser shows me and message that said:
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Additionally, a 404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request.
- TWiki version:20030201
- Perl version: 5.6.1
- Web server & version: Apache 2.0.40
- Server OS: Red Hat 9
- Web browser & version: Internet Explorer 6
Could someone help me?
Thank you.
--
RosaMora - 01 Jul 2003
Answer
This looks like an Apache setup problem - please see the
SupportGuidelines and see if you can supply more details from the server error log. Also, Apache 2.0 has had some problems with TWiki, a Google should find these. I don't use Apache 2.0 so I can't help much - reading up on Apache and talking to your sysadmin/ISP would be useful too.
Your
ErrorDocument should probably be a URL (see the comment in the supplied .htaccess.txt) - currently it's a file pathname with a URL-style suffix). However that's not the main problem.
--
RichardDonkin - 03 Jul 2003