You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ananth desh <an...@gmail.com> on 2009/01/21 05:58:14 UTC

Re: [users@httpd] Running Apache reverse proxy on different https port

Thanks Krist, for your valuable information.

Regards

On Tue, Jan 20, 2009 at 11:04 AM,  <kr...@gmail.com> wrote:
> On 1/20/09, ananth desh <an...@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
>
>

---------------------------------------------------------------------
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


Re: [users@httpd] Running Apache reverse proxy on different https port

Posted by ananth desh <an...@gmail.com>.
Thanks Eric, you are very much right..

On Tue, Jan 27, 2009 at 6:30 PM, Eric Covener <co...@gmail.com> wrote:
> On Tue, Jan 27, 2009 at 1:48 AM, ananth desh <an...@gmail.com> wrote:
>> Hello All,
>>  Thanks for all your tips , Now when i run on port 2443 instead of
>> 443 i get an error on the browser as below
>> "Description: You have made a request for a secure SSL connection to a
>> forbidden port number"
>>
>
> Sounds like a message coming from some Proxy, not Apache.
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> 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
>
>

---------------------------------------------------------------------
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


Re: [users@httpd] Running Apache reverse proxy on different https port

Posted by Eric Covener <co...@gmail.com>.
On Tue, Jan 27, 2009 at 1:48 AM, ananth desh <an...@gmail.com> wrote:
> Hello All,
>  Thanks for all your tips , Now when i run on port 2443 instead of
> 443 i get an error on the browser as below
> "Description: You have made a request for a secure SSL connection to a
> forbidden port number"
>

Sounds like a message coming from some Proxy, not Apache.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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


Re: [users@httpd] Running Apache reverse proxy on different https port

Posted by ananth desh <an...@gmail.com>.
Hello All,
  Thanks for all your tips , Now when i run on port 2443 instead of
443 i get an error on the browser as below
"Description: You have made a request for a secure SSL connection to a
forbidden port number"

Please let me know whats the reason for this error.
Thanks


On Thu, Jan 22, 2009 at 8:58 PM, Krist van Besien
<kr...@gmail.com> wrote:
> On Wed, Jan 21, 2009 at 4:48 PM, Jorge Medina <jm...@e-dialog.com> wrote:
>> You may actually need to specify the protocol:
>>
>> Listen 440 https
>>
>> http://httpd.apache.org/docs/2.2/mod/mpm_common.html#listen
>
> That's new for 2.2 and I suppose not mandatory. (I've never used this)
>
> 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
>
>

---------------------------------------------------------------------
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


Re: [users@httpd] Running Apache reverse proxy on different https port

Posted by Krist van Besien <kr...@gmail.com>.
On Wed, Jan 21, 2009 at 4:48 PM, Jorge Medina <jm...@e-dialog.com> wrote:
> You may actually need to specify the protocol:
>
> Listen 440 https
>
> http://httpd.apache.org/docs/2.2/mod/mpm_common.html#listen

That's new for 2.2 and I suppose not mandatory. (I've never used this)

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


RE: [users@httpd] Running Apache reverse proxy on different https port

Posted by Jorge Medina <jm...@e-dialog.com>.
You may actually need to specify the protocol:

Listen 440 https 

http://httpd.apache.org/docs/2.2/mod/mpm_common.html#listen


-----Original Message-----
From: ananth desh [mailto:ananth.desh@gmail.com] 
Sent: Tuesday, January 20, 2009 11:58 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Running Apache reverse proxy on different
https port

Thanks Krist, for your valuable information.

Regards

On Tue, Jan 20, 2009 at 11:04 AM,  <kr...@gmail.com> wrote:
> On 1/20/09, ananth desh <an...@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
>
>

---------------------------------------------------------------------
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


---------------------------------------------------------------------
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