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 tib1av...@gmail.com 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

[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 : VirtualHost *:80 RewriteEngine on RewriteCond %{HTTP_HOST}(.*).MyDomain.tld$ RewriteRule (.*).MyDomain.tld$ $1 ProxyPassMatch /http://$1/ /VirtualHost But

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] DEFLATE after Substitute on Apache Proxy Server

2012-12-19 Thread Thibaut Lemaire
Le 18/12/2012 20:30, Nick Kew a écrit Something in your setup is failing to set the right headers to describe the contents returned. Apart from looking for clues in the error log, you could diagnose it starting by looking at exactly what gets sent to the browser. Or you could post a URL that

Re: [users@httpd] DEFLATE after Substitute on Apache Proxy Server

2012-12-19 Thread Thibaut Lemaire
Le 19/12/2012 16:31, Nick Kew a écrit : On Wed, 19 Dec 2012 10:16:06 +0100 Thibaut Lemaire tib1av...@gmail.com wrote: You can see the problem on this url : http://test2.titag.com/ Yep, you have a problem. It's lacking a Content-Encoding header. Two points here: 1. It smells of bug

[users@httpd] DEFLATE after Substitute on Apache Proxy Server

2012-12-18 Thread Thibaut Lemaire
Hi all, I've got a problem in configuring Proxy on Apache : I want to : 1/ get a content from a website (Deflate or not) ; 2/ apply a filter on it to substitute some text on the body of the page ; 3/ resend the page to the client after apply the Deflate filter to the altered page. My