httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist.vanbes...@gmail.com
Subject Re: [users@httpd] Running Apache reverse proxy on different https port
Date Tue, 20 Jan 2009 05:34:45 GMT
On 1/20/09, ananth desh <ananth.desh@gmail.com> wrote:
> Hi All,
>     I am running a reverse proxy with one public address, And  there
> are 3 backend servers .My question  is, can i have a https port
> listening on port  other than the standard 443.
>  Basically i want to achieve  this way.
> https://www.abc.com:440
> https://www.xyz.com:441
> https://www.pqr.com:442
>

You can do this, no problem at all.
- Just ad "Listen" directives for each port you want to use.
Listen 440
Listen 441
Listen 442

And then add three virtual hosts:

<VirtualHost *:440>
SSLEngine On
ServerName www.abc.com
# Insert rest of server config here
</VirtualHost>

<VirtualHost *:441>
SSLEngine On
ServerName www.xyz.com
# Insert rest of server config here
</VirtualHost>

<VirtualHost *:442>
SSLEngine On
ServerName www.pqr.com
# Insert rest of server config here
</VirtualHost>

This ought to work without trouble.

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message