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

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

 



First point: you're proxying, and not redirecting.

Secondly, if the end user sees the URL change, then the ProxyPassReverse directive is too specific. Some part of the page content could also be causing issues, so that would need to be inspected first.

On Sat, 26 Mar 2022 at 07:53, olivier giorgi <olivier_giorgi@xxxxxxxx.invalid> wrote:

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