Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

"resource:" for username/password

null
0
TJWin
Asked:
TJWin
1 Solution
 
jeffa072897Commented:
Presuming you are using Apache, loog in the config file for the alias stuff. Try putting the name you want there.
0
 
marcelofrCommented:
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
 
TJWinAuthor Commented:
the realm is correct, i want the "resource:" to say something besides the directory i'm in.  how do i do this?
0
 
alexbikCommented:
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now