SuperDon
09-01-2001, 11:16 AM
Hi,
How do I find the path to CGI from my current host?
I have asked them ans they say there isnt a path to CGI!!??!!
Is there any way I can find out myself?
Thanks.
There really isn't a path to "CGI", rather you would want the path to "perl".
Some common paths to perl are:
/usr/bin/perl
/usr/local/bin/perl
If you have a telnet login to the server, just do:
which perl
and the path to perl will be displayed for you.
You can run CGI files anywhere with in your account.
lovelie
09-01-2001, 08:29 PM
there are scripts which find all your paths for you..
one of them is perldiver (http://www.scriptsolutions.com/programs/free/perldiver/)
Woody
09-01-2001, 08:54 PM
Hehe, Just one problem with that. You need to know the path to perl to run it. :P
Originally posted by lovelie
there are scripts which find all your paths for you..
one of them is perldiver (http://www.scriptsolutions.com/programs/free/perldiver/)
Fremont Servers
09-01-2001, 09:24 PM
Do you mean perl path or relative path from root to cgi-bin?
lovelie
09-01-2001, 09:28 PM
Originally posted by Woody
Hehe, Just one problem with that. You need to know the path to perl to run it. :P
oop :blush:
:D
Fremont Servers
09-01-2001, 09:32 PM
Not really.
Some perl programmers put /usr/bin/perl and some put /usr/local/bin/perl as default.
Maybe he gets lucky and get a script with the right perl path as the server.
Originally posted by lovelie
there are scripts which find all your paths for you..
one of them is perldiver (http://www.scriptsolutions.com/programs/free/perldiver/)
If the script is perl or cgi you won't know where to run it from, because you don't know the path where to put in. LOL
:) :D :)
lovelie
09-01-2001, 11:58 PM
Originally posted by Palm
If the script is perl or cgi you won't know where to run it from, because you don't know the path where to put in. LOL
mhmmm.. somebody already pointed that out. :rolleyes: :)
Chicken
09-02-2001, 12:02 AM
Yep Woody beat ya' Palm. I think we've caught someone skimming posts AHHHHHHHHHHH! :D
Chicken never skims posts, he always read every word you guys say letter by letter.