Forum Moderators: bakedjake
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.
Paul
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.
The first line of a perl script is generally something along the lines of:
#!/usr/bin/perl
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.