Forum Moderators: mack
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/?