<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000910" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000910</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/premature-end-script#comment-1003855</link>
    <description> &lt;p&gt;I created a new file for a very easy script using vi on the machine so it should be okay. But the same error comes up.&lt;/p&gt;
 </description>
     <pubDate>Fri, 07 Jan 2000 14:43:00 +0000</pubDate>
 <dc:creator>vbedceo</dc:creator>
 <guid isPermaLink="false">comment 1003855 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/premature-end-script#comment-1003854</link>
    <description> &lt;p&gt;I encounter this kind of problem whenever I edit the script in windows&#039; notepad which inserts carriage returns.  What you can do is download EditPad free from &lt;a href=&quot;http://www.jgsoft.com&quot; class=&quot;bb-url&quot;&gt;http://www.jgsoft.com&lt;/a&gt;  and then open the script and File/Export the file as Unix (LF Only), this removes the CR from the script.&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.virtualis.com/vr/fdejesus/vrp.html&quot; class=&quot;bb-url&quot;&gt;Webhosting Free Reseller Program: Earn $100 plus 25% per month.&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 07 Jan 2000 06:21:00 +0000</pubDate>
 <dc:creator>fdj129</dc:creator>
 <guid isPermaLink="false">comment 1003854 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/premature-end-script#comment-1003853</link>
    <description> &lt;p&gt;Yes there is! That&#039;s why I am so frustating. Is there other anything tiny enough that I just am just not seeing?  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/frown.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt; Help. I am sure it is not a big problem. I have set up quite a few # of servers but never got into this problem. I do not see the attachment option, otherwise I would be attaching my conf file.&lt;/p&gt;
 </description>
     <pubDate>Fri, 07 Jan 2000 02:13:00 +0000</pubDate>
 <dc:creator>vbedceo</dc:creator>
 <guid isPermaLink="false">comment 1003853 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/premature-end-script#comment-1003851</link>
    <description> &lt;p&gt;[Wed Jan  5 15:08:43 2000] [notice] Apache/1.3.9 (Unix)  (Red Hat/Linux) configured -- resuming normal operations&lt;br /&gt;
[Wed Jan  5 15:08:43 2000] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)&lt;br /&gt;
[Wed Jan  5 15:09:13 2000] [error] (2)No such file or directory: exec of /home/test/cgi-bin/test.pl failed&lt;br /&gt;
[Wed Jan  5 15:09:13 2000] [error] [client 127.0.0.1] Premature end of script headers: /home/test/cgi-bin/test.pl&lt;/p&gt;
&lt;p&gt;By looking at the error log, I do not quite get it why it says no such file and directory and then it goes on with a premature end message, which means that it executed the script but failed. The directory cgi-bin does exist and it is configured to be executable correctly. The server root dir is /home/test/www. The script is an easy (just for testing purpose) one.&lt;/p&gt;
&lt;p&gt;#!/usr/bin/perl&lt;/p&gt;
&lt;p&gt;print &quot;Content-type: text/html\n\n&quot;;&lt;/p&gt;
&lt;p&gt;print &quot;Hello&quot;;&lt;/p&gt;
&lt;p&gt;Any idea?&lt;br /&gt;
(Patrick, I would not mind posting the config file but I think the log might trigger some &quot;I know what it is&quot; advices?&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;
&lt;p&gt;[This message has been edited by vbedceo (edited 06 January 2000).]&lt;/p&gt;
 </description>
     <pubDate>Thu, 06 Jan 2000 23:28:00 +0000</pubDate>
 <dc:creator>vbedceo</dc:creator>
 <guid isPermaLink="false">comment 1003851 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/premature-end-script#comment-1003849</link>
    <description> &lt;p&gt;Yes it is ascii format  &lt;img src=&quot;http://209.201.3.134/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt; Like I mentioned, it does run fine on the shell command line. I set up the server myself and the httpd.conf file is really starightforward/ and simple! I was going to add a lot more stuff in the file and thought I would test a script first.&lt;/p&gt;
&lt;p&gt;Everything else runs just great as far as my server. Virtual servers&#039; log, root, etc..&lt;/p&gt;
 </description>
     <pubDate>Thu, 06 Jan 2000 16:57:00 +0000</pubDate>
 <dc:creator>vbedceo</dc:creator>
 <guid isPermaLink="false">comment 1003849 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/premature-end-script#comment-1003850</link>
    <description> &lt;p&gt;That which I say three times is true:&lt;/p&gt;
&lt;p&gt;Check the server&#039;s error log!&lt;/p&gt;
&lt;p&gt;Check the server&#039;s error log!&lt;/p&gt;
&lt;p&gt;Check the server&#039;s error log!&lt;/p&gt;
&lt;p&gt;There should be a better explanation as to why the script didn&#039;t return headers correctly in the error log.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
--&lt;br /&gt;
MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve&lt;/p&gt;
 </description>
     <pubDate>Thu, 06 Jan 2000 05:13:00 +0000</pubDate>
 <dc:creator>japhy</dc:creator>
 <guid isPermaLink="false">comment 1003850 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
