Solved

"resource:" for username/password

Posted on 1998-07-22
4
176 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now