Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Error Message with Basic Authentication |
|
Author |
|
LucienFB
Joined: 06 Jan 2008 Posts: 3
|
Posted: Sun 06 Jan '08 23:50 Post subject: Error Message with Basic Authentication |
|
|
Problem!
Error Message:
[Sun Jan 06 16:22:54 2008] [alert] [client 76.188.1.214] C:/Program Files/Apache Group/Apache2/htdocs/phpmailer/phpFileUpload/ht.acl: AuthUserFile takes 1-2 arguments, text file containing user IDs and passwords
httpd.conf file contains:
AccessFileName ht.acl .htaccess
<Directory "C:/Program Files/Apache Group/Apache2/htdocs/phpmailer/phpFileUpload">
AllowOverride All Options None
Order deny,allow
</Directory>
password.txt file contains:
LucienFB:xyz555
ht.acl file contains:
AuthUserFile C:/Program Files/Apache Group/Apache2/password.txt
AuthName "This is my secret area"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
___________________________________________________
Thanks in Advance,
Lucien |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 21 Jan '08 20:58 Post subject: |
|
|
Sometimes clear passwords do not work. Use encryped ones with md5
See here how it works. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 22 Jan '08 4:37 Post subject: |
|
|
There error message however revolves around this line
AccessFileName ht.acl .htaccess
try
AccessFileName ht.acl
or
AccessFileName .htaccess
it only wants one filename, not two |
|
Back to top |
|
|
|
|
|
|