Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-29-2004, 03:01 AM   #1
LQ Newbie
Registered: Jul 2001
Posts: 19

Rep: Reputation: 0
Apache: login dialog presented without .htaccess

I configured Apache to have a secured directory. Unfortunately, I am prompted in public directories for a user name and password. I can access public pages by clicking cancel when presented with a login dialog. The members directory is secured properly. The members directory is the only directory with an .htaccess file.

Here is some code from my Apache configuration file:

DocumentRoot /home/abc/www
ServerAlias *
ScriptAlias /cgi-bin/ "/home/abc/www/cgi-bin/"
<Directory /home/abc/www/members>
AllowOverride AuthConfig

How can I fix this problem?
Old 02-29-2004, 08:50 AM   #2
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Try specifying:

Order allow,deny
Allow from All

for the base dir.
Old 02-29-2004, 08:39 PM   #3
LQ Newbie
Registered: Jul 2001
Posts: 19

Original Poster
Rep: Reputation: 0
Order allow,deny
Allow from All
to the base directory did not work.

When accessing HTML files in the base directory Apache looks to the .htaccess file in the members directory. I do not have an .htaccess file in the root directory. Does anyone have any more ideas?


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
KDE login dialog (3 questions) KlaymenDK *BSD 5 11-06-2005 01:58 PM
login problems - htaccess / htpasswd mikeindo Linux - Networking 4 10-03-2005 04:18 PM
htaccess login form newuser455 Linux - General 0 08-22-2004 02:25 AM
Crazy blank dialog boxes and windows at login. Can't login as user soren625 Linux - General 2 08-11-2004 07:30 AM
.htaccess login errors dowdnt Linux - Security 4 11-20-2002 01:24 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:28 AM.

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