Welcome! Log In Create A New Profile

Advanced

Re: Gzipping proxied content after using subs_filter fails

姚伟斌
August 13, 2012 02:02AM
Thanks. I'll check this problem tonight. Can you send me your
nginx.conf and the test page?

You can sent it to my private email: yaoweibin@gmai.com

2012/8/13 abstein2 <nginx-forum@nginx.us>:
> It looks like there's an issue with the newest revision of the module
> and nginx 1.2.3. When installed, whether gzip is on or off, the portion
> of code that was previously missing/not transmitted now gets
> transmitted, but isn't the actual page content. Instead it's gibberish
> with some of the raw nginx configuration mixed in.
>
> An example of the code being output:
>
> Xv±t™ Xv±t™ ý ý w.google-analytics.com/urchin.js"
> type="text/javascript"> ct.asp">CONTACT US | PRIVACY POLICY | TERMS OF
> USE
> ccel-expires x-accel-charset x-accel-redirect status x-accel-buffering x-accel-limit-rate x-accel-expires x-accel-charset x-accel-redirect ¨Æ½ /usr/scgi_temp@ǽ €Ç½ Àǽ Ƚ @Ƚ status x-accel-buffering x-accel-limit-rate x-accel-expires x-accel-charset x-accel-redirect ɽ /usr/scgi_tempÀɽ ʽ @ʽ €Ê½ Àʽ status x-accel-buffering x-accel-limit-rate x-accel-expires x-accel-charset x-accel-redirect h˽ /usr/scgi_temp̽ @̽ €Ì½ À̽ ͽ status x-accel-buffering x-accel-limit-rate x-accel-expires x-accel-charset x-accel-redirect Èͽ /usr/scgi_temp€Î½ Àν Ͻ @Ͻ €Ï½ status x-accel-buffering x-accel-limit-rate x-accel-expires x-accel-charset x-accel-redirect (н /usr/scgi_tempÀн ѽ @ѽ €Ñ½ Àѽ status x-accel-buffering x-accel-limit-rate x-accel-expires x-accel-charset x-accel-redirect ˆÒ½ /usr/scgi_temp@Ó½ €Ó½ ÀÓ½ Ô½ @Ô½ status x-accel-buffering x-accel-limit-rate x-accel-expires x-accel-charset x-accel-redirect èÔ½ /usr/scgi_temp€Õ½ ÀÕ½ Ö½ @Ö½ €Ö½ status x-accel-buffering x-accel-limit-rate x-accel-expires x-accel-charset x-accel-redirect H×½ /usr/scgi_tempؽ @ؽ €Ø½ Àؽ Ù½ status x-accel-buffering x-accel-limit-rate x-accel-expires x-accel-charset x-accel-redirect ¨Ù½ /usr/scgi_temp@Ú½ €Ú½ ÀÚ½ Û½ @Û½ status x-accel-buffering x-accel-limit-rate x-accel-expires x-accel-charset x-accel-redirect ܽ
>
> The actual HTML code does show up after a block of text like the one
> above, but it begins mid-string as though it must be a completely new
> chunk in the buffer. All subs_filter replacements have already occurred
> by the time it reaches the gibberish block.
>
> Using 1.2.1 along with an older version of the module seems to work
> properly as Maxim had suggested. I'm happy to help continue to test this
> in any way possible.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,229545,229616#msg-229616
>
> _______________________________________________
> 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
Subject Author Posted

Gzipping proxied content after using subs_filter fails

abstein2 August 09, 2012 05:28PM

Re: Gzipping proxied content after using subs_filter fails

Maxim Dounin August 10, 2012 05:58AM

Re: Gzipping proxied content after using subs_filter fails

姚伟斌 August 12, 2012 10:36PM

Re: Gzipping proxied content after using subs_filter fails

abstein2 August 13, 2012 01:50AM

Re: Gzipping proxied content after using subs_filter fails

姚伟斌 August 13, 2012 02:02AM

Re: Gzipping proxied content after using subs_filter fails

bigbenarmy August 13, 2012 06:16AM

Re: Gzipping proxied content after using subs_filter fails

abstein2 August 13, 2012 01:51PM

Re: Gzipping proxied content after using subs_filter fails

姚伟斌 August 16, 2012 11:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
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