iptables, SSL Apache, multiple virtual servers
I need to run two websites on one machine.
Options I've seen so far:
- Apache virtual server. Problem: can't run SSL-enabled.
- linux-vserver. Problem: still beta, seems pretty hard to use, and
the documentation isn't very good.
So I'm wondering if there's some way for iptables to determine what
the requested hostname was, and redirect accordingly. Ie. can
iptables say, "This SSL'ed packet was meant for port 443 on foo.org,
so I'll redirect it to port 553 on this same machine" (and then maybe
have a different instance of apache listening on port 553)? I think if
you give iptables the -s option it still saves that as an IP address
rather than preserving the name.
Last edited by gypsy_rabbi; 09-11-2004 at 05:20 PM.