You are here:

Perl & CGI/Configure.cgi did not produce a v alid header in unix box

Advertisement


Question
When i am  running my application on Iplanet Web server 6.0, I got  error "GET /cgi-bin/NG_Notifier/Configure.cgi?custid=C27&projid=P6192&filterId=0&viewornode=NODE&viewornodeid=2129 HTTP/1.1" 500 305"
.it was developed in CGI language on  Unix box. Has anyone seen this before or know what may be causing this problem? Thanks in advance.
Mohan

Answer
Mohan,

You can see what these status codes mean looking at the W3's website at

http://littlelink.webtrouble.com/?T1Df

The 305 has to do with a proxy request - in this case really it seems to mean a header redirect. Header redirects are done like the example you can see at

http://www.thecgibin.com/quickcode/redirect.shtml

OTOH the 500 is a generic server error.

The issue might be with the server's firewall preventing the header redirect, but this is strictly an educated guess at this point.

Look over the code, especially for a header redirect.


--
Marty Landman, Face 2 Interface Inc.
Drupal Development Blog: http://drupal.face2interface.com/
Free Database Search App: http://face2interface.com/Products/FormATable.shtml

Perl & CGI

All Answers


Answers by Expert:


Ask Experts

Volunteer


Marty Landman

Expertise

Perl programming using CGI, databases, HTML templating, and website automation.

Experience

Web developer since 1998, owner of Face 2 Interface.

©2012 About.com, a part of The New York Times Company. All rights reserved.