 | |  |
 |

Blinky
New User
Jul 26, 2007, 10:39 AM
Post #1 of 4
(1378 views)
Shortcut
|
|
Multiple headers causing errors
|
Can't Post
|
|
Hey guys I've been working very hard to figure this issue out through reading other posts and looking things up on google, but to no avail (and talking with Jake). So, I'm going to go beyond my own skill set, and my ability to absorb information - and utilize you guys. I am an ISP and I host the site yubacounty.org Ever since we migrated them to our network (from a different host) there have been issues. At first, the issues were with permissions, but that was quickly fixed. Later we run into an issue where the listings were all posting the code of the page that the cgi script would be forwarding to. Come to find out, the pages load "fine" in Internet Explorer, but not in Mozilla Firefox. However, on several of the pages (in Internet Explorer) there is text at the top that says Content-type: text/html. Also, on the admin.cgi page there is code at the top which says:
Set-Cookie: id=rm; expires=Thu,26-Jul-2007 18:27:50 GMT; yada yada yada.... Content-type: text/html As one would guess RM won't keep me logged in for any period of time because it's not executing that code. From what I have read, it seems like our web-server is executing multiple headers for the pages that put code at the top (something that probably happened during the migration), but I have no way of testing this (haven't found any programs for a windows box on a IIS 5 server). The issue is, the fix generally seems to be "contact your host to get this resolved" and I am_the_host, but don't know how to fix it. Can you guys shed any light on this, despite the fact that it is going a little beyond supporting _your product_ Thank you in advance for any help you may be able to provide! -Patrick Succeed.Net Technical Support
(This post was edited by Blinky on Jul 27, 2007, 10:44 AM)
|
|
|  |
 |

Blinky
New User
Jul 26, 2007, 5:33 PM
Post #2 of 4
(1357 views)
Shortcut
|
|
Re: [Blinky] Multiple headers causing errors
[In reply to]
|
Can't Post
|
|
It appears that the cgi scripts are outputting a CR-LF between the server and content-type lines in the header. I got the raw data from the server and the header read: HTTP/0.9 200 OK Date: Thu, 26 Jul 2007 23:52:19 GMT Server: Microsoft-IIS/5.0 Content-type: text/html I began to look through the cgi script, but the code is so obfuscated because of lack of indentation that I quickly decided to nix that idea. I would simply upload the cgi scripts again if I knew where to find them, to see if that works. Until I can find them, any ideas?
(This post was edited by Blinky on Jul 26, 2007, 5:37 PM)
|
|
|  |
 |

Jake
Staff
/ Moderator

Jul 27, 2007, 2:47 PM
Post #3 of 4
(1305 views)
Shortcut
|
|
Re: [Blinky] Multiple headers causing errors
[In reply to]
|
Can't Post
|
|
Hi there, Thanks for posting. I just wrote you an email about this, but in case any other users are wondering, this problem usually appears when the .cgi or .pl extensions are not mapped correctly on the server. If anyone else has some advice, I'm sure it would be welcome! ----------------------------------------------------------- Cheers, Jake Swanson - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

Blinky
New User
Jul 27, 2007, 3:58 PM
Post #4 of 4
(1301 views)
Shortcut
|
|
Re: [Jake] Multiple headers causing errors
[In reply to]
|
Can't Post
|
|
And it works! I changed the path for .pl and .cgi to 'C:\Perl\bin\perl.exe' and it seemed to break the entire site. After perusing more web-sites I found that the "switch" %s may be necessary...so I tried 'C:\Perl\bin\perl.exe "%s" %s' and it worked! Thank you for all your patience and your advice. I definitely do agree with all of the statements of exceptional customer service. Until next time... -Patrick Succeed.Net Technical Support
|
|
|  |
|