nnothing n00b
Joined: 16 Oct 2004 Posts: 1
|
Posted: Thu Dec 16, 2004 3:51 pm Post subject: Chrooted Apache not recognizing ip alias |
|
|
Hi,
Im trying to host two ssl enabled domains on one interface through aliases, but when apache is chrooted it only recognizes the first ip.
my /etc/conf.d/net file:
Code: | iface_eth0="192.168.0.3 broadcast 192.168.0.255 netmask 255.255.255.0"
gateway="eth0/192.168.0.1"
alias_eth0="192.168.0.4"
|
Command:
Code: | chroot /mnt/hdb/apache2/ /bin/httpd -d / -f /conf/httpd.conf |
Output:
Code: | (99)Cannot assign requested address: make_sock: could not bind to address 192.168.0.4:443
no listening sockets available, shutting down
|
Everything works fine if I bind both ssl domains to my non-aliased ip with different ports. Im overly paranoid, so im not giving anything away which includes my doamin name.
Important bits of my apache config files:
Code: | <VirtualHost 192.168.0.3:443>
stuff
<VirtualHost 192.168.0.4:443>
stuff
Listen 192.168.0.3:80
Listen 192.168.0.3:443
Listen 192.168.0.4:443
|
Any help greatly appreciated. Thanks |
|