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

is this right?

Quote Reply
is this right?
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/j/i/jinkies/cgi-bin/links/admin";
$db_dir_url = "http://www.jinkies-online.co.uk/cgi-bin/links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.jinkies-online.co.uk/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/j/i/jinkies/links/pages";
$build_root_url = "http://www.jinkies-online.co.uk/links/pages";

# 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 = 0;
# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)
$db_iis = 0;
# 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 = 'mail.binternet.com';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'nightstar@btopenworld.com';

# 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 = '';

# Build Options
# --------------------------------------------------------
# Setting for popular cutoff, can either be a percent (i.e. top 3%), or
# a fixed value (i.e. top 10). Enter 0.03 or 10 respectively.
$db_popular_cutoff = 0.03; # Top 3%
# Number of days a link is considered New.
$db_new_cutoff = 14; # 14 days old.
# Return search results bolded (1 = yes, 0 = no).
$search_bold = 1;
# The name of an index file.
$build_index = "index.html";
# The extension to use for non index files:
$build_extension = ".html";


cause when i try it comes up as Internal Server Error, this is an error with your script, check your error log for more information.
Quote Reply
Re: [starnight] is this right? In reply to
Have you read the readme? Are all your files CHMODed according to the readme? Always read the documentation first. Its the most annoying part of installing stuff, but it saves the most time ;)

BTW, I beleive this should be; mail.btinternet.com. Note the missing 't'. Also, you are defining a SMTP server, why? If you are on UNIX (which it looks like you are, from your path configuration), then you should have sendmail Wink

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!

Last edited by:

AndyNewby: Feb 28, 2002, 3:11 PM
Quote Reply
Re: [AndyNewby] is this right? In reply to
SMTP servers can't be on Unix boxes??

--Philip
Links 2.0 moderator
Quote Reply
Re: [King Junko II] is this right? In reply to
hi im a bit of a newbie to perl. I think i did all chmoding correcting, and im not really sure about the email things?
Quote Reply
Re: [King Junko II] is this right? In reply to
Quote:
SMTP servers can't be on Unix boxes??
I didn't say that Wink All I was saying is that he may as well use Sendmail if he has it, cos the BTInternet SMTP servers go down a lot (I used to be with them).

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!
Quote Reply
Re: [starnight] is this right? In reply to
The email thing should not cause any problems with accessing admin.cgi (as long as you havn't done anything major to screw up)....but from what I can see it is all ok. Upload my script (attached)...CHMOD it to 755 and run it. Please paste a copy of it here, or PMP me the results if you don't want to make it public for some reason Tongue

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!
Quote Reply
Re: [King Junko II] is this right? In reply to
>>SMTP servers can't be on Unix boxes?? <<

Sendmail is much more efficient than connecting to your smtp server which requires a socket connection.
Quote Reply
Re: [RedRum] is this right? In reply to
hi im still confused lol maybe i should get someone to install it for me
Quote Reply
Re: [starnight] is this right? In reply to
What in the heck is a socket, anyway? I see the word all the time but it somehow escaped my vocabulary.

--Philip
Links 2.0 moderator
Quote Reply
Re: [King Junko II] is this right? In reply to
A socket is a software endpoint that establishes bidirectional communication between a server program and one or more client programs. The socket associates the server program with a specific hardware port on the machine where it runs so any client program anywhere in the network with a socket associated with that same port can communicate with the server program.
Quote Reply
Re: [RedRum] is this right? In reply to
Quote:
A socket is a software endpoint that establishes bidirectional communication between a server program and one or more client programs. The socket associates the server program with a specific hardware port on the machine where it runs so any client program anywhere in the network with a socket associated with that same port can communicate with the server program.
Wow...what site did you get that off? Wink (j/k)

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!
Quote Reply
Re: [AndyNewby] is this right? In reply to
I can't be expected to know _everything_ off the top of my head....only most things Cool

Last edited by:

RedRum: Mar 4, 2002, 6:28 AM
Quote Reply
Re: [starnight] is this right? In reply to
hi i fixed at last lol