|
Home > Archive > Web Servers General Talk > October 2004 > Apache Web Config question, two servers, same port
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Apache Web Config question, two servers, same port
|
|
| sjohns 2004-09-29, 8:27 pm |
| I'm trying to run Standard Apache 1.3.26 and Oracle's apache at the
same time. The standard apache should be on port 80, the Oracle
apache on another port...say 3333. I have a two dns entrys that point
to the same server. The first dns entry (lets call it DNS1.COM) I
want to be served by the Oracle Apache Server. The second dns entry
(DNS2.COM) should be served by the standard Apache server. I'm
trying to avoid having to use port #s in the URL for those request to
the Oracle apache server.
What should I do to my conf file on the Oracle Apache server to get it
to respond to request that come from DNS1.COM and no port #. Remember
it's listening on port 3333 but someone said I could do something with
the VirtualHost section of the conf file to make this work. So far, I
haven't had any luck.
Is this possible to do at all?
Thanks,
Scott
| |
|
| On 29 Sep 2004 12:10:54 -0700,
"sjohns" <stj_spam@yahoo.com> posted:
> I'm trying to run Standard Apache 1.3.26 and Oracle's apache at the
> same time. The standard apache should be on port 80, the Oracle
> apache on another port...say 3333. I have a two dns entrys that point
> to the same server.
That should be all that's necessary. Each server listens for connections
on its own port, and doesn't care what else goes on.
However...
> I'm trying to avoid having to use port #s in the URL for those request
> to the Oracle apache server.
If you want to use HTTP access to a different server at the same address,
then you're going to have to do that. This is a client-side problem, not
just server-side. You've got to request the right thing, in the first
place.
The alternative is that you'll need to have the servers at different
addresses, and you'd have both servers listening to the standard HTTP port
(80). Then you can use HTTP URIs without port numbers.
--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.
This message was sent without a virus, please delete some files yourself.
|
|
|
|
|