I just unzipped and unloaded all of the Links 2.0 files to my server in ASCII mode. I changed the first line on each of the cgi/pl files to #!/usr/local/lib/perl5 as that is where my server's perl is. I did all the CHMODs as directed. I modified the paths in links.cfg to read as follows:
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/web/guide/benefitsattorney/cgibin/links/admin";
$db_dir_url = "http://benefitsattorney.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://benefitsattorney.com/cgi-bin/links";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/web/guide/benefitsattorney/www/links/pages";
$build_root_url = "http://benefitsattorney.com/links/pages
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/links/pages";
$build_root_url = "http://benefitsattorney.com/links/pages";
I modified the lines for the sendmail program as follows:
# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/lib/sendmail'; $db_smtp_server = '';
# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'ccalhoun@cwlaw.com';
Yet when I try to go to http://benefitsattorney.com/cgi-bin/links/admin/admin.cgi, I get the following error message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, Webmaster and inform them of the time the error occurred, and anything you might have done that may have caused the error.
Premature end of script headers: /web/guide/benefitsattorney/cgibin/links/admin/admin.cgi
I've done several other scripts, and never encountered such a problem since I figured out how to do CHMODs. Any ideas on what I am doing wrong?
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/web/guide/benefitsattorney/cgibin/links/admin";
$db_dir_url = "http://benefitsattorney.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://benefitsattorney.com/cgi-bin/links";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/web/guide/benefitsattorney/www/links/pages";
$build_root_url = "http://benefitsattorney.com/links/pages
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/links/pages";
$build_root_url = "http://benefitsattorney.com/links/pages";
I modified the lines for the sendmail program as follows:
# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/lib/sendmail'; $db_smtp_server = '';
# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'ccalhoun@cwlaw.com';
Yet when I try to go to http://benefitsattorney.com/cgi-bin/links/admin/admin.cgi, I get the following error message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, Webmaster and inform them of the time the error occurred, and anything you might have done that may have caused the error.
Premature end of script headers: /web/guide/benefitsattorney/cgibin/links/admin/admin.cgi
I've done several other scripts, and never encountered such a problem since I figured out how to do CHMODs. Any ideas on what I am doing wrong?