LinuxQuestions.org
Visit Jeremy's Blog.
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 08-31-2001, 04: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



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

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

All times are GMT -5. The time now is 11:20 AM.

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