Home » Forum
  • If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.


No announcement yet.

bad path in search.cgi

  • Filter
  • Time
  • Show
Clear All
new posts

  • bad path in search.cgi

    it looks to be coding errors in the script itself which you can see below:

    [Fri Jun 20 12:42:25 2014] [error] [client] Premature end of script headers: search.cgi [Fri Jun 20 12:42:26 2014] [error] [client] File does not exist: /usr/local/apache/htdocs/index.php, referer: http://advanced1430.inmotionhosting.com/~jorgen6/cgi-bin/search.cgi

    My files are not in the htdocs folder, it is actually /home/jorgen6/public_html/index.php. You will need to update your script to reflect this to have it run properly.

  • #2
    No, it isn't coding errors.

    This error results from people (usually the web hosting company) not understanding what a CGI is and then trying to run a binary executable with the Perl script interpreter.

    See this FAQ for details.