|
 |
apache_server thread: Apache Virtual Host Conundrum
Message #1 by "Apache Server" <apacheserver@y...> on Sun, 9 Feb 2003 22:55:49 -0500
|
|
Hello,
Have bit of an issue I've bee wracking my head (and the web about).
Here is the scenario:
I have Apache configured to do virtual hosts and they are all working
fine on port 80. I'm using mDaemon as an email server and it comes with
a webmail ISAPI application (called WorldClient) that I have configured
to run on port 3000.
What I'd like to do is somehow setup Apache such that any requests
coming in on http://webmail.mydomain.com (port 80) are automatically
routed (by Apache) to the internal email server (port 3000) where
mDaemon's World Client will pickup the request and display the web
interface.
I've gotten aliases and redirects to work fine (through Apache), but the
user's URL address bar then shows port 3000. I don't want to reveal to
the user that they have been redirected to another server using a
different port.
Is there any way to do this through Apache? If not through Apache, is
there some other way through DNS, router, config that I can pull this
off?
Thanks!
Message #2 by "karthikeyan.balasubramanian" <karthikeyan.balasubramanian@a...> on Mon, 10 Feb 2003 12:08:29 +0530
|
|
use Frames, quick and easy way
----- Original Message -----
From: "Apache Server" <apacheserver@y...>
To: "Apache Server" <apache_server@p...>
Sent: Monday, February 10, 2003 9:25 AM
Subject: [apache_server] Apache Virtual Host Conundrum
>
> Hello,
>
> Have bit of an issue I've bee wracking my head (and the web about).
> Here is the scenario:
>
> I have Apache configured to do virtual hosts and they are all working
> fine on port 80. I'm using mDaemon as an email server and it comes with
> a webmail ISAPI application (called WorldClient) that I have configured
> to run on port 3000.
>
> What I'd like to do is somehow setup Apache such that any requests
> coming in on http://webmail.mydomain.com (port 80) are automatically
> routed (by Apache) to the internal email server (port 3000) where
> mDaemon's World Client will pickup the request and display the web
> interface.
>
> I've gotten aliases and redirects to work fine (through Apache), but the
> user's URL address bar then shows port 3000. I don't want to reveal to
> the user that they have been redirected to another server using a
> different port.
>
> Is there any way to do this through Apache? If not through Apache, is
> there some other way through DNS, router, config that I can pull this
> off?
>
> Thanks!
>
>
>
Message #3 by "Apache_Server" <apacheserver@y...> on Mon, 10 Feb 2003 14:59:25 -0500
|
|
I tried that, but from behind a proxy, it still shows the URL, outside is
fine, any idea why?
-----Original Message-----
From: "karthikeyan.balasubramanian"
<karthikeyan.balasubramanian@a...>
To: "Apache Server" <apache_server@p...>
Date: Mon, 10 Feb 2003 12:08:29 +0530
Subject: [apache_server] Re: Apache Virtual Host Conundrum
> use Frames, quick and easy way
>
> ----- Original Message -----
> From: "Apache Server" <apacheserver@y...>
> To: "Apache Server" <apache_server@p...>
> Sent: Monday, February 10, 2003 9:25 AM
> Subject: [apache_server] Apache Virtual Host Conundrum
>
>
> >
> > Hello,
> >
> > Have bit of an issue I've bee wracking my head (and the web about).
> > Here is the scenario:
> >
> > I have Apache configured to do virtual hosts and they are all working
> > fine on port 80. I'm using mDaemon as an email server and it comes
> with
> > a webmail ISAPI application (called WorldClient) that I have
> configured
> > to run on port 3000.
> >
> > What I'd like to do is somehow setup Apache such that any requests
> > coming in on http://webmail.mydomain.com (port 80) are automatically
> > routed (by Apache) to the internal email server (port 3000) where
> > mDaemon's World Client will pickup the request and display the web
> > interface.
> >
> > I've gotten aliases and redirects to work fine (through Apache), but
> the
> > user's URL address bar then shows port 3000. I don't want to reveal
> to
> > the user that they have been redirected to another server using a
> > different port.
> >
> > Is there any way to do this through Apache? If not through Apache,
> is
> > there some other way through DNS, router, config that I can pull this
> > off?
> >
> > Thanks!
> >
> >
> >
>
>
>
Message #4 by "Daniel Walker" <danielw@g...> on Mon, 17 Feb 2003 17:43:51
|
|
Hi,
I don't think you can do this, since you're actually asking the
_browser_ to lie, not the website. If I understand you correctly you are
sending the browser a message, saying "retry your request, here, using this
port". The address bar can merely display honestly what it is asked to do.
Could you maybe hack the output generated by mDaemon, so that you could
include that output into one of your own pages on your home domain without
breaking the logic of your page structure? Just a thought.
Dan
> Hello,
Have bit of an issue I've bee wracking my head (and the web about).
Here is the scenario:
I have Apache configured to do virtual hosts and they are all working
fine on port 80. I'm using mDaemon as an email server and it comes with
a webmail ISAPI application (called WorldClient) that I have configured
to run on port 3000.
What I'd like to do is somehow setup Apache such that any requests
coming in on http://webmail.mydomain.com (port 80) are automatically
routed (by Apache) to the internal email server (port 3000) where
mDaemon's World Client will pickup the request and display the web
interface.
I've gotten aliases and redirects to work fine (through Apache), but the
user's URL address bar then shows port 3000. I don't want to reveal to
the user that they have been redirected to another server using a
different port.
Is there any way to do this through Apache? If not through Apache, is
there some other way through DNS, router, config that I can pull this
off?
Thanks!
Message #5 by Apache Server <apacheserver@y...> on Mon, 17 Feb 2003 16:03:31 -0500
|
|
I was hoping for some type of "proxy"-like config in Apache, since when
you have a proxy server setup, it redirects to a proxy server on a
different IP:port and doesn't report that it's doing so to the browser.
I thought something like this could be done, but simply to another IP:port.
Also, something like this happens with Java server add-ins such as
Tomcat and Resin, which operate on a different, internal port, that
isn't reported to the browser either.
I'm just not that adept at the manual Apache config. to fiddle with it
enough to get what I want...
Daniel Walker wrote:
>Hi,
>
>
> I don't think you can do this, since you're actually asking the
>_browser_ to lie, not the website. If I understand you correctly you are
>sending the browser a message, saying "retry your request, here, using this
>port". The address bar can merely display honestly what it is asked to do.
>
>
>
>
> Could you maybe hack the output generated by mDaemon, so that you could
>include that output into one of your own pages on your home domain without
>breaking the logic of your page structure? Just a thought.
>
>
>
>
>Dan
>
>
>
>
>
>
>>Hello,
>>
>>
>
>
>
>
>Have bit of an issue I've bee wracking my head (and the web about).
>
>
>Here is the scenario:
>
>
>
>
>I have Apache configured to do virtual hosts and they are all working
>
>
>fine on port 80. I'm using mDaemon as an email server and it comes with
>
>
>a webmail ISAPI application (called WorldClient) that I have configured
>
>
>to run on port 3000.
>
>
>
>
>What I'd like to do is somehow setup Apache such that any requests
>
>
>coming in on http://webmail.mydomain.com (port 80) are automatically
>
>
>routed (by Apache) to the internal email server (port 3000) where
>
>
>mDaemon's World Client will pickup the request and display the web
>
>
>interface.
>
>
>
>
>I've gotten aliases and redirects to work fine (through Apache), but the
>
>
>user's URL address bar then shows port 3000. I don't want to reveal to
>
>
>the user that they have been redirected to another server using a
>
>
>different port.
>
>
>
>
>Is there any way to do this through Apache? If not through Apache, is
>
>
>there some other way through DNS, router, config that I can pull this
>
>
>off?
>
>
>
>
>Thanks!
>
>
>
>
>
>
|
|
 |