LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-23-2002, 04:28 AM   #1
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
.htaccess


Hi all

I am running apache on my redhat 7.3 machine. I am having trouble with .htaccess. Here is the contents of my file:
AuthType Basic
AuthName "Restricted Directory"
AuthUserFile /var/www/html/private/.passwd
Require valid-user

My password file is at /var/www/html/private/.passwd with a user: test

When i go to the site it asks for a password, but i cant get in. Here's my error log:
[Mon Sep 23 11:19:31 2002] [error] (13)Permission denied: access to /private/ failed for 192.168.0.10, reason: Authentication failure


Does anyone knows what goes wrong???
 
Old 09-23-2002, 04:55 AM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Did you encrypt your password using htpasswd?
 
Old 09-23-2002, 05:17 AM   #3
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
Yes i did. But i tried a plain text password also.
Both didnt work
 
Old 09-23-2002, 08:23 AM   #4
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
It's solved!

It was a missing module
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.htaccess Help GUIPenguin Linux - Security 6 02-22-2005 02:25 PM
.htaccess luca2005 Linux - Software 2 01-01-2005 07:38 PM
.htaccess kidestranged Linux - General 1 01-26-2004 10:18 AM
Htaccess DoobyWho Linux - General 4 04-28-2003 01:01 PM
.htaccess bretthoward Linux - Security 5 04-02-2001 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration