Can you show me your source page? <div><br></div><div>Thanks.<br><br><div class="gmail_quote">2011/9/27 Martronic SA <span dir="ltr"><<a href="mailto:martronic@martronic.ch">martronic@martronic.ch</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
We are using the "Substitutions Filter module"<br>
to replace html content in our pages.<br>
<br>
Our configuration is :<br>
<br>
location /{<br>
subs_filter_types text/html text/xml;<br>
subs_filter '<a href="http://bale.hopla.net/bons-plans" target="_blank">http://bale.hopla.net/bons-<u></u>plans</a>' '<a href="http://bons-plans.hopla.net" target="_blank">http://bons-plans.hopla.net</a>';<br>
subs_filter 'id="portal-logo" href="<a href="http://bale.hopla.net" target="_blank">http://bale.hopla.net</a>"' 'id="portal-logo" href="<a href="http://www.hopla.net" target="_blank">http://www.hopla.net</a>"';<br>
}<br>
<br>
The first substitution is working, but the second not.<br>
Are we missing something? Is the "space" supported in substitution module?<br>
<br>
Thank you for your help!<br>
<br>
Martronic SA<br>
<br>
nginx -V<br>
nginx: nginx version: nginx/1.1.4<br>
nginx: built by gcc 4.3.2 (Debian 4.3.2-1.1)<br>
nginx: TLS SNI support enabled<br>
nginx: configure arguments: --conf-path=/etc/nginx/nginx.<u></u>conf<br>
--error-log-path=/var/log/<u></u>nginx/error.log --pid-path=/var/run/nginx.pid<br>
--lock-path=/var/lock/nginx.<u></u>lock --http-log-path=/var/log/<u></u>nginx/access.log<br>
--with-http_dav_module --http-client-body-temp-path=/<u></u>var/lib/nginx/body --with-http_ssl_module<br>
--http-proxy-temp-path=/var/<u></u>lib/nginx/proxy --with-http_stub_status_module<br>
--http-fastcgi-temp-path=/var/<u></u>lib/nginx/fastcgi<br>
--add-module=/var/lib/<u></u>substitutions4nginx-read-only<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/<u></u>mailman/listinfo/nginx</a><br>
</blockquote></div><br></div>