View previous topic :: View next topic |
Author |
Message |
The_Bell Apprentice
Joined: 01 Jul 2002 Posts: 157
|
Posted: Wed Dec 11, 2002 8:48 pm Post subject: Auth with .htpasswd requests. user/pass twice! |
|
|
I have this .htaccess file in a dir to restrict the access to the web page there:
AuthUserFile <path to the .htpasswd file>
AuthName "Domini Restringit platelet-research"
AuthType Basic
require valid-user
Well i added a username with the htpasswd command, and when I try to access the web page through Mozilla, everything goes right, but I don't know why Internet Explorer requests the username and pasword twice, if I put it ok the first time, the user/password dialog box appears again. I tried it with Konkeror, and even lynx, and those programs also requires me to input the fields twice.
Could anyone help to solve this? _________________ Live long and prosper |
|
Back to top |
|
|
Messiah Tux's lil' helper
Joined: 30 Apr 2002 Posts: 139
|
Posted: Thu Dec 12, 2002 1:50 pm Post subject: |
|
|
it is because your hostname is domain.xxx and your serveralias is in the form of www.domain.xxx. You call the URL www.domain.xxx/directory, and the server maps it to domain.xxx/directory/, after applying the first username/password combo.
Solution:
- Make www.yourdomain.xxx your hostname and domain.xxx your alias
- Call the URL www.yourdomain.xxx/directory/ (note the trailing slash!)
HTH |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|