Dear all,

I have a problem in file execution the error log return this error but I don't know what's the error mean exactly. Iam using Alias for this link due to the caching issues. I looked for solutions. I found some solutions say about the problem I used them but there are no specific answer about this problem.

This is error message from error log

Sun Jun 09 10:33:05 2013 error client xx.xx.xx.xx (2)No such file or directory: exec of '/opt/v-hosts/usr/xxxx/searchHotelsTh4.pl' failed, referer: http://dev.xxxxx.com/xxxx/booking.cgi

Sun Jun 09 10:33:05 2013 error client xx.xx.xx.xx Premature end of script headers: searchHotelsTh4.pl, referer: http://dev.xxxxx.com/xxxx/booking.cgi

some suggested solution but it doesn't work

add this header

print "Content-type: text/html\r\n\r\n";
In addition to another solution but it dosn't work

Please Can you help me to solve this problem ??


In reply to Premature end of script headers Error ..Help me by mnieer

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.