Knowledgebase: Running CGIs, Perl
Absoulte Paths
Posted by Administrator on 20 September 2005 09:17 PM
QUESTION
------------------------------------------------------
I've been trying to install perl scripts/cgi scripts on the server and it keeps telling me that the absolute path:
/home/gcgirls/public_html/cgi-bin/
is not correct. what is the correct absolute path? thanks.



ANSWER
------------------------------------------------------
if your domain is: 123abc.com
and user name (for Cpanel and FTP) : xxxyyy

then the aboulte path for URL:
http://www.123abc.com/cgi-bin/any-folder-name/any-file-name.cgi

will be:

/home/xxxyyy/public_html/cgi-bin/any-folder-name/any-file-name.cgi


do the same with your file/folder want to make absolute path for
(888 vote(s))
Helpful
Not helpful