Ok now I have another problem. I have to put my data files in another directory outside of my cgi-bin. but I can't find where to change the info to point the program to the new directory with the data files in it.
May 23, 1999, 9:55 AM
Veteran (3111 posts)
May 23, 1999, 9:55 AM
Post #2 of 2
Views: 1287
At the end of links.cfg, you will see paths that point to the data directory files. You will need to update them. They all look something like this:
The easiest way to handle this is create a new path variable just above the first data path variable that points to your data directory. Something like this:
Then change all occurances of "$db_script_path/data" to read "$db_data_path" in links.cfg. You will also need to change it in nph-build.cgi sub build_backup as well. There may be other places in other scripts that will also need changing.
I hope this helps.
Quote:
$db_links_name = "$db_script_path/data/links.db";The easiest way to handle this is create a new path variable just above the first data path variable that points to your data directory. Something like this:
Quote:
$db_data_path = "/full/absolute/path/to/your/data";Then change all occurances of "$db_script_path/data" to read "$db_data_path" in links.cfg. You will also need to change it in nph-build.cgi sub build_backup as well. There may be other places in other scripts that will also need changing.
I hope this helps.