PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : htaccess funktioniert nicht richtig



tuxxi
18.05.04, 09:27
Hallo,

ich habe einen Apache-Webserver und dort eine Seite mit htaccess geschützt, so dass man sich vorher erst anmelden muss, bevor man auf die Seite gelangt. Das Problem ist jedoch, dass ich mich immer nur einmal anmelden kann. Wenn ich den Browser wieder zu mache, dann komme ich ohne Nachfrage nach Benutzername und Passwort auf die Seite. Erst wenn ich den Rechner neustarte oder mich neu anmelde, wird wieder nach Name und Passwort gefragt.
Wie kann man dieses Problem beheben?

Mfg

Tuxxi :confused:

Doh!
18.05.04, 10:10
aus der apache-doku:


How do I log out?

Since browsers first started implementing basic authentication, website administrators have wanted to know how to let the user log out. Since the browser caches the username and password with the authentication realm, as described earlier in this tutorial, this is not a function of the server configuration, but is a question of getting the browser to forget the credential information, so that the next time the resource is requested, the username and password must be supplied again. There are numerous situations in which this is desirable, such as when using a browser in a public location, and not wishing to leave the browser logged in, so that the next person can get into your bank account.

However, although this is perhaps the most frequently asked question about basic authentication, thus far none of the major browser manufacturers have seen this as being a desirable feature to put into their products.

Consequently, the answer to this question is, you can't. Sorry.

tuxxi
18.05.04, 10:26
Na super, die Antwort hat mir jetzt nicht wirklich weitergeholfen!!!
Weiß sonst noch jemand einen etwas über dieses Thema?

Kentar
18.05.04, 10:40
mit welchem Browser?
Bei dem Mozilla z.b. must du darauf achten, das sowohl alle Browserfenster, als auch der Messenger... beendet wird. Beim Konqueror müssen alle instanzen geschlossen werden.
Wenn das nicht hilft, such mal nach deinen Cookie einstellungen beim Apache. Ich weiss dummerweise gerade nicht wo, aber du kannst die Haltbarkeit eines Cookies auf eine Session begrenzen.

Doh!
18.05.04, 12:51
Na super, die Antwort hat mir jetzt nicht wirklich weitergeholfen!!!
Weiß sonst noch jemand einen etwas über dieses Thema?

Dann hast Du offenbar nicht gelesen/verstanden, was drin steht

Pingu
19.05.04, 09:55
Na super, die Antwort hat mir jetzt nicht wirklich weitergeholfen!!!
Weiß sonst noch jemand einen etwas über dieses Thema?
Dann extra für Dich nocheinmal kurz:
- Feature Deines Browsers
- hat nix aber auch rein gar nix und und haupt nix mit der Konfiguration am Server zu tun und läßt sich somit dort auch nicht einstellen

Pingu