Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: bakedjake
$config = "/usr/home/public_html/directory/directory/filename";
this is the url:
Thanks for your help
Are there standard ways that severs are setup that I could find out through trial and error?
I am getting a: No such file or directory error message. I know the file is on the server, but guess I have the Unix directory wrong.
I appreciate your help and expertise.
On one of my accounts the path to my cgi-bin is /home/username/virtual/cgi-bin, on another account it's /home/username/public_html/cgi-bin... and I've seen others that were much longer and more convoluted.
I tried this, but am still being told it can not find the file. Any advice?
Do you put the perl code at the top of the script?
The first line of a perl script is generally something along the lines of:
This tells the script where to find the perl interpreter. If this line does not match the actual location Perl on the system you are using it will generate a File Not Found error ("No such file or directory") On an old FreeBSD system I have an account on, for example, the admin installed it to /usr/local/bin/perl. You might wanna check the location.