Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-31-2003, 03:16 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 10

Rep: Reputation: 0
Password Protecting Web Sites

I'm trying to ecrypt my web site, but it's not working. I tried using htpasswd to set up a password list and added the following to my httpd.conf file.

<Location />
SetHandler cadsenterprises
AuthType Basic
AuthName "Test Site"
AuthUserFile "rsepadmin"
Require valid-user

Is this the correct way to do this? If so, what I'm doing wrong?

As always, any help is appreciated.
Old 11-01-2003, 08:53 AM   #2
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
My first guess would be to fully qualify the filename argument to AuthUserFile. As you have it, Apache will look for the rsepadmin file in whatever directory is set as either ServerRoot or DocRoot, I don't remember which off the top of my head.

AuthUserFile "/var/somedir/rsepadmin"

First question would be, will the Auth* directives work with a SetHandler directive?


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 Protecting Web Folders tommytomato Linux - Security 4 12-07-2003 08:18 AM
Password Protecting Web Folders tommytomato Linux - Security 3 12-06-2003 09:51 AM
Protecting Root Password ukndoit Linux - Security 10 10-16-2003 09:32 AM
HTML password protecting darin3200 General 19 06-03-2003 03:13 AM
password protecting a webpage jonfa Linux - General 5 03-22-2002 06:26 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:23 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
Open Source Consulting | Domain Registration