Apart from the lines that needed setting to suit the server, now nothing except the line ...
else { chmod 0666, $db_links_name; }
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/var/lib/apache/share/cgi-bin/links/admin";
$db_dir_url = "http://artists.artdept.com.au/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://artists.artdept.com.au/cgi-bin/links";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/var/lib/apache/share/htdocs/artists.artdept.com.au/links/pages";
$build_root_url = "http://artists.artdept.com.au/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";
$db_script_url = $db_dir_url . "/admin.cgi"; # Admin script.
$db_header_path = $db_script_path . "/header"; # Place to store header and footers.
$db_footer_path = $db_script_path . "/footer";
$build_search_url = $db_cgi_url . "/search.cgi"; # URL of search script.
$build_add_url = $db_cgi_url . "/add.cgi"; # URL of add script.
$build_modify_url = $db_cgi_url . "/modify.cgi"; # URL of modify script.
$build_jump_url = $db_cgi_url . "/jump.cgi"; # URL of jump script.
$build_email_url = $db_cgi_url . "/subscribe.cgi"; # URL of email update script.
$build_rate_url = $db_cgi_url . "/rate.cgi"; # URL of rate script.
$db_mail_url = $db_dir_url . "/nph-email.cgi"; # URL of admin mass mail script.
$build_css_url = $build_root_url . "/links.css"; # URL to your CSS file.
$db_lib_path = $db_script_path; # PATH of library files.
$db_links_name = "$db_script_path/data/links.db"; # PATH to links database.
$db_category_name = "$db_script_path/data/categories.db"; # PATH to category database.
$db_valid_name = "$db_script_path/data/validate.db"; # PATH to validation database.
$db_modified_name = "$db_script_path/data/modified.db"; # PATH to modification database.
$db_url_name = "$db_script_path/data/url.db"; # PATH to URL lookup database.
$db_email_name = "$db_script_path/data/email.db"; # PATH to email database.
$db_links_id_file_name = "$db_script_path/data/linksid.txt"; # PATH to links counter file.
$db_category_id_file_name = "$db_script_path/data/categoryid.txt"; # PATH to category counter file.
$db_hits_path = "$db_script_path/data/hits"; # PATH to hits directory.
$db_template_path = "$db_script_path/templates"; # PATH to templates.
$db_rates_path = "$db_script_path/data/rates"; # PATH to ratings.
cgi-bin/links/
drwxrwxrwx 3 art users 4096 Feb 25 13:47 .
drwxrwxrwx 19 art users 4096 Feb 17 01:54 ..
-rwxr-xr-x 1 art users 6043 Feb 25 03:10 add.cgi
drwxrwxrwx 5 art users 4096 Feb 25 01:03 admin
-rwxr-xr-x 1 art users 4836 Feb 25 03:10 jump.cgi
-rwxr-xr-x 1 art users 6849 Feb 25 03:10 modify.cgi
-rwxr-xr-x 1 art users 4173 Feb 25 03:10 rate.cgi
-rwxr-xr-x 1 art users 11623 Feb 25 03:10 search.cgi
-rwxr-xr-x 1 art users 4765 Feb 25 03:10 subscribe.cgi
cgi-bin/links/admin/
drwxrwxrwx 5 art users 4096 Feb 25 01:03 .
drwxrwxrwx 3 art users 4096 Feb 25 13:47 ..
-rw-r--r-- 1 art users 387 Feb 22 00:38 .htaccess
-rwxr-xr-x 1 art users 11924 Feb 25 01:02 Mailer.pm
-rwxr-xr-x 1 art users 4526 Feb 25 01:03 Template.pm
-rwxr-xr-x 1 art users 5842 Feb 25 03:11 admin.cgi
-rwxr-xr-x 1 art users 71023 Feb 25 01:02 admin_html.pl
drwxrwxrwx 2 art users 4096 Feb 25 01:01 backup
-rwxr-xr-x 1 art users 3119 Feb 25 01:02 category.def
drwxrwxrwx 4 art users 4096 Feb 25 13:33 data
-rwxr-xr-x 1 art users 37893 Feb 25 01:02 db.pl
-rwxr-xr-x 1 art users 23352 Feb 25 01:02 db_utils.pl
-rw-r--r-- 1 art users 13 Feb 21 23:27 htgroup
-rw-r--r-- 1 art users 20 Feb 21 23:27 htpasswd
-rwxr-xr-x 1 art users 10558 Feb 25 03:16 links.cfg
-rwxr-xr-x 1 art users 4670 Feb 25 01:02 links.def
-rwxr-xr-x 1 art users 47815 Feb 25 03:11 nph-build.cgi
-rwxr-xr-x 1 art users 7444 Feb 25 03:11 nph-email.cgi
-rwxr-xr-x 1 art users 7769 Feb 25 03:11 nph-verify.cgi
-rwxr-xr-x 1 art users 37115 Feb 25 01:03 site_html.pl
-rwxr-xr-x 1 art users 16355 Feb 25 01:03 site_html_templates.pl
drwxrwxrwx 2 art users 4096 Feb 2 08:54 templates
cgi-bin/links/admin/data/
drwxrwxrwx 4 art users 4096 Feb 25 13:33 .
drwxrwxrwx 5 art users 4096 Feb 25 01:03 ..
-rw-rw-rw- 1 art users 13 Feb 25 01:12 categories.db
-rw-rw-rw- 1 art users 1 Feb 25 01:12 categoryid.txt
-rw-rw-rw- 1 art users 0 Feb 25 01:01 email.db
drwxrwxrwx 2 art users 4096 Feb 25 01:01 hits
-rw-rw-rw- 1 art users 580 Feb 25 13:36 links.db
-rw-rw-rw- 1 art users 0 Feb 25 13:33 links.db.bak
-rw-rw-rw- 1 art users 1 Feb 25 13:35 linksid.txt
-rw-rw-rw- 1 art users 0 Feb 25 01:01 modified.db
drwxrwxrwx 2 art users 4096 Feb 25 01:01 rates
-rw-rw-rw- 1 art users 0 Feb 25 01:01 url.db
-rw-rw-rw- 1 art users 0 Feb 25 13:36 validate.db
Of the above I have moved the "backup" folder. Methinks it is either in the paths above... or something to do with the credit for Gossamer being removed from the template files. I checked this out and could't find any referrence... unless it's well hidden.
Otherwise it should be a standard install. It writes to links.db but not to url.db... then I tried adding a link to the url.db file and it still couldn't find the link ID
Only other mod was to the "new" folder name as the script didn't like the "N", but that doesn't figure in this as I haven't used that option for this testing.
All the folders and permissions seem to be ok and as advised. I do recall that when I had it woorking for the original testing that I did have problems in the "hits" folder. The script was creating the ID file but couldn't increment... also noticed that it didn't trip the counter. But as I say, this was much earlier and then I didn't have the "backup" folder in place anyway... but I did see it sort of working once.
If this was licenced would the scripts be different?
else { chmod 0666, $db_links_name; }
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/var/lib/apache/share/cgi-bin/links/admin";
$db_dir_url = "http://artists.artdept.com.au/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://artists.artdept.com.au/cgi-bin/links";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/var/lib/apache/share/htdocs/artists.artdept.com.au/links/pages";
$build_root_url = "http://artists.artdept.com.au/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";
$db_script_url = $db_dir_url . "/admin.cgi"; # Admin script.
$db_header_path = $db_script_path . "/header"; # Place to store header and footers.
$db_footer_path = $db_script_path . "/footer";
$build_search_url = $db_cgi_url . "/search.cgi"; # URL of search script.
$build_add_url = $db_cgi_url . "/add.cgi"; # URL of add script.
$build_modify_url = $db_cgi_url . "/modify.cgi"; # URL of modify script.
$build_jump_url = $db_cgi_url . "/jump.cgi"; # URL of jump script.
$build_email_url = $db_cgi_url . "/subscribe.cgi"; # URL of email update script.
$build_rate_url = $db_cgi_url . "/rate.cgi"; # URL of rate script.
$db_mail_url = $db_dir_url . "/nph-email.cgi"; # URL of admin mass mail script.
$build_css_url = $build_root_url . "/links.css"; # URL to your CSS file.
$db_lib_path = $db_script_path; # PATH of library files.
$db_links_name = "$db_script_path/data/links.db"; # PATH to links database.
$db_category_name = "$db_script_path/data/categories.db"; # PATH to category database.
$db_valid_name = "$db_script_path/data/validate.db"; # PATH to validation database.
$db_modified_name = "$db_script_path/data/modified.db"; # PATH to modification database.
$db_url_name = "$db_script_path/data/url.db"; # PATH to URL lookup database.
$db_email_name = "$db_script_path/data/email.db"; # PATH to email database.
$db_links_id_file_name = "$db_script_path/data/linksid.txt"; # PATH to links counter file.
$db_category_id_file_name = "$db_script_path/data/categoryid.txt"; # PATH to category counter file.
$db_hits_path = "$db_script_path/data/hits"; # PATH to hits directory.
$db_template_path = "$db_script_path/templates"; # PATH to templates.
$db_rates_path = "$db_script_path/data/rates"; # PATH to ratings.
cgi-bin/links/
drwxrwxrwx 3 art users 4096 Feb 25 13:47 .
drwxrwxrwx 19 art users 4096 Feb 17 01:54 ..
-rwxr-xr-x 1 art users 6043 Feb 25 03:10 add.cgi
drwxrwxrwx 5 art users 4096 Feb 25 01:03 admin
-rwxr-xr-x 1 art users 4836 Feb 25 03:10 jump.cgi
-rwxr-xr-x 1 art users 6849 Feb 25 03:10 modify.cgi
-rwxr-xr-x 1 art users 4173 Feb 25 03:10 rate.cgi
-rwxr-xr-x 1 art users 11623 Feb 25 03:10 search.cgi
-rwxr-xr-x 1 art users 4765 Feb 25 03:10 subscribe.cgi
cgi-bin/links/admin/
drwxrwxrwx 5 art users 4096 Feb 25 01:03 .
drwxrwxrwx 3 art users 4096 Feb 25 13:47 ..
-rw-r--r-- 1 art users 387 Feb 22 00:38 .htaccess
-rwxr-xr-x 1 art users 11924 Feb 25 01:02 Mailer.pm
-rwxr-xr-x 1 art users 4526 Feb 25 01:03 Template.pm
-rwxr-xr-x 1 art users 5842 Feb 25 03:11 admin.cgi
-rwxr-xr-x 1 art users 71023 Feb 25 01:02 admin_html.pl
drwxrwxrwx 2 art users 4096 Feb 25 01:01 backup
-rwxr-xr-x 1 art users 3119 Feb 25 01:02 category.def
drwxrwxrwx 4 art users 4096 Feb 25 13:33 data
-rwxr-xr-x 1 art users 37893 Feb 25 01:02 db.pl
-rwxr-xr-x 1 art users 23352 Feb 25 01:02 db_utils.pl
-rw-r--r-- 1 art users 13 Feb 21 23:27 htgroup
-rw-r--r-- 1 art users 20 Feb 21 23:27 htpasswd
-rwxr-xr-x 1 art users 10558 Feb 25 03:16 links.cfg
-rwxr-xr-x 1 art users 4670 Feb 25 01:02 links.def
-rwxr-xr-x 1 art users 47815 Feb 25 03:11 nph-build.cgi
-rwxr-xr-x 1 art users 7444 Feb 25 03:11 nph-email.cgi
-rwxr-xr-x 1 art users 7769 Feb 25 03:11 nph-verify.cgi
-rwxr-xr-x 1 art users 37115 Feb 25 01:03 site_html.pl
-rwxr-xr-x 1 art users 16355 Feb 25 01:03 site_html_templates.pl
drwxrwxrwx 2 art users 4096 Feb 2 08:54 templates
cgi-bin/links/admin/data/
drwxrwxrwx 4 art users 4096 Feb 25 13:33 .
drwxrwxrwx 5 art users 4096 Feb 25 01:03 ..
-rw-rw-rw- 1 art users 13 Feb 25 01:12 categories.db
-rw-rw-rw- 1 art users 1 Feb 25 01:12 categoryid.txt
-rw-rw-rw- 1 art users 0 Feb 25 01:01 email.db
drwxrwxrwx 2 art users 4096 Feb 25 01:01 hits
-rw-rw-rw- 1 art users 580 Feb 25 13:36 links.db
-rw-rw-rw- 1 art users 0 Feb 25 13:33 links.db.bak
-rw-rw-rw- 1 art users 1 Feb 25 13:35 linksid.txt
-rw-rw-rw- 1 art users 0 Feb 25 01:01 modified.db
drwxrwxrwx 2 art users 4096 Feb 25 01:01 rates
-rw-rw-rw- 1 art users 0 Feb 25 01:01 url.db
-rw-rw-rw- 1 art users 0 Feb 25 13:36 validate.db
Of the above I have moved the "backup" folder. Methinks it is either in the paths above... or something to do with the credit for Gossamer being removed from the template files. I checked this out and could't find any referrence... unless it's well hidden.
Otherwise it should be a standard install. It writes to links.db but not to url.db... then I tried adding a link to the url.db file and it still couldn't find the link ID
Only other mod was to the "new" folder name as the script didn't like the "N", but that doesn't figure in this as I haven't used that option for this testing.
All the folders and permissions seem to be ok and as advised. I do recall that when I had it woorking for the original testing that I did have problems in the "hits" folder. The script was creating the ID file but couldn't increment... also noticed that it didn't trip the counter. But as I say, this was much earlier and then I didn't have the "backup" folder in place anyway... but I did see it sort of working once.
If this was licenced would the scripts be different?