If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
free links 1.2 problem  XML
Forum Index » Support Forum
Author Message
Anonymous



I continue to get an internal error 500 on my links.pl script. I have changed access to file to 755. Also from a shell i get this error:

[Sat Feb 28 10:37:36 2004] [error] [client 66.98.130.75] Premature end of script headers: /home/yayodare/public_html/cgi-bin/links.pl

Here is the code I have:

#!/usr/bin/perl
#########################################################################
# Free For All Link Page v1.2 #
# Copyright (c)2000 Chi Kien Uong #
# URL: http://www.proxy2.de #
# #
# This Software is distributed under the GNU General Public #
# License. For more details see license.txt #
# #
# Administration: #
# http://www.host.com/cgi-bin/links.pl?admin=enter #
# #
# If you are having problems with the script, visit the support #
# forum at: http://www.proxy2.de #
#########################################################################

# url of script
$cgiurl = "http://www.yayodarecords.com/cgi-bin/links.pl";

# base url to all link files without trailing "/"
$link_url = "http://www.yayodarecords.com/links";

# base directory to all link files from the server root without trailing "/"
$base_dir = "/home/yayodare/public_html/links";

# default index page of your choice
$index_url = "http://www.yayodarecords.com/links/ffa-business.html";

Any suggestions would be greatly appreciated.

Thanks,
Chris
Anonymous



#!/usr/bin/perl < needs a space after this line
#########################################################################
# Free For All Link Page v1.2 #
# Copyright (c)2000 Chi Kien Uong #
# URL: http://www.proxy2.de #
# #
# This Software is distributed under the GNU General Public #
# License. For more details see license.txt #
# #
# Administration: #
# http://www.host.com/cgi-bin/links.pl?admin=enter #
# #
# If you are having problems with the script, visit the support #
# forum at: http://www.proxy2.de #
#########################################################################

In case anyone wanted to know.

Chris
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum