954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Is it possible to configure .htaccess so tha username is already input?

Hi,

My apologies if this is the wrong section.

I wanted to know is it possible to set up .htaccess so that when user is promted for username and password, username is already input.

OR

just password is needed in order to proceed ?

Thanks

wonderland
Junior Poster
108 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

An .htaccess file is designed to instruct apache what to do with certain requests. It is not for coding login forms etc.

pritaeas
Posting Expert
Moderator
5,480 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

I understand that , but I really need just one small part of site protected . And .htaccess can do that

wonderland
Junior Poster
108 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

Ah. Okay, you can use htaccess to protect a folder on your server. The popup comes from the browser, but I think most do not have an option to remember the username. There is no way to control this unfortunately.

http://www.modwest.com/help/kb1-32.html

pritaeas
Posting Expert
Moderator
5,480 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

Thanks, I think I can survive that :) Thanks for the link, but I have already set up .htaccess, neat little thing :)

I have one problem though, when popup shows, there is a problem with some characters, seems like browser can't display letters like:
ā and ē etc correctly.

I'm using this in .htaccess:

AuthName "Lai iegūtu paroli, reģistrējies mājas lapā!"


But it doesn't display as it should.

Username and password part works .

wonderland
Junior Poster
108 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

I've seen several threads on the topic. Apparently it's not easily solved.

pritaeas
Posting Expert
Moderator
5,480 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

Too bad :(

wonderland
Junior Poster
108 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You