Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-14-2002, 05:56 PM   #1
LQ Newbie
Registered: Apr 2001
Posts: 11

Rep: Reputation: 0
Angry .htaccess hell...

I'm running an Apache server on RH 7.2. I've checked my .htaccess file at least seven times now, as well as my httpd.conf file and the Apache documentation (as well as several other people's versions of it) - everything seems to be set right:

.htaccess -

AuthUserFile /path/to/Folder/.htpasswd
AuthName "Restricted"
AuthType Basic
Require valid-user


# AccessFileName: The name of the file to look for in each directory
# for access control information.
AccessFileName .htaccess

(These values were direclty copied from my files...). I have created a password file from htpasswd and added four users to it (and confirmed that they were added). However, when I access the folder that is supposed to be access controlled - I get in with nothing! No challenge - Apache just opens up the folder...

I'm very frustrated. Does anyone have any ideas???


- Yaron

Old 04-14-2002, 06:48 PM   #2
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Have you set the "AllowOverride" directive in the Apache config file to allow .htaccess to take effect?
Old 04-15-2002, 12:30 PM   #3
LQ Newbie
Registered: Apr 2001
Posts: 11

Original Poster
Rep: Reputation: 0
Lightbulb I'll check it out... Thanks

Old 04-15-2002, 12:39 PM   #4
LQ Newbie
Registered: Apr 2001
Posts: 11

Original Poster
Rep: Reputation: 0
Cool That Did the Trick - Thanks!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Lionheart008 Linux - Newbie 1 10-15-2004 02:15 PM
.htaccess kidestranged Linux - Software 1 04-30-2004 02:06 PM
.htaccess kidestranged Linux - General 1 01-26-2004 10:18 AM
htaccess xlord Linux - Newbie 1 01-16-2004 09:20 PM
Htaccess DoobyWho Linux - General 4 04-28-2003 01:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:15 PM.

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