Gah! My question is just a touch too specific for Google to be efficient. I’m getting too many results and they aren’t quite addressing my issue.
When setting up a password protected directory using htaccess, is there anyway to modify the contents of password prompting dialog box?
By which I mean simply:
I want the User ID field to default to “Guest.” Always. So no one ever has to type it in.
There would be other valid users, but I want “Guest” to be the one in the field always by default so that guests only need to remember the password.
In a similar-but-different vein, for the French version of our website, any way to change the dialog box to say “Mot-de-passe” instead of “Password” in the prompt?
Links to thorough htaccess tutorials that cover this would be appreciated. Mine just aren’t detailed enough.
No, there is no way to modify the default username of the text of the password box. Both of these things rely on the browser implimentation. Some browsers will remember the username and insert “Guest” by default, but only after you have logged in once already. For your French users, you must assume they are using the French version of their favorite browser, which will have the password prompt in French.
Darn. I figured as much. I know there are ways of embedding the dialog box into a webpage using scripts of sorts. So I was hoping that perhaps there would be a way of specifying the fields as well.
:smack: Of course! I’m just so used to viewing the French version through my English borwser, it didn’t even occur to me.
Ah well, I can work around it. It would have been “nice”, but is not essential in any way.