Link to home
Start Free TrialLog in
Avatar of harryv
harryv

asked on

..htaccess and change text "please type your username and password"

How to change the text "please type your username and password" in the .htaccess pop-up?

Jeffeny
Avatar of samri
samri
Flag of Malaysia image

Harryv,

The keyword that you are looking for is "AuthName".

Please drop by Apache's website on more detailed discusion on Authentication, Authorization, and Access Conrol.

http://httpd.apache.org/docs/howto/auth.html

Following is and example (taken from that site too.)

AuthType Basic
AuthName "By Invitation Only"
AuthUserFile /usr/local/apache/passwd/passwords
Require user rbowen sungo

This would cause the pop-up box to have "By Invitation Only" displayed, followed by Username, and Password input field.

I hope this helps.

cheers.
Avatar of harryv
harryv

ASKER

The AuthName "By Invitation Only" is shown by "realm"
What I mean is the words "please type your username and password".

Jeffeny
ASKER CERTIFIED SOLUTION
Avatar of samri
samri
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Correction:  The URL should be;
http://httpd.apache.org/docs/howto/auth.html