Why I can not replace string in pages? Can I debug what happening? Help me, please.<br><br><div class="gmail_quote">2012/10/20 Jeszenszky Zoltán <span dir="ltr"><<a href="mailto:jeszenszky.zoltan@gmail.com" target="_blank">jeszenszky.zoltan@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Hello,<br>
<br>
I just add these rows to the default config (/usr/local/nginx/conf/nginx.conf) at the end of the location section:<br>
<br>
        location / {<br>
            root   html;<br>
            index  index.html index.htm;<br>
        sub_filter      nginx 'newstring';<br>

        sub_filter_once off;<br>

        subs_filter_types text/html text/css text/xml;<br>

        subs_filter nginx 'newstring' i;<br>
        }<br>
<br>
But if I see the <a href="http://localhost" target="_blank">http://localhost</a> in firefox there is no "newstring" instead of "nginx".<br>
Why? I expected to replace the nginx string...<br>
<br>
/usr/src/nginx/nginx-1.2.4# /usr/local/nginx/sbin/nginx -V<br>
nginx version: nginx/1.2.4<br>
built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) <br>
TLS SNI support enabled<br>
configure arguments: --with-pcre-jit --with-debug --with-file-aio 
--with-http_addition_module --with-http_dav_module 
--with-http_flv_module --with-http_gzip_static_module 
--with-http_mp4_module --with-http_random_index_module 
--with-http_realip_module --with-http_secure_link_module 
--with-http_stub_status_module --with-http_ssl_module 
--with-http_sub_module 
--add-module=/usr/src/nginx/ngx_http_substitutions_filter_module/<br>
</blockquote></div><br><br clear="all"><br>-- <br>Üdvözlettel / Best Regards,<div>Unix and TSM administrator</div><br>