• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 219
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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