Welcome! Log In Create A New Profile

Advanced

Re: 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 29, 2011 05:36AM
hi

log file and configuration file for nginx hopla.net are attached

Thanks
Martial


> It works in my box. Can you show me your debug log?
>
> http://wiki.nginx.org/Debugging
>
> Do't use this in the production server. The debug log will be very large.
>
>
> 2011/9/28 Martronic SA <martronic@martronic.ch>
>
>> full source attachment
>> Thanks.
>>
>>
>> <a id="portal-logo" href="http://bale.hopla.net" accesskey="1"
>> class="visualNoPrint"><img
>> src="http://bale.hopla.net/portal_logo/image" alt="Logo" title="Logo
>> Hopla-Net" height="175"
>> width="230" /></a>
>>
>> <div id="solgemabandeau" class="visualNoPrint">
>>
>> <div id="portal-bandeau">
>> <div id="inner-portal-bandeau" class="bannersContainer">
>>
>> <div style="position:relative; display: block"
>> id="carousel-banner-0"
>> class="bando.jpg carousel-banner selected">
>> <div style="height:200px; width:100%; background:transparent
>> url(http://bale.hopla.net/bando.jpg) no-repeat scroll left top;"
>> title="Une maison
>> dans un jardin, nouveau bandeau Hopla pour le printemps."
>> class="bandeau_image"></div>
>> </div>
>>
>>
>> <div style="display: none" id="carousel-banner-1"
>> class="bandeauhoplabale.jpg
>> carousel-banner">
>> <div style="height:200px; width:100%; background:transparent
>> url(http://bale.hopla.net/bandeauhoplabale.jpg) no-repeat scroll left
>> top;"
>> title="Le printemps est de retour sur St Louis et Bâle"
>> class="bandeau_image"></div>
>> </div>
>>
>> <span class="bandeauTopLeft"></span>
>>
>> <span class="bandeauTopRight"></span>
>> <span class="bandeauBottomLeft"></span>
>> <span class="bandeauBottomRight"></span>
>> </div>
>> </div>
>>
>> </div>
>>
>> > Can you show me your source page?
>> >
>> > Thanks.
>> >
>> > 2011/9/27 Martronic SA <martronic@martronic.ch>
>> >
>> >> 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://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<
>> http://mailman.nginx.org/mailman/listinfo/nginx>
>> >>
>> > _______________________________________________
>> > nginx mailing list
>> > nginx@nginx.org
>> > http://mailman.nginx.org/mailman/listinfo/nginx
>>
>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Attachments:
open | download - hopla.net.gz (1.1 KB)
open | download - debug_nginx.log.gz (104.1 KB)
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: 139
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