LinuxQuestions.org
Visit Jeremy's Blog.
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 08-31-2001, 05:54 AM   #1
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
using apache to protect a directory


hello,
i'm trying to get apache to protect a directory (yes, i've already read any related threads in this forum, but i'm still stuck). i followed the instructions which were provided by: http://www.apacheweek.com/features/userauth but i still cannot figure it out.

the only thing i can think of is that there was mention configuring my access.conf file in that article, but whenever i tried adding the AllowOverride AuthConfig line to access.conf, apache would flag it as not being allowed.

this is what my .htaccess file looks like:

AuthName "admin"
AuthType Basic
AuthUserFile /home/.htusers
require user user1 user2

i've already created the .htusers file using the htpasswd command, and AccessFileName .htaccess does appear in my httpd.conf file. any and all suggestions are appreciated!
 
  


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
Password protect a directory aquatux SUSE / openSUSE 6 08-02-2005 12:56 AM
Need to protect a directory wayloud *BSD 1 10-13-2004 05:02 PM
how do I poassword protect a directory on a website, Apache bentman78 Linux - Software 8 06-17-2004 12:12 PM
How to password protect a web directory abdulber Linux - Software 1 01-28-2004 12:34 AM
Password protect a directory Stephanie Linux - General 6 03-26-2002 03:58 PM

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

All times are GMT -5. The time now is 02:37 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