central101 has asked for the wisdom of the Perl Monks concerning the following question:
Hello everyone,
I am running a file sharing script that is working fine for the most part. One problem I am having is with a file form that is located in the users administrative panel.
The form allows users to upload a subtitle srt file to accompany any videos that they might upload.
The problem I am seeing is that srt upload form works fine when a srt file is below 100kb how-ever anytime a file is larger then that the header redirects back to the homepage before the post even finishes.
I have tried debugging this in the browser but the network tab in the debugger doesn't really give my any hits as to whats going on.
CGI.pm's post max size is set to -1 so it can't be a problem with that.
Any suggestions would be great.
Thanks
Comment on Perl script redirects with large form POST
This always happens at precisely the same size? (I.e., uploading an X byte file works fine, but X+1 bytes always triggers this issue?) My gut feeling is that it may be a webserver configuration issue.