Welcome! Log In Create A New Profile

Advanced

Nginx Substitutions Filter problem

All files from this thread

File Name File Size   Posted by Date  
hopla.net.gz 1.1 KB open | download martro 09/29/2011 Read message
debug_nginx.log.gz 104.1 KB open | download martro 09/29/2011 Read message
September 27, 2011 02:42AM
Hello,

We are using the "Substitutions Filter module"
to replace html content in our pages.

Our configuration is :

location /{
subs_filter_types text/html text/xml;
subs_filter 'http://bale.hopla.net/bons-plans'
'http://bons-plans.hopla.net';
subs_filter 'id="portal-logo" href="http://bale.hopla.net"'
'id="portal-logo" href="http://www.hopla.net"';
}

The first substitution is working, but the second not.
Are we missing something? Is the "space" supported in substitution module?

Thank you for your help!

Martronic SA

nginx -V
nginx: nginx version: nginx/1.1.4
nginx: built by gcc 4.3.2 (Debian 4.3.2-1.1)
nginx: TLS SNI support enabled
nginx: configure arguments: --conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid
--lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log
--with-http_dav_module --http-client-body-temp-path=/var/lib/nginx/body --with-http_ssl_module
--http-proxy-temp-path=/var/lib/nginx/proxy --with-http_stub_status_module
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi
--add-module=/var/lib/substitutions4nginx-read-only



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Does the long polling module work with nginx 1.0.6?

Ian Hobson September 26, 2011 04:34PM

Re: Does the long polling module work with nginx 1.0.6?

Thomas Love September 26, 2011 05:00PM

Re: Does the long polling module work with nginx 1.0.6?

hobson42 September 26, 2011 05:16PM

Re: Does the long polling module work with nginx 1.0.6?

Thomas Love September 26, 2011 06:12PM

Re: Does the long polling module work with nginx 1.0.6?

Elena Zwetkow September 27, 2011 12:54AM

Nginx Substitutions Filter problem

martro September 27, 2011 02:42AM

Re: Nginx Substitutions Filter problem

姚伟斌 September 28, 2011 04:12AM

Re: Nginx Substitutions Filter problem

martro September 28, 2011 05:44AM

Re: Nginx Substitutions Filter problem

martro September 28, 2011 05:46AM

Re: Nginx Substitutions Filter problem

姚伟斌 September 29, 2011 12:44AM

Re: Nginx Substitutions Filter problem Attachments

martro September 29, 2011 05:36AM

Re: Nginx Substitutions Filter problem

姚伟斌 September 29, 2011 06:26AM

Re: Nginx Substitutions Filter problem

martro September 29, 2011 08:12AM

Re: Nginx Substitutions Filter problem

agentzh September 29, 2011 12:10PM

Re: Nginx Substitutions Filter problem

martro September 30, 2011 04:54AM

Re: Nginx Substitutions Filter problem

姚伟斌 October 07, 2011 10:38PM

Re: Nginx Substitutions Filter problem

agentzh October 07, 2011 10:46PM

Re: Nginx Substitutions Filter problem

姚伟斌 October 08, 2011 01:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 166
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready