Hallo, Aus technischen (und finanziellen Gründen) will ich einen meiner kleinen Server (Debian GNU/Linux Sarge, apache 1.3) abschalten und die VHosts auf meine große Mashine übertragen, OHNE das ich was am DNS rumschrauben muß.
Die Domains sind:
www.tamay-dogan.net:80
ecocity.tamay-dogan.net:80
electronica.tamay-dogan.net:80
energia.tamay-dogan.net:80
onlinestore.tamay-dogan.net:80
onlinestore.tamay-dogan.net:443
So, nun habe ich einfach ein neues eth0:1 mit der IP des kleinen VServer
erstellt und in die httpd.conf
NamedVirtualHost 192.168.0.200
eingetragen wozu anzumerken ist, das das routing von den public IP's auf
die privaten IP's von meinem CISCO übernommen wird.
Soweit geht das, aber ich bekomme nun:
----[ command 'apache2ctl -t -D DUMP_VHOSTS' ]--------------------------
[Tue Aug 12 17:24:42 2008] [error] VirtualHost onlinestore.tamay-dogan.net:443
-- mixing * ports and non-* ports with a NameVirtualHost address is not
supported, proceeding with undefined results
[Tue Aug 12 17:24:42 2008] [error] VirtualHost onlinestore.tamay-dogan.net:80
-- mixing * ports and non-* ports with a NameVirtualHost address is not
supported, proceeding with undefined results
[Tue Aug 12 17:24:42 2008] [error] VirtualHost energia.tamay-dogan.net:80 --
mixing * ports and non-* ports with a NameVirtualHost address is not supported,
proceeding with undefined results
[Tue Aug 12 17:24:42 2008] [error] VirtualHost electronica.tamay-dogan.net:80
-- mixing * ports and non-* ports with a NameVirtualHost address is not
supported, proceeding with undefined results
[Tue Aug 12 17:24:42 2008] [error] VirtualHost ecocity.tamay-dogan.net:80 --
mixing * ports and non-* ports with a NameVirtualHost address is not supported,
proceeding with undefined results
[Tue Aug 12 17:24:42 2008] [error] VirtualHost 192.168.0.200:80 -- mixing *
ports and non-* ports with a NameVirtualHost address is not supported,
proceeding with undefined results
VirtualHost configuration:
192.168.0.200:* is a NameVirtualHost
default server www.tamay-dogan.net
(/etc/apache2/sites-enabled/111_net.tamay-dogan.www:1)
port 80 namevhost www.tamay-dogan.net
(/etc/apache2/sites-enabled/111_net.tamay-dogan.www:1)
port 80 namevhost ecocity.tamay-dogan.net
(/etc/apache2/sites-enabled/net.tamay-dogan.ecocity:1)
port 80 namevhost electronica.tamay-dogan.net
(/etc/apache2/sites-enabled/net.tamay-dogan.electronica:1)
port 80 namevhost energia.tamay-dogan.net
(/etc/apache2/sites-enabled/net.tamay-dogan.energia:1)
port 80 namevhost onlinestore.tamay-dogan.net
(/etc/apache2/sites-enabled/net.tamay-dogan.onlinestore:1)
port 443 namevhost onlinestore.tamay-dogan.net
(/etc/apache2/sites-enabled/net.tamay-dogan.onlinestore:28)
------------------------------------------------------------------------
und wenn ich versuche in zu starten bekomme ich nun:
----[ command 'invoke-rc.d apache2 start' ]-----------------------------
Starting web server (apache2)...[Tue Aug 12 17:26:30 2008] [error] VirtualHost
onlinestore.tamay-dogan.net:443 -- mixing * ports and non-* ports with a
NameVirtualHost address is not supported, proceeding with undefined results
[Tue Aug 12 17:26:30 2008] [error] VirtualHost onlinestore.tamay-dogan.net:80
-- mixing * ports and non-* ports with a NameVirtualHost address is not
supported, proceeding with undefined results
[Tue Aug 12 17:26:30 2008] [error] VirtualHost energia.tamay-dogan.net:80 --
mixing * ports and non-* ports with a NameVirtualHost address is not supported,
proceeding with undefined results
[Tue Aug 12 17:26:30 2008] [error] VirtualHost electronica.tamay-dogan.net:80
-- mixing * ports and non-* ports with a NameVirtualHost address is not
supported, proceeding with undefined results
[Tue Aug 12 17:26:30 2008] [error] VirtualHost ecocity.tamay-dogan.net:80 --
mixing * ports and non-* ports with a NameVirtualHost address is not supported,
proceeding with undefined results
[Tue Aug 12 17:26:30 2008] [error] VirtualHost 192.168.0.200:80 -- mixing *
ports and non-* ports with a NameVirtualHost address is not supported,
proceeding with undefined results
failed!
invoke-rc.d: initscript apache2, action "start" failed.
------------------------------------------------------------------------
was weniger gut ist.
Die Frage ist, wie muß ich das jetzt machen, denn wenn ich
NamedVirtualHost 192.168.0.200:80
angebe, funktioniert der OnlineStore:443 nicht mehr.
Irgendwelche Ideen?
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature
