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

Re: Moving website to different server



Veljko:
> 
> 1. Load modules proxy, proxy_http, headers
> 2. Insert this configuration:
> ----------------------------------
> ProxyRequests Off
> <Proxy *>
>   Order deny,allow
>   Allow from all
> </Proxy>
> 
> ProxyVia On
> ProxyPreserveHost On
> ProxyPass / https://ip_of_new_server
> ProxyDomain mydomain.com
> ----------------------------------
> into every VirtualHost block I want to migrate.
> 
> Would this be enough?

Looks ok, as far as I can see. I don't think you need ProxyDomain here,
but then again I don't understand the documentation about that well
enough. :) Anyway, the ProxyPreserveHost is what you most probably need
when talking to your new server via IP address instead of hostname.

J.
-- 
In the west we kill people like chickens.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: