Solved

"resource:" for username/password

Posted on 1998-07-22
4
191 Views
Last Modified: 2010-03-18
null
0
Comment
Question by:TJWin
4 Comments
 
LVL 2

Expert Comment

by:jeffa072897
ID: 1585633
Presuming you are using Apache, loog in the config file for the alias stuff. Try putting the name you want there.
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1585634
Even if the realm is incorrect, you get authenticated anyway?

To get hello.html as index, add it to the DirectoryIndex in srm.conf
0
 

Author Comment

by:TJWin
ID: 1585635
the realm is correct, i want the "resource:" to say something besides the directory i'm in.  how do i do this?
0
 
LVL 2

Accepted Solution

by:
alexbik earned 30 total points
ID: 1585636
Apahce gets this string from the AuthName realm.
Why are you editing your access.conf anyway? Wouldn't it be a better idea
to put a .htaccess and .htpasswd file in the directory you want to restrict access to?

If you use this:

htaccess:
AuthName Members Area
AuthType Basic
require valid-user

and in .htpasswd:
<username>:<encrypted password>

It should work file.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question