RE: Https proxy on http Virtual Host

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

 



> -----Original Message-----
> From: Bronzetti Marco [mailto:marco.bronzetti@xxxxxxxxxxxxxxxx] 
> Sent: Wednesday, October 10, 2007 9:46 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject:  Https proxy on http Virtual Host
> 
> Hi,
> I need to do a Reverse proxy to a Https WebSite from an Http  WebSite,
> my httpd.conf  should be  like that :
> 
> <VirtualHost test.telecomitalia.it:80>
>  ServerName test.telecomitalia.it
>  ErrorLog /appl1/logs/http_error.log
>  CustomLog /appl1/logs/http_access.log common
>  DocumentRoot /docroot
>  DirectoryIndex index.html index.html.var
>  <IfModule mod_proxy.c>
>    ProxyPass /rep-rs/ https://10.173.82.30/rep-rs/
>    ProxyPass /ti-csr/ https://10.173.82.30/ti-csr/
>  </IfModule>
> </VirtualHost>
> 
> Is it possible to do that ?

Yes, but not like that...

If the back-end is an HTTPS server, then the front-end (ie your apache)
has to talk SSL to it. To do this, it needs to use mod_ssl and special
directives to contact a back-end HTTPS server (see
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html and
http://httpd.apache.org/docs/2.2/mod/mod_ssl.html)

By the way, I guess the back-end is a legacy server that you can't
change? Otherwise, it is pretty silly to do this since the connection
from the client to the front-end will be plain HTTP and it makes no
sense to protect data for only part of its journey. 

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> If yes I can to do this ?
> 
> Regards
> Marco Bronzetti
> --------------------------------------------------------------------
> 
> CONFIDENTIALITY NOTICE
> 
> This message and its attachments are addressed solely to the 
> persons above and may contain confidential information. If 
> you have received the message in error, be informed that any 
> use of the content hereof is prohibited. Please return it 
> immediately to the sender and delete the message. Should you 
> have any questions, please contact us by replying to 
> webmaster@xxxxxxxxxxxxxxxxx
> 
>         Thank you
> 
>                                         www.telecomitalia.it
> 
> --------------------------------------------------------------------
>                         
> 
> ---------------------------------------------------------------------
> 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
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

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