[ back to toc ]

cgi stuff

Date: 2002/05/12 19:49

Q:
I have a script for a news updater, it askes for the full path to a
certain file included in the .zip of the script. So, I uploaded the*NAME-DELETED* all
to *NAME-DELETED*y server and put the*NAME-DELETED* in /cgi-bin/news/ The first few lines of the
script ask for the full pathna*NAME-DELETED*e to newsconfig.cgi, so i put it in as
"/cgi-bin/news/newsconfig.cgi" Didn't work. So i put it in as
"/newsconfig.cgi" ...nothing. so i put in the full url http://www. etc.
and that didn't work. Is there so*NAME-DELETED*e si*NAME-DELETED*ple thing i*NAME-DELETED* doing wrong? thanks
*NAME-DELETED*
A:
The full path in this case is (*NAME-DELETED*ost probably) the full UNIX path. It is
al*NAME-DELETED*ost sure that the cgi-bin directory is NOT in the root directory. Thus
the path is NOT

/cgi-bin/news/newsconfig.cgi

but rather so*NAME-DELETED*ething like:

/ho*NAME-DELETED*e/*NAME-DELETED*/public_ht*NAME-DELETED*l/cgi-bin/news/newsconfig.cgi

(sure not this one,but so*NAME-DELETED*ething like this).

Regards,
Peter

[ back to toc ]