Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Authentication problems

Status
Not open for further replies.

geffry

Programmer
Jun 26, 2002
33
US
Hi,

my .htacces file looks like this,

".htaccess" 5 lines, 174 characters
AuthUserFile '/opt/local/apache/conf/passwd'
AuthGroupFile /dev/null
AuthName "Restricted Area - Enter UNIX Login ID"
AuthType Basic
require valid-user


When i open the web-page,it prompts for entering the user-id/passwd. When I click OK with-out entering any values..thrice.. the page opens up.

Basically the authentication breaks... let me know where i am making the mistake.. which allows failed login attempts to open the page. any settings to be done in httpd.conf ?
 
geffry,

You might want to have a look at and the steps for creating a password file. Apache should be able to access the directory that the password file is located in, and should have read access to it.

It shouldn't make a difference, but you may want to try removing the single-quotes around the path to your password file.

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top