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

links.cgp questions

Quote Reply
links.cgp questions
Hello,

I am new to configuring scripts and want to make sure that I understand what to do with the paths.

This is the paths that I have set up.

mywebsite.com/links/cgi-bin/admin

mywebsite.com/links/pages


Can you tell me if these paths are correct:

admin directory
/mywebsite/links/cgi-bin/admin

admin url
http://www.mywebsite.com/links/cgi-bin/admin


cgi url
http://www.mywebsite.com/links


root path
mywebsite.com/links/pages

root url
http://www.mywebsite.com/links/pages

Do the following pages have to go someplace specific? If so where? I was thinking of creating another folder and placing these files there.

What's new page
What's cool page
What's rating page

Thanks
Indera




Quote Reply
Re: [iemproductions] links.cgp questions In reply to
I suggest the following:

$db_script_path = "/full-path-to-your-site/cgi-bin/links/admin";
$db_dir_url = "http://www.your-site.com/cgi-bin/links/admin";
$db_cgi_url = "http://www.your-site.com/cgi-bin/links";
$build_root_url = "http://www.your-site.com/links";

Quote:
Do the following pages have to go someplace specific? If so where? I was thinking of creating another folder and placing these files there.

What's new page
What's cool page
What's rating page
You can rename these folders to whatever you like, just make sure you build these pages in separate folders.
Quote Reply
Re: [Tho.mas] links.cgp questions In reply to
Hello,

Thank you for your reply.

Are you saying that I should create 3 additional folders for the files (what's new, what's cool and what's rating) or create one folder and put all 3 files in the same folder.

Thanks
Indera


In Reply To:
I suggest the following:

$db_script_path = "/full-path-to-your-site/cgi-bin/links/admin";
$db_dir_url = "http://www.your-site.com/cgi-bin/links/admin";
$db_cgi_url = "http://www.your-site.com/cgi-bin/links";
$build_root_url = "http://www.your-site.com/links";

Quote:
Do the following pages have to go someplace specific? If so where? I was thinking of creating another folder and placing these files there.

What's new page
What's cool page
What's rating page
You can rename these folders to whatever you like, just make sure you build these pages in separate folders.
Quote Reply
Re: [iemproductions] links.cgp questions In reply to
The new/cool/ratings directories are auto-generated.
Quote Reply
Re: [PaulW] links.cgp questions In reply to
Thank you.
Quote Reply
Re: [iemproductions] links.cgp questions In reply to
towards the bottom of links.cfg is $db_template_path. Mine looks like

Code:
$db_template_pathurl = "http://www.your-site.com/html";
As I recall, it had something to do with running headers and footers - I couldn't use something like
Code:
<!--#include virtual="/cgi-bin/links/admin/templates/menu01.txt" -->
in a non-Links file - I use the include in both Links and non-Links pages for standard sections of code like the menu.



Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."