Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Root Path problem

what do I need to add here?



10:49 pm on Jul 29, 2001 (gmt 0)


I have used a particular cloaking software for a domain, which utilises 'ssi' scripting. It worked fine.

But, I have encountered problems when trying to setup the script on another domain. I think the problem most likely lies in the information I have entered in the 'root path' of the .cfg file (placed in the excecutable cgi directory).

For my previous domain, my hosting provider was able to provide me with the absolute root path on my server to my account, so I had no problems.

But, for my second domain with a different host provider they were unable to provide me with the details of my root path for security reasons.

Here's what I received from them:

"The root_path to our highly secure *** sites is never released (for security reasons) and should never be needed, since all programs must be located in the cgi-bin directory to execute. And, all programs can then be referred to by their relative path in relation to the cgi-bin directory, allowing them to operate properly without any absolute root_path reference."

So what should I put in the root path, for the script to work or how do I find out what it is?

Any help, advice or example would be greatly appreciated, since I am a newbie. Thanks.


12:07 am on Jul 30, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I think all you need to do is telnet in to the cgi-bin dir and type "pwd" and it should display the absolute path that you need.


2:18 am on Jul 30, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

That's an interesting answer from your web host ?!? leaves me scratching my head, anyway...

...if you don't have telnet access to take toolman up on his suggestion;

look for perldiver.cgi at cgi-resources.com, you can then run it from your cgi-bin and it will reveal the paths you need.


3:55 am on Jul 30, 2001 (gmt 0)

10+ Year Member

And if you can't telnet into your site, a directory listing in most FTP clients would give you the path your in, as well as let you follow it down to the root.


3:55 pm on Jul 30, 2001 (gmt 0)

Thanks everyone for your advice. I downloaded 'cgitelnet' and was able to determine my root path. So easy!

The script is working perfectly now.


Featured Threads

Hot Threads This Week

Hot Threads This Month