LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-29-2004, 02:01 AM   #1
dkochan
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:

<VirtualHost 192.168.1.2>
DocumentRoot /home/abc/www
ServerName www.abc.com
ServerAlias abc.com *.abc.com
ScriptAlias /cgi-bin/ "/home/abc/www/cgi-bin/"
<Directory /home/abc/www/members>
AllowOverride AuthConfig
</Directory>
</VirtualHost>

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

Rep: Reputation: 31
Try specifying:

Order allow,deny
Allow from All

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

Original Poster
Rep: Reputation: 0
Adding
Quote:
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?
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:29 PM.

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