Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

admin.cgi' script produced no output

Quote Reply
admin.cgi' script produced no output
win 2000, perl 5.008, ISS 5.0

I have this message in internet explorer when I execute de script admin.cgi :

'c:\inetpub\wwwroot\script\links2\cgi-bin\admin\admin.cgi' script produced no output

I placed a full path for the link.cgi in the admin.cgi file

I set the option db_iis to 1

The beginning of the link.cfg file :

# -------------
# Links
# -------------
# Links Manager
#
# File: links.cfg
# Description: Contains all the setup variables.
# Author: Alex Krohn
# Email: alex@gossamer-threads.com
# Web: http://www.gossamer-threads.com/
# Version: 2.01
#
# (c) 1998 Gossamer Threads Inc.
#
# This script is not freeware! Please read the README for full details
# on registration and terms of use.
# =====================================================================

# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "c:/inetpub/wwwroot/script/links2/cgi-bin/dmin";
$db_dir_url = "http://hp03/...links2/cgi-bin/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://hp03/script/links2/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "C:/Inetpub/wwwroot/liens";
$build_root_url = "http://hp03/liens";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";

# Database Options
# --------------------------------------------------------
# You really need to use flock(). However if your system doesn't support it (Win95),
# then turn this off at your own risk!
$db_use_flock = 1;
# Use Pragma: no-cache to stop browsers from caching output? (0 = cache, 1 = nocache)
$db_nocache = 1;
# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)
$db_iis = 1;
# Field number of category in category.db
$db_main_category = 1;
# Referers -- which hosts are allowed to add to your database.
@db_referers = ();

# Email Options
# --------------------------------------------------------
# NOTE: Be sure to edit the text of the message. It can be found
# in the templates directory: email-add.txt, email-del.txt and
# email-mod.txt respectively.

# Set only ONE of either $db_mail_path which should go to a
# mail program like sendmail, or $db_smtp_server which will use
# a SMTP server. Do not set both at once!

# PATH of sendmail. # SMTP Server
$db_mail_path = ''; $db_smtp_server = 'server-mail.hypermart.net';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 's.dudart@ibr-ire.be';

# Notify visitors automatically when their links are validated?
$db_email_add = 0;

# Notify visitors automatically when their links are modified?
$db_email_modify = 0;

# Log all outgoing messages? Put the full path to a logfile and make sure it
# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty
# big!
$db_mailer_log = '';


The beginning of the admin.cgi file :

#!c:\perl\bin\perl.exe
# -------------
# Links
# -------------
# Links Manager
#
# File: admin.cgi
# Description: This is the administrative interface for the links program.
# Author: Alex Krohn
# Email: alex@gossamer-threads.com
# Web: http://www.gossamer-threads.com/
# Version: 2.01
#
# (c) 1998 Gossamer Threads Inc.
#
# This script is not freeware! Please read the README for full details
# on registration and terms of use.
# =====================================================================
#
# Required Librariers
# --------------------------------------------------------
eval {
($0 =~ m,(.*)/[^/]+,) && unshift (@INC, "$1"); # Get the script location: UNIX /
($0 =~ m,(.*)\\[^\\]+,) && unshift (@INC, "$1"); # Get the script location: Windows \

require 5.001; # Make sure we have at least perl 5.001.
require "c:/inetpub/wwwroot/script/links2/cgi-bin/admin/links.cfg"; # Change this to full path to links.cfg if you have problems.
require "c:/inetpub/wwwroot/script/links2/cgi-bin/admin/db.pl"; # Database Routines.
require "c:/inetpub/wwwroot/script/links2/cgi-bin/admin/db_utils.pl"; # Database Support utilities.
require "c:/inetpub/wwwroot/script/links2/cgi-bin/admin/admin_html.pl"; # Admin HTML routines.
};



Thank you
Quote Reply
Re: [sdudart] admin.cgi' script produced no output In reply to
Does this look right to you?

Code:
$db_script_path = "c:/inetpub/wwwroot/script/links2/cgi-bin/dmin";

Code:
$db_script_path = "c:/inetpub/wwwroot/script/links2/cgi-bin/admin";

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!