[Xitami] Separate server processes for different subdomains
Utku Uzmen
xitami@lists.xitami.org
Wed, 27 Nov 2002 23:33:06 +0200
Hi,
I have Xitami running on port 80. I also have a web-mail server on the
same computer running on port 800. I'm trying to set things up in such a
way that:
- If the "Host: " field is mail.mydomain.com, the packets should be
routed to the web-mail server on port 800.
- All other "Host: " values should be handled by Xitami.
As a diagram:
Incoming data-->Port 80|-->Port 800 (webmail; Host: mail.mydomain.com)
|
|-->Port 801(xitami; Host:
<anything else>)
Right now all requests on port 80 are handled by Xitami. I set up a
virtual server for mail.mydomain.com, and the index page of this virtual
server redirects the browser to http://mydomain.com:800. But you see,
that's not what I want. Does anybody have any suggestions, either for an
alternative way or for a program that will do such routing?
Note: www.mydomain.com, mail.mydomain.com, and mydomain.com all point to
the same IP address.
Thanks in advance,
Utku Uzmen
----------------------
http://www.maddrive.com/
utku@maddrive.com