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

Need help with paths

Quote Reply
Need help with paths
Ok,

I have used links for over a year, but it was hosted at hypermart, and now I want to move it to my own Windows 98 operated server. Actually, the only thing I am keeping from my old install is the db files. I want a CLEAN start, as I have added, deleted, modified, and buggified my old script.

To do this, I installed perl version 5.6 into my D:/webserv/ff/ directory. I then installed the script as noted in the readme. I set all permissions using an ftp client, and uploaded in ascii. I am also creating my own templates for the script at the same time. I edited the paths in the confing file, as well as adding full paths to the cgi files. My problem is that I have never used cgi/perl based programs on a win32 system, and don't know how to set the path to perl, and the paths in the config/cgi files correctly.

Could someone help me here?

Here is my directory structure.

D:/webserve
D:/webserve/ff (perl is here)
D:/webserve/ff/cgi-bin
D:/webserve/ff/Build (where pages will be built)
D:/webserve/ff/cgi-bin/Links
D:/webserve/ff/cgi-bin/Links/admin (includes data, hits, templates, etc.)

Below is my links.cfg config file:





# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "D:/webserv/ff/cgi-bin/Links/admin";
$db_dir_url = "http://collin.serveftp.com/cgi-bin/links/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "D:/webserv/ff/Build";
$build_root_url = "http://collin.serveftp.com/Build";

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





Here is my current path to perl:

#!D:/webserve/ff/perl


Thanks,

Collin
Subject Author Views Date
Thread Need help with paths Roscus 4429 Jan 13, 2002, 1:04 PM
Thread Re: [Roscus] Need help with paths
Paul 4370 Jan 13, 2002, 1:15 PM
Thread Re: [RedRum] Need help with paths
Roscus 4377 Jan 13, 2002, 5:42 PM
Thread Re: [Roscus] Need help with paths
Paul 4352 Jan 13, 2002, 5:59 PM
Thread Re: [RedRum] Need help with paths
Roscus 4373 Jan 13, 2002, 6:03 PM
Thread Re: [Roscus] Need help with paths
Paul 4378 Jan 13, 2002, 6:07 PM
Thread Re: [RedRum] Need help with paths
Roscus 4370 Jan 13, 2002, 6:14 PM
Thread Re: [Roscus] Need help with paths
Roscus 4378 Jan 13, 2002, 7:30 PM
Post Re: [Roscus] Need help with paths
Roscus 4356 Jan 13, 2002, 8:11 PM