[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] run cgi from telnet



> we are raq3
> i have figured out how to get to my dir in telnet...
> how do i run a cgi script from telnet...

telnet = nothing more than a shell prompt

	$ /path/to/script

should start it running; many (most?) scripts specify their interpretter
in the first line via "#!/bin/bash" or similar.

Testing from a shell prompt is fine, unless you have a PHP script and lack
the CGI version of PHP.

Note also that some scripts expect certain environment variables to be set
by Apache, so you may need to do this manually.


Eddy

---------------------------------------------------------------------------

Brotsman & Dreger, Inc.
EverQuick Internet Division

EMail: eddy@xxxxxxxxxxxxx
Phone: (316) 794-8922

---------------------------------------------------------------------------