Re: Running Apache reverse proxy on different https port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/20/09, ananth desh <ananth.desh@xxxxxxxxx> 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@xxxxxxxxx
krist@xxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux