Ich habe einen Apache 2.3.2 webserver auf debian laufen und würde jetzt gerne weitere virtuelle apachen hinzufügen ...
sprich ich würde gerne wenn ich
adresse,
adresse:90
&
adresse:100
aufrufe jeweils auf einen anderen index kommen
dazu habe ich folgendes versucht:
Listen 90
Listen 100
#NameVirtualHost *:100
#<VirtualHost *:90>
# DocumentRoot /var/swww
#</VirtualHost>
#NameVirtualHost *:100
#<VirtualHost *:100>
# DocumentRoot /var/www2
#</VirtualHost>
<VirtualHost _default_:90>
DocumentRoot /var/swww
</VirtualHost>
<VirtualHost _default_:100>
DocumentRoot /var/www2
</VirtualHost>
aber nichts davon funktioniert ...
Fehler:
* Reloading web server config... 27132
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Thu Aug 16 17:47:28 2007] [error] VirtualHost *:100 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Thu Aug 16 17:47:28 2007] [error] VirtualHost *:90 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Thu Aug 16 17:47:28 2007] [warn] NameVirtualHost *:100 has no VirtualHosts
[Thu Aug 16 17:47:28 2007] [warn] NameVirtualHost *:90 has no VirtualHosts
und egal welchen port ich dann im webbrowser aufrufe .. ich bekomm immer den autoindex vom selben ordner ...
wie stell ich vhost so ein das sie einfach nur auf einen anderen port lauschen und wenn sie gefragt sind auf ihren docroot zugreifen ?
danke im voraus
lg
thing