Forum Moderators: mack

Message Too Old, No Replies

I'm lost among the path jargon

seeking basics for writing paths

         

J64sqs

8:03 pm on Mar 20, 2004 (gmt 0)

10+ Year Member



I'm not sure where to put this, so feel free to move it to a more appropriate forum.

I'm really confused about paths. I know enough to create links to my pages. But when it comes to configurations, I'm lost.

I've installed a cgi script in which I have to change some of the paths for the main files involved. Below is part of the code which I'm supposed to change.

#The root path of the sconfig.pl, including the sconfig.pl name itself.
$config_path="/home/sites/432a/stars/sconfig.pl"

So I'm lost. What am I supposed to substitute with my own stuff, and what is supposed to remain unchanged?

Also, I've tried using a script alias to get my cgi-bin in my subdomain to go to my root cgi-bin. Someone suggested to use the following code.

ScriptAlias /cgi-bin /home/domain/cgi-bin/

But what part of /home/domain/cgi-bin/ gets changed? Do I put www.mydomain.com in for where domain is and then leave the other stuff untouched?

Is there any general rule about how to write paths? Why do some paths start with /home/ and others with /usr/?

bumpaw

8:35 pm on Mar 20, 2004 (gmt 0)

10+ Year Member



I sometime get a little turned around in the same area you are in. My host tech support comes to my rescue most of the time and sometimes they configure the path.