Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CGI Error 500: Line too Long

Status
Not open for further replies.

JJ1

Programmer
Apr 19, 2001
104
GB
Hi All,

I have (almost) finished making a cgi script which displays a rota. You can view it at:


Now, this page looks OK, until you hit the [red]'show history'[/red] link. When you click this, you are supposed to see every week's rota.

However, the problem is that this history page rarely displays. It works maybe 1 in 20 times in IE and perhaps about 1 in 5 times in Opera. I have tried to get the w3c validator to look at the page, but it returns "line too long" or simlilar.

When I run the script at the command prompt and pipe the output into a file (e.g. "my_history_page.html") - then load this file into IE, it displays perfectly.

i.e. it's as if the html content does not reach the browser fast enough.

Has anyone experienced this error before? Could anyone offer me any sugegstions?

Your help is much appreciated,

James.
 
Works in Netscape! Or maybe you fixed it? There's always a better way...
 
Sometimes I get a 404 with it but that seems like a webserver issue sometimes
It's 2/5 working sometimes wit IE6 here but also opera and others have the same problem
Try to contact the webserver-administrator or if you are, try to study the server logs and do some reconfigurating, It could be also the ISP of that webserver or the connection.
 
Thanks for the feedback.

I don't think I'd blame the ISP as the problem is most annoying when viewed locally on the server.

Since I'm running a previous version of Apache 2 on Windows, I'm going to try the script on a Linux server with Apache 1.3 tomorrow.

Will let you all know if this fixes it.

All the best,

James.
 
All,

Success! Having installed the latest version of Apache Webserver (2.0.43) and Active Perl on Windows (XP) this error has now disappeared.

The version of Apache where the error occurs was 2.0.x, so I guess we can put this down to a bug in the older versions of Apache.

Thanks to all.
I hope this helps someone in future.
Cheers,

James.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top