Re: Moving website to different server
- To: debian-user@lists.debian.org
- Subject: Re: Moving website to different server
- From: Veljko <veljko3@gmail.com>
- Date: Sun, 2 Feb 2014 17:32:32 +0100
- Message-id: <20140202163232.GA25740@angelina.example.com>
- In-reply-to: <20140129170524.GD7246@angelina.example.com>
- References: <20140129134255.GA7246@angelina.example.com> <20140129140136.GK26053@well-adjusted.de> <20140129162527.GB7246@angelina.example.com> <20140129164201.GL26053@well-adjusted.de> <20140129170524.GD7246@angelina.example.com>
On 2014-Jan-29 18:05, Veljko wrote:
> Thanks Jochen, I'll try this in a few days and let you know how it went.
In case someone else need something like this, following block worked for me:
ProxyRequests off
ProxyPass / https://ip_of_new_server:443/
ProxyPassReverse / https://ip_of_new_server:443/
ProxyPreserveHost On
SSLProxyEngine On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
As you can see, this is for https. For plain http, SSLProxyEngine should be
removed. Trailing slash is very important.
Thanks again for your help!
Regards,
Veljko
Reply to: