I installed the files, chmoded the files, but when I add the first category and link, then build it doesn't return the search. I check the pages directory and it didn't build the category directory.....can anyone help me out?
I basically have the same problem. My question for Mark is. The installation instructions seem to allow you to create your pages directory where ever you want, as long as you make sure the path and URL are correct in the links.cfg file.
Is there the possibly you don't really have an option, and the instructions are inaccurate? Or there is a better directory location that more people have less problems with?
Is there the possibly you don't really have an option, and the instructions are inaccurate? Or there is a better directory location that more people have less problems with?
Oct 17, 1999, 3:49 PM
Novice (25 posts)
Oct 17, 1999, 3:49 PM
Post #10 of 12
Views: 3300
For all that keep asking
It doesn't matter where you build your directory, as long as all the paths are correct.
For Example:
The paths where I have the admin folder on my website is:
/home/thisrules/public_hml/cgi-bin/links/admin
URL for this admin folder: http://www.thisrules.com/cgi-bin/links/admin
The path where my links directory is actually published to is:
/home/thisrules/public_html/links
the URL: http://www.thisrules.com/links
You can put it *anywhere* on your site, but you might want to keep the URL as short as possible, so that it's easy to remember.
- Mr. Undies
[This message has been edited by chmodMYundies (edited October 17, 1999).]
It doesn't matter where you build your directory, as long as all the paths are correct.
For Example:
The paths where I have the admin folder on my website is:
/home/thisrules/public_hml/cgi-bin/links/admin
URL for this admin folder: http://www.thisrules.com/cgi-bin/links/admin
The path where my links directory is actually published to is:
/home/thisrules/public_html/links
the URL: http://www.thisrules.com/links
You can put it *anywhere* on your site, but you might want to keep the URL as short as possible, so that it's easy to remember.
- Mr. Undies

[This message has been edited by chmodMYundies (edited October 17, 1999).]
Mr Undies,
Please before the last nail is put in that coffin, I for one found your descriptive example very helpful. Would you kindly fill in the example below of your links.cfg file. I have already included some of your information. If your directory structure works according to your links.cfg file then I would want to duplicate it for testing at my site.
There is one other question: On all the other files of the links2 program, are there any other places where this information (paths/URL's)must be changed?
MK
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/thisrules/public_hml/cgi-bin/links/admin";
$db_dir_url = "http://www.thisrules.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.thisrules.com";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/thisrules/";
$build_root_url = "http://www.thisrules.com";
# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "/home/thisrules/ /New";
$build_new_url = "http://www.thisrules.com/ /New";
# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "/home/thisrules/ /Cool";
$build_cool_url = "http://www.thisrules.com/ /Cool";
# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "/home/thisrules/ /Ratings";
$build_ratings_url = "http://www.thisrules.com/ /Ratings";
Please before the last nail is put in that coffin, I for one found your descriptive example very helpful. Would you kindly fill in the example below of your links.cfg file. I have already included some of your information. If your directory structure works according to your links.cfg file then I would want to duplicate it for testing at my site.
There is one other question: On all the other files of the links2 program, are there any other places where this information (paths/URL's)must be changed?
MK
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/thisrules/public_hml/cgi-bin/links/admin";
$db_dir_url = "http://www.thisrules.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.thisrules.com";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/thisrules/";
$build_root_url = "http://www.thisrules.com";
# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "/home/thisrules/ /New";
$build_new_url = "http://www.thisrules.com/ /New";
# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "/home/thisrules/ /Cool";
$build_cool_url = "http://www.thisrules.com/ /Cool";
# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "/home/thisrules/ /Ratings";
$build_ratings_url = "http://www.thisrules.com/ /Ratings";
Oct 21, 1999, 3:45 AM
Veteran (1509 posts)
Oct 21, 1999, 3:45 AM
Post #12 of 12
Views: 3313
Scrap your links.cfg file and start again. This is what you posted:
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/thisrules/public_hml/cgi-bin/links/admin";
$db_dir_url = "http://www.thisrules.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.thisrules.com";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/thisrules/";
$build_root_url = "http://www.thisrules.com";
From here down you should not have changed any paths or URL's. They are handled by the variables that were already in here. Basically this variables take what you entered above, and add on the needed path info. Also note that you have a double slash (//) in each of the following url's.
Trust me, start with a fresh links.cfg file, and only define the paths and URL's above this paragraph. =)
(still do stuff like your options 1 or 0, and email address etc... just not the remaining paths and URL's.)
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/thisrules/public_hml/cgi-bin/links/admin";
$db_dir_url = "http://www.thisrules.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.thisrules.com";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/thisrules/";
$build_root_url = "http://www.thisrules.com";
From here down you should not have changed any paths or URL's. They are handled by the variables that were already in here. Basically this variables take what you entered above, and add on the needed path info. Also note that you have a double slash (//) in each of the following url's.
Trust me, start with a fresh links.cfg file, and only define the paths and URL's above this paragraph. =)
(still do stuff like your options 1 or 0, and email address etc... just not the remaining paths and URL's.)