I have a Perl/CGI script where users enter a few details such as hostname, username etc and it FTP's files to the specified server.
This was running fine with Apache 1.3.x
What happens now is when the form is submitted, there is about 10 lines of output and then nothing else. The script still runs in the background as I can see the activity with tcpdump. The script essentially outputs data everytime a file is uploaded.
I use the Net::FTP module and have debugging turned on. Looking in the web server logs, there are no entries while it FTP's the files and when it finishes, the webserver log is filled with all the debug output. This all leads me to believe that Apache is caching the output, however I can not see any obvious configuration option to change this.
The Perl script has Perl's buffering turned off with $|=1;