apache and html parts

This is a discussion on apache and html parts within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello. My name is Wolfgang. I have the following problem. Maybe somebody can help me. I work with an apache ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-11-2008
wolfgang.adamec@gmail.com
 
Posts: n/a
Default apache and html parts

Hello.
My name is Wolfgang. I have the following problem. Maybe somebody can
help me.
I work with an apache web server (2.0.49) that is calling my cgi
program.
My cgi program produces an html table with 30 lines.
The program is written in cobol and uses the command "exec html" to
send the data to STDOUT.
The positive thing with "exec html" is that you can separate html
content from cobol program code.
At first I send the top part of the html page (table title and so on)
with "exec html" to STDOUT.
After this there is a loop where I read the records of a file. Each
record of the file will be sent out
as one HTML line with "exec html" to STDOUT.
At the end I send the bottom of the html page to STDOUT.
The problem I have is that the apache web server DOES NOT collect my
data that I send to STDOUT, DOES NOT wait until the end of my program
and send one big html page over the internet to the client.
The web server transfers each little html line separated to the
browser and this is a very big performance problem.
I can solve this problem by changing the structure of my program. I
collect the parts of the html page in my
cobol program and at the end I send one big html content to STDOUT.
BUT that has the effect that the separation of html content and
program code and the clearity of the code
gets lost.
So I ask: Is there a way to say to the apache web server: Collect all
lines which are sent to you over
STDOUT. At the end of the program send one big page to the browser.
Thanks very much in advance
Wolfgang



 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:14 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0