Thread SSL-check nach .htaccess Authentisierung: doppelte Anmeldung nötig... (18 answers)
Opened by macMeck at 2006-02-05 13:14

macMeck
 2006-02-05 18:29
#29817 #29817
User since
2003-08-04
162 Artikel
BenutzerIn
[default_avatar]
Tja, dumm das. Ich glaub' ich hab gefunden, was das Problem ist. Die Apache-Doku http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html sagt dazu:
Quote
First you have to understand that when Apache processes a HTTP request it does this in phases. A hook for each of these phases is provided by the Apache API. Mod_rewrite uses two of these hooks: the URL-to-filename translation hook which is used after the HTTP request has been read but before any authorization starts and the Fixup hook which is triggered after the authorization phases and after the per-directory config files (.htaccess) have been read, but before the content handler is activated.

Das heißt ja wohl, dass der Request erstmal so ausgeführt wird und das Rewriting erst nach der Authorization statt findet. Zumindest wenn man es in der .htaccess macht. Richtig?

Noch ne Idee?
It all works, as long as it's documented!

View full thread SSL-check nach .htaccess Authentisierung: doppelte Anmeldung nötig...