Apache : Redirect web requests - Keep the same host in the URL

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

 



Hello all,

The goal is that users will continue to connect to "https:/server1" but will actually browse to "https://server2".

I have successfully redirected from "server1" to "server2" via apache/http, but the url seen in the browser changes.

 In the following configuration, how can I make this redirection completely transparent to end users?
 
<VirtualHost *:443>

ServerName server2

ServerAlias server2

ErrorLog "C:\Apache24\logs/Error.log"

TransferLog "C:\Apache24\logs/access.log"

LogLevel warn

 SSLEngine on

SSLProxyEngine On

 SSLCertificateFile "E:\certificat\proxy\server2.cer"

SSLCertificateKeyFile "E:\certificat\proxy\server2.dsone.3ds.com_self.key"

 ProxyPass /3dpassport "https://server1/3dpassport"

ProxyPassReverse /3dpassport "https://server1/3dpassport"

 

</VirtualHost>

 

Good week-end !

 



[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