Re: [users@httpd] Problem with wildcard subdomains and ProxyPass

2013-04-04 Thread Thibaut Lemaire
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,

Re: [users@httpd] Problem with wildcard subdomains and ProxyPass

2013-04-03 Thread Tom Evans
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

Re: [users@httpd] Problem with wildcard subdomains and ProxyPass

2013-04-02 Thread Thibaut Lemaire
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 ? --

Re: [users@httpd] Problem with wildcard subdomains and ProxyPass

2013-04-02 Thread Tom Evans
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

[users@httpd] Problem with wildcard subdomains and ProxyPass

2013-04-02 Thread Thibaut Lemaire
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'