Welcome! Log In Create A New Profile


How to avoid deadlock?

witekfl Gazeta.pl
September 14, 2010 12:32PM
I want to write mod_layout the right way.
layout have to insert "header" after the body element, or at the top it
there is no body element, but
there should be no header when there is no body and there is </frameset> on
the page.
I modified sub_filter_module:

Config options are similar to sub_filter.
I'm using:
sub2_filter <body 'HEADER<br/>';
sub2_filter_once on;
sub2_frameset </frameset>;

Sometimes it works, but when I set output_buffers to 1 1; it stopped working
with html like this:
<frameset cols="50%,50%">
<frame name ="a" src="a.html"/>
<frame name="b" src="b.html"/>

How to make it work, especially how to achieve inserting something before
whole document, when there is no <body> in the document?
nginx-devel mailing list
Subject Author Views Posted

How to avoid deadlock?

witekfl Gazeta.pl 2724 September 14, 2010 12:32PM

Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 335
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready