LinuxQuestions.org
Visit the LQ Articles and Editorials section
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, 03: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, 08:50 AM   #2
andrewlkho
Member
 
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
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


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


All times are GMT -5. The time now is 07:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration