logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Error Message with Basic Authentication
Author
LucienFB



Joined: 06 Jan 2008
Posts: 3

PostPosted: Sun 06 Jan '08 23:50    Post subject: Error Message with Basic Authentication Reply with quote

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

PostPosted: Mon 21 Jan '08 20:58    Post subject: Reply with quote

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

PostPosted: Tue 22 Jan '08 4:37    Post subject: Reply with quote

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


Reply to topic   Topic: Error Message with Basic Authentication View previous topic :: View next topic
Post new topic   Forum Index -> Apache