[Xitami] Re: Separate server processes for different subdomains

Utku Uzmen xitami@lists.xitami.org
Fri, 29 Nov 2002 01:45:20 +0200


Paul and Marc, thanks for your replies. Basically both of you has
suggested the same idea, which I'm already using (you can try going to
www.maddrive.com and mail.maddrive.com to see it for yourself, if you
like). However I want this redirection to be all server-side and totally
transparent to the user. The reason I want to do this is because I want
my webmail server to be reached using WAP-enabled mobile phones (the
webmail server supports WAP). But because it's running on port 800, the
WAP gateways that I've tried can't access the server. If I can do the
redirection transparently at the server, I think I'll be able to reach
the webmail server. I'd really appreciate anything you might want to
suggest.




Utku Uzmen
----------------------
http://www.maddrive.com/
utku@maddrive.com


----- Original Message -----
Date: Wed, 27 Nov 2002 16:56:01 -0500
From: Paul Reid <preid@rci.rutgers.edu>
To: Utku Uzmen <xitami@lists.xitami.org>
Subject: Re: [Xitami] Separate server processes for different subdomains
Reply-To: xitami@lists.xitami.org

> 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

The only easy way to do that is to put a click-link on your port-80
main page: <A HREF="http://mydomain.com:800">Webmail!</a>

If your main page loads quickly, this is one-click for the users.

What -might- work slicker is a V-host main page that did a quick
redirect. The HTML below seems to work for me (with your real URL).
The user sees a black page with a link, but if the browser handles a
meta-redirect (and if your server is quick) they hardly see it at
all before your mail-page opens. If their browser doesn't take the
hint, they click on "Web-Mail" and get there.

<HTML>
 <HEAD>
  <TITLE>bouncing . . . .</TITLE>
<meta http-equiv="refresh" content="1; URL=http://mydomain.com:800">

 </HEAD>

<BODY bgcolor="#000000">
 &nbsp;
 <p>
 &nbsp;
 <p>
 <TABLE cellpadding="10" cellspacing="0" align="center" valign="center">
   <TR align="center">
     <TD width="100%" align="center" bgcolor=#E6E7E1>
Jump to <a href="http://http://mydomain.com:800">Web-Mail</a>
       </TD>
   </TR>
 </TABLE>

</BODY>
</HTML>

Otherwise it gets pretty messy.


 -PRR