Title: Problem setting up apache with CGI

HELP!!!

        I need a bit of help getting something setup, and I am rather under the gun. Earlier today, the Director of my group asked me to move a internal website from one server to (his words) somewhere else. Being that I had no notice, and all of our Sun servers are already overloaded, I took a spare PC, nuked Windows off of it, and started in on Linux. In short order I had our new server up and running, connected to our NIS server, automounting all of our shared NFS data, and I had Apache up and serving the default page. I then proceeded to move the 2 Gb of web data from its existing home (a Solaris 2.6 server running a Netscape Fasttrack Webserver) to its new home. At first all was good. I quickly ran through most of the pages and everything looked good ( I was using Opera as a browser). I then asked a couple of other users to start poking around. Here is where my problems start.

        We have a series of simple cgi scripts that allow users to track  various work that they are doing. These cgi scripts display correctly on Opera, and IE, but show up as plain text when viewed with Netscape. I know that the scripts work, as they worked on the Netscape server (using both IE and Netscape) but I cannot, for the life of me, determine why Netscape seems to think that they are plain text. The cgi script plainly states that the data is text/html (I have included the problematic potion of the script below). Can anybody tell me what I have misconfigured in Apache, or what else might be causing this? If I can get this to work, this would be a major coup, and would go a long way to help me to get Linux into this organization. Any ideas at all would be appricated.


Garl


#################################################
###     PRINT PAGE WITH FRAMES...             ###
#################################################
print "Content type: text/html \n\n";

print <<END;
<HTML>
<HEAD>
<TITLE>Design Group Assignment Sheet</TITLE>
</HEAD>
  <FRAMESET ROWS="387,*" FRAMEBORDER=0>
    <FRAMESET COLS="*,20">
      <FRAME SRC=""mbs_topf.cgi"" SCROLLING="no">
      <FRAME SCROLLING="no">
    </FRAMESET>    
  <FRAME SRC=""mbs_atbl.cgi#top">"
</FRAMESET>
END

=======================================================================
Garl R. Grigsby
Senior Customer Applications Engineer - I-DEAS CAE & FEMAP Support
-----------------------------------------------------------------------
EDS PLM Solutions                                  Phone: (800)955-0000
Global Technical Access Center                      FAX: (541) 342-8277
1750 Willow Creek Circle                    Email: [EMAIL PROTECTED]
Eugene, OR 97402                   Internet:  http://www.plmsol-eds.com
=======================================================================
   -FEA makes a good engineer great, and a poor engineer dangerous-
=======================================================================

Reply via email to