Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chrooted Apache not recognizing ip alias
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nnothing
n00b
n00b


Joined: 16 Oct 2004
Posts: 1

PostPosted: Thu Dec 16, 2004 3:51 pm    Post subject: Chrooted Apache not recognizing ip alias Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum