Le 03/04/2013 11:34, Tom Evans a écrit :
On Tue, Apr 2, 2013 at 9:18 PM, Thibaut Lemaire wrote:
Le 02/04/2013 18:45, Tom Evans a écrit :
Do you mean proxy - you want to connect to a different server, fetch
that content over the network to this server, and then deliver it to
the client?
Yes,
On Tue, Apr 2, 2013 at 9:18 PM, Thibaut Lemaire wrote:
>
> Le 02/04/2013 18:45, Tom Evans a écrit :
>
>> Do you mean proxy - you want to connect to a different server, fetch
>> that content over the network to this server, and then deliver it to
>> the client?
>
>
> Yes, it's what I want to do. Is
Le 02/04/2013 18:45, Tom Evans a écrit :
Do you mean proxy - you want to connect to a different server, fetch
that content over the network to this server, and then deliver it to
the client?
Yes, it's what I want to do. Isn't it the good way ?
--
On Tue, Apr 2, 2013 at 5:18 PM, Thibaut Lemaire wrote:
> Hi,
>
> I want to use Apache to proxy requests like domain.tld.MyDomain.tld to
> domain.tld.
>
> I've tried this :
>
>
> RewriteEngine on
> RewriteCond %{HTTP_HOST}(.*).MyDomain.tld$
> RewriteRule (.*).MyDomain.tl
Hi,
I want to use Apache to proxy requests like domain.tld.MyDomain.tld to
domain.tld.
I've tried this :
RewriteEngine on
RewriteCond %{HTTP_HOST}(.*).MyDomain.tld$
RewriteRule (.*).MyDomain.tld$ $1
ProxyPassMatch /http://$1/
But of course it doesn't work.
I'