- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CGI Program using KSH
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 04:10 PM
05-18-2004 04:10 PM
CGI Program using KSH
I wrote a program call a another cgi script using ksh, but I find problem to call the second script both scripts in http:/myhost/cgi-bin/qry.cgi and get_color.cgi(secound scripts.)Message I am getting is page is missing cant find.
Any idea...? How to call the secound script
qry.cgi (First Script)
----------------------
print "content-type:text/html"
print ""
print ""
print ""
print "
Personality by Color MMMMM....!
print "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 04:41 PM
05-18-2004 04:41 PM
Re: CGI Program using KSH
Maybe the second program is not executable?
This typically happens after an ftp (or for a newly editted script).
Try chmod +x /data/web/public/cgi-bin/sscan/get_color.cgi
Double check with ls -l before and after.
Also... you may want to consider using perl for this kind of stuff. It has good support for cgi work. And you are not going to use much of the stuff shells are good at: invoking and organized series of commands.
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 04:52 PM
05-18-2004 04:52 PM
Re: CGI Program using KSH
I have given 777 to borth files what I find
is CGI ENV varible $QUERY_STRING not geting
the color in put from the first program
Any idea to how get the value
Rgs,
Ashan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 05:43 PM
05-18-2004 05:43 PM
Re: CGI Program using KSH
print ""
be something like
print ""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 10:59 PM
05-18-2004 10:59 PM