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

TOTALLY CONFUSED (SMALL PROBLEM!)

Quote Reply
TOTALLY CONFUSED (SMALL PROBLEM!)
This is my problem: I'm confusing why the "links" folder should come before cgi-bin folder...
Also please tell me whether my PATH and URL is okay.
You can take a look using the link below.
Click on Home page. You'll see the missing links. I'm sure the problem is around

$build_cool_url....
$build_root_path..

Please help
Thanks

http://www.acedin.org/cgi-bin/links/admin/admin.cgi
http://216.149.236.145/links/admin/templates

============================================
------------
# 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.0
#
# (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 = "D:/home/nt27f145/cgi-bin/links/admin";
$db_dir_url = "http://216.149.236.145/cgi-bin/links/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "D:/home/nt27f145/cgi-bin/links/admin/templates";
$build_root_url = "http://216.149.236.145/links/admin/templates";

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





[This message has been edited by perora (edited March 19, 2000).]

[This message has been edited by perora (edited March 19, 2000).]
Quote Reply
Re: TOTALLY CONFUSED (SMALL PROBLEM!) In reply to
You need to change the following codes:

Code:
$build_root_path = "D:/home/nt27f145/cgi-bin/links/admin/templates";
$build_root_url = "http://216.149.236.145/links/admin/templates";

to the following:

Code:
$build_root_path = "D:/home/nt27f145/links/pages";
$build_root_url = "http://216.149.236.145/links/pages";

The reason that you need to do this is that if you build your directory within the cgi-bin directory, then you will get a forbidden message. Pages must be built in publicly accessible web directories, NOT in the /cgi-bin/

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: TOTALLY CONFUSED (SMALL PROBLEM!) In reply to
Thanks AnthroRules
Please follow the link below. You'll realise that, I'm missing something which I can't figure out.
What are the files to put in the links directory that come before cgi-bin folder?
links/cgi-bin. There is no mention of it in the readme.tx

By the way, I've made the modifications as advise, Some dynamic links are still broken Thanks for your help

http://www.acedin.org/cgi-bin/links/admin/templates/category.html

[This message has been edited by perora (edited March 19, 2000).]

[This message has been edited by perora (edited March 19, 2000).]
Quote Reply
Re: TOTALLY CONFUSED (SMALL PROBLEM!) In reply to
Uh...that is only your template file.

You need to BUILD your INDEX by clicking on the BUILD ALL link in the admin.cgi script.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: TOTALLY CONFUSED (SMALL PROBLEM!) In reply to
Sorry Anthrorules. You got my message wrong.
Please follow the link below and click on Homepage. That will explain my problem better.
I did as you said but still some links are still broken
I appreciate all.

http://www.acedin.org/cgi-bin/links/admin/templates/cool.html

http://www.acedin.org/cgi-bin/links/admin/admin.cgi

http://216.149.236.145/links/pages

Thanks




[This message has been edited by perora (edited March 19, 2000).]
Quote Reply
Re: TOTALLY CONFUSED (SMALL PROBLEM!) In reply to
Linking to your template files does nothing for me....

The problem with building your directory is that you have need to change the permissions AS stated in the README file for the /links/pages/ directory.

Change the following directories:

/links/pages/
/links/pages/New/
/links/pages/Cool/
/links/pages/Ratings/
/cgi-bin/admin/data/hits/
/cgi-bin/admin/data/rates/

to the following permissions:

IWAM/MACHINENAME: Read, Write, Execute, Delete
IUSR/MACHINENAME: Read, Write, Execute, Delete
Everyone: Read, Write, Execute, Delete
Admin Account: Read, Write, Execute, Delete

If you do not have physical access to your server (i.e., through NT Explorer), then you need to have your hosting company change the permissions of these directories for you.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: TOTALLY CONFUSED (SMALL PROBLEM!) In reply to
Thanks, but I don't think Changing permission is the problem. My question again was:

(1)Do I have to physically put some files into the directories that came with the application apart from the way they are arranged originally? If so, What are the files ?

OR

(2)Is the application going to build directory dynamically irrespective of the order in which the files are arranged? (That'll be strange to me)

(3)The readme.txt does not say much about which file goes into which directory, so by default I uploaded all the files and folders that came with the program into my CGI-BIN directory without moving them around, because it was not stated in the instruction.

If you could tell me, which files or folder goes where. I will be glad.
(4) by default, is the application programmed to call/use the template files as it is?

(5) Do I still keep the template folder and its files (by default) even if I decide to edit the html directly?

I'm sorry for all these questions, I do ASP mainly.


[This message has been edited by perora (edited March 20, 2000).]
Quote Reply
Re: TOTALLY CONFUSED (SMALL PROBLEM!) In reply to
 
Code:
email-add.txt
email-mod.txt

If you are having so many problems with this script, I would suggest contacting one of the Installers in the Resource Center.

Wink

Regards,


------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums