How can I customize the "Authorization required" dialogue box in .htacess? - apache

I have a webpage with password restriction via .htaccess and when I access the page I get a box asking for username and password. Nothing strange there.
I've customized the error message for 401 so that users get some useful info if they enter wrong password.
However, I'd like to customize the text in the dialogue box in the box requesting username and password. The dialogue that looks like this:
I'd like to change the text "is requesting your username and password. The site says: “Password Protected Area" to some information about where to get the login information. Is this possible by editing the .htaccess? I cannot find anything about this. I only found how to customize the actual error pages.
I don't have access to the actual web server, since it is a web hotel, so I cannot do anything there.
PS
Although I doubt it would work, I could accept a PHP solution.
EDIT:
Found solution right after I posted this. See below.

And of course I find the solution after googling just one more time after posting the question.
The solution is variable AuthName. Add this line to .htaccess:
AuthName <message>
and the dialogue box will say:
is requesting your username and password. The site says: "<​message>"

Related

How do I login to a site I am viewing on my localhost?

I am editing a site while viewing on my localhost:3000. There are certain things I need to login to view, but my login credentials (which are accurate on the actual site) are not accepted on my local. The error I get is "Authentication Error." How do I login to my local?
Thank you in advance!
Just in case it can help someone else... I needed to add a ".env.local" file with various keys and IDs from Stripe and others. That allowed me to log in to my localhost with no problems.

Keyrock enabling two factor authentication

I am trying register a user in my keyrock installed on my own computer.
I put localhost:8000/ in firefox, and it redirects me to fiwareLab. But when I want to sing up a user, everything is ok, but then, when I guess that I have to confirm the account, the page show me "Activation key invalid" and in my console, the computer show me
enter image description here
So, I think that I have to enable the two factor authentication, but I don't know.
Could you help me, please?
Thank you so much.
To create a new user, you have to do the following steps:
In the IdM Horizon login screen, instead of put username, password and click sign in, just click on Sign up link or use idm_ip:8000/sign_up/ directly on your browser. After that, type information about the new user (username, email and password), check the I accept FIWARE... box and click Sign Up button.
Now, out of the container, see the log through:
docker logs <container_name>
There, you will see, in the last lines of the log, the activation link that was supposed to be sent to the new user's email. Copy it, paste on your browser and modify the fiware-lab host on the url specifying your IdM Keyrock address. This way, your new user will be activated through the passed code.
I hope this can help you.

Collabnet Subversion Authentication with Active Directory block some user..!

Now, I am trying to use Collabnet Subversion Edge authentication with Active Directory. At that, I found a problem.
Some user in AD can enter into Collabnet and some are not. Actually, all user in my AD server are created by script. So, all configuration except username and password are equal. But some cannot enter into Collabnet. So, I check the collabnet log. It shows "Password Mismatch" error for all invalid user. But we type the right password.
And then we test by changing account password. No changes. Then, I created a new account and log-in into Collabnet. It is OK. I don't know what should do.
Summary, In my authentication with AD, Newly Created user can log-in into Collabnet, Old User who success first time can also log-in and some user are always "Password Mismatch" even I type right password. I tried every possible way what I think, but It is not work.
Anyone faced like this one? Someone Help me. Thanks.

Sharepoint 2010 login layout page gives Access denied error

I have few login screen in Loayout folder of sharepoint. When we are redirecting to change password screen it gives Access denied error. But no in other pages like Custom login page security question pages. In the debug mode also we couldnt get any error.
Check out the whole access denied string. If you look at the parameters, you often can find the culprit or file in questions generating the access denied. Maybe you can post the whole URL when you get the access denied?

sharepoint 2010 announcements prompt for user credentials

My sharepoint publish page has announcements list and it has anonymous access. when i open it in firefox it shows the title and summary. when i click on the title to see the body message, it prompts user credentials.
Is there a way not to prompt credentials and show the full message?
How to hide the username and posted date in the announcements?
Thanks in Advance.
Does the body contain any images or other assets that are in a folder that is not accessible to anonymous users? This may also include the Style Library, if there is no published version of some items.
You can use Fiddler to find out what URL exactly causes the 403 Forbidden authentication prompt.