rprengel [13.08.2015 17:27]:
Am 13.08.2015 um 14:00 schrieb Administrator Beckspaced.com:
hi ralf,
ich glaube, die erste vhost om ordner nimmt apache immer dann, wenn er keine passenden vhost finden kann
ich hab diverse vhost auf der suse box
ServerName meinedomain.com .... und findet apache den passenden host / server name nicht, dann nimmt er immer die erste vhost.conf in ordner
vielleicht hilfts ja weiter?
Hallo,
das ist definitv das Problem aber warum ist die Frage.
----snip----
When a request is received, the server first maps it to the best
matching <VirtualHost> based on the local IP address and port
combination only. Non-wildcards have a higher precedence. If no match
based on IP and port occurs at all, the "main" server configuration is used.
If multiple virtual hosts contain the best matching IP address and port,
the server selects from these virtual hosts the best match based on the
requested hostname. If no matching name-based virtual host is found,
then the first listed virtual host that matched the IP address will be
used. As a consequence, the first listed virtual host for a given IP
address and port combination is the default virtual host for that IP and
port combination.
----pins----
steht auf http://httpd.apache.org/docs/2.4/en/mod/core.html#virtualhost
Da ich Deine Config nicht näher kenne... Wenn Du mehrere "