<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
I m' having problems with Substitutions NginxHttpSubsModule,<br>
Everything seems to be well installed, but it doesn't substitute
anything in the html pages.<br>
<br>
Here is my config file:<br>
<br>
********************************************<br>
&nbsp;upstream hoplanet {<br>
<pre wrap="">    ip_hash;
    server 94.23.227.152:9190 max_fails=6 fail_timeout=60s;
    server 94.23.227.152:9191 max_fails=6 fail_timeout=60s;
    server 94.23.227.152:9192 max_fails=6 fail_timeout=60s;
    server 94.23.227.152:9193 max_fails=6 fail_timeout=60s;
  }

  server {
    listen 8201;
    server_name <a class="moz-txt-link-abbreviated"
 href="http://www.hopla-net.com">www.hopla-net.com</a> hopla-net.com;
    access_log /home/awstats/hoplanet/access.log varnish;
    access_log /dev/null;

    if ($host ~* ^hopla-net\.com$) {
       rewrite ^(.*) <a class="moz-txt-link-freetext"
 href="http://www.hopla-net.com$1">http://www.hopla-net.com$1</a> permanent;
       break;
    }


    rewrite ^/(.*) <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>VirtualHostBase/http/www.hopla-net.com:80/hopla-net/VirtualHostRoot<span
 class="moz-txt-tag">/</span></i>$1 last;

    location / {
      subs_filter_types text/html text/xml;
      subs_filter chantent blabla;
      proxy_pass <a class="moz-txt-link-freetext" href="http://hoplanet">http://hoplanet</a>;
    }

  }
****************************************************

I've desactivated Varnish and request directly to nginx, but 'chantent' in my pages are not substitued.

<span>I wonder if substitution doesn't work on proxied data???

Could you help me with that?

Thank you very much

</span><span>Martronic SA</span>
<span>Martial Moret
</span></pre>
</body>
</html>