also, folgendes:
Apache/2.2.2 (Win32) läuft auf Win 03 Server...
Auf die IP des Servers werden mehrere Domains weitergeleitet....
domain1.de
domain2.net
domain3.com
domain4.org
Ich würde gerne für jede der Domain einn VHOST einrichten, damit diese auch wie gewünscht funktioniert...also...so sieht meine Virtual Host Konfiguration aus:
- Code: Select all
NameVirtualHost *:80
# domain1.de
<VirtualHost domain1.de:80>
ServerAdmin admin@example.com
DocumentRoot "c:/program files/xampp/htdocs/domain1.de"
ServerName domain1.de
</VirtualHost>
# entwurf.domain1.de
<VirtualHost entwurf.domain1.de:80>
ServerAdmin admin@example.com
DocumentRoot "c:/program files/xampp/htdocs/domain1_drafts"
ServerName entwurf.domain1.de
ServerAlias entwurf.domain1.de *.entwurf.domain1.de
</VirtualHost>
# domain2.net
<VirtualHost domain2.net:80>
ServerAdmin admin@example.com
DocumentRoot "c:/program files/xampp/htdocs"
ServerName domain2.net
</VirtualHost>
# domain3.com
<VirtualHost domain3.com:80>
ServerAdmin admin@example.com
DocumentRoot "c:/program files/xampp/htdocs/domain3"
ServerName www.domain3.com
</VirtualHost>
# domain4.org
<VirtualHost domain4.org:80>
ServerAdmin admin@example.com
DocumentRoot "c:/program files/xampp/htdocs/domain4"
ServerName domain4.org
</VirtualHost>
Im error Log steht folgendes:
- Code: Select all
[Sat Aug 12 00:46:01 2006] [warn] VirtualHost domain3.com:80 overlaps with VirtualHost domain4.org:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Aug 12 00:46:01 2006] [warn] VirtualHost domain2.net:80 overlaps with VirtualHost domain3.com:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Aug 12 00:46:01 2006] [warn] VirtualHost entwurf.domain1.de:80 overlaps with VirtualHost domain2.net:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Aug 12 00:46:01 2006] [warn] VirtualHost domain1.de:80 overlaps with VirtualHost entwurf.domain1.de:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Aug 12 00:46:01 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
[Sat Aug 12 00:46:02 2006] [warn] VirtualHost domain3.com:80 overlaps with VirtualHost domain4.org:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Aug 12 00:46:02 2006] [warn] VirtualHost domain2.net:80 overlaps with VirtualHost domain3.com:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Aug 12 00:46:02 2006] [warn] VirtualHost entwurf.domain1.de:80 overlaps with VirtualHost domain2.net:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Aug 12 00:46:02 2006] [warn] VirtualHost domain1.de:80 overlaps with VirtualHost entwurf.domain1.de:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Aug 12 00:46:02 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
Alle Anfragen werden an den Standart VHOST geleitet...domain1.de...nicht wie beabsichtigt, auf die jeweiligen Verzeichnisse
Ich bin für jeden Ansatz dankbar...
FLAGSHiP
J.H.