[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Stupid CGI path question
Folks:
I KNOW that I've seen this somewhere (on the list?), but not
the entire answer.
I've had some problems with freeware CGI scripts containing the path
#!/usr/local/bin/perl
instead of
#!/usr/bin/perl
... and rather than try to train everyone to put the latter(more
commonly used?) path in the same way for all CGI scripts on the Raq3,
I'm seeing the logic in creating symbolic link to the other directory.
The trouble is that my mental dyslexia kicks in and I don't
know HOW to do this. I can't figure out if I need to create a
symbolic link TO "local" or, from "local" TO the other directory
which actually contains the PERL interpreter.
Which is the correct (Telnet) command:
1. ln -s /usr/local/bin/perl /usr/bin/perl (spaces
exaggerated for clarity)
... or ...
2. ln -s /usr/bin/perl /usr/local/bin/perl
... or am I missing something else, here, that I need to
solve this problem? TIA
Patrick Beart
--
-------------------------------------------------------------------
patrick@xxxxxxxxxxxxxxxxxxx 503-558-8322 Clackamas(Portland), OR
Web Architecture: http://www.WebArchitecture.com
Intelligent Internet consulting, site development, and hosting
solutions since 1994
* Founding MEMBER -- Internet Professionals Northwest. (www.ipn.org)
* MEMBER -- Webmaster's Guild/ Association of Internet Professionals
-------------------------------------------------------------------