CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: server change causing error messages: Edit Log



Lark
Novice

Jan 2, 2004, 9:11 AM


Views: 5180
server change causing error messages

i previously was running a microsoft home server for several years, and my scripts ran fine

i added a router at home, lost the home server, move websites to outside apache server, now my scripts won't work...i contacted tech support of the host and we tested a cgi script (test.cgi) and it ran fine, this is the beginning of the script in error
(from this.pl)

Quote


#!/usr/bin/perl

print "Content-type:text/html\n\n";

# Relative path of this.html

$this_file = "http://www.mrlarkins.com/folder/this.html";



the path to perl was checked and is correct, and i have tryed these combinations of the


Quote


/guestbook/guestbook.html gives the following error

[Fri Jan 2 11:36:22 2004] [error] [client 24.144.12.1] Premature end of script headers: /home/virtual/site160/fst/var/www/cgi-bin/guestbook.pl





guestbook/guestbook.html gives the following error

[Fri Jan 2 11:38:01 2004] [error] [client 24.144.12.1] Premature end of script headers: /home/virtual/site160/fst/var/www/cgi-bin/guestbook.pl






../guestbook/guestbook.html gives the following error

[Fri Jan 2 11:44:01 2004] [error] [client 24.144.12.1] Premature end of script headers: /home/virtual/site160/fst/var/www/cgi-bin/guestbook.pl





http://www.mrlarkins.com/guestbook/guestbook.html gives the following error

[Fri Jan 2 11:46:07 2004] [error] [client 24.144.12.1] Premature end of script headers: /home/virtual/site160/fst/var/www/cgi-bin/guestbook.pl



i don't have any more ideas, you got any?


(This post was edited by Lark on Jan 2, 2004, 9:28 AM)


Edit Log:
Post edited by Lark (Novice) on Jan 2, 2004, 9:28 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives