Solved

"resource:" for username/password

Posted on 1998-07-22
4
197 Views
Last Modified: 2010-03-18
null
0
Comment
Question by:TJWin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…

739 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