Hi,
jetzt habe ich das mit der substitution soweit verstanden. Jetzt noch mal ein paar Fragen zum matching.
Ich beziehe mich auf folgenden Abschnitt der Doku:
"What is matched?
In VirtualHost context, The Pattern will initially be matched against the part of the URL after the hostname and port, and before the query string (e.g. "/app1/index.html").
In Directory and htaccess context, the Pattern will initially be matched against the filesystem path, after removing the prefix that lead the server to the current RewriteRule (e.g. "app1/index.html" or "index.html" depending on where the directives are defined)."
Was bedeutet " In Directory and htaccess context, ... against the filesystem path, after removing the prefix that lead the server to the current RewriteRule" ?
Welches Prefix wird genau entfernt ? Ist da der Pfad gemeint, der im steht ?
Was ist, wenn mehrere Rewrite Rules hintereinander folgen ? Erste Rule wird gematcht, ggf. substituiert, dann nächste Rule gematcht (gegen die Substitution der ersten Rule), ggf. substituiert ... ?
Folgendes Szenario: ein vhost mit RewriteRule im vhost container. Im diesem vhost ein directory container für DocumentRoot, ebenfalls mit einer Rewrite Rule. Es kommt ein request für den vhost, der im directory container landet. Welche RewriteRule wird zuerst abgearbeitet ?
" On the first RewriteRule it is applied to the (%-decoded) URL-path of the request; subsequent patterns ...": gilt das/ immer/ für die erste RewriteRule, das gegen die URL gematcht wird ? Unabhängig vom context ?
Sorry, wenn ich da viell. doppelt frage. Ich will's aber verstehen und nicht nur rumklicken und probieren.
Vielen Dank.
Bernd
Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@opensuse.org
Um den Listen Administrator zu erreichen, schicken
Sie eine Mail an: opensuse-de+owner@opensuse.org