Gossamer Forum
Home : General : Perl Programming :

?Directory Paths

Quote Reply
?Directory Paths
need help with directory path in .cgi script please-

When I log into my server with my ftp client i see this,it has like /server/server2/myacct. I will call this directory:
/dir/dir/dir

my cgi-bin is:
/dir/dir/dir/cgi-bin

my public dir is:
/dir/dir/dir/html

I have a .cgi:
/dir/dir/dir/cgi-bin/abc.cgi

In the .cgi I call a file:
/dir/dir/dir/html/123.html

in the .cgi, what would the path to the 123.html file be?
how do i specify paths to files in different directories if they are not in a subdirectory?

thanks :]
Subject Author Views Date
Thread ?Directory Paths lea 3247 Dec 13, 1999, 8:52 AM
Post Re: ?Directory Paths
Eliot 3133 Dec 13, 1999, 3:14 PM
Post Re: ?Directory Paths
GClemmons 3120 Dec 14, 1999, 6:41 AM
Post Re: ?Directory Paths
lea 3138 Dec 14, 1999, 1:46 PM