Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
For 2023 - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
trying to create test file of existing cgi page --

Posted by mparker1113 (mparker1113), 15 February 2007

I have a site I have inherited that has a page which calls a cgi applictation with the following syntax:

<!--#exec cmd="/home/sites/site25/web/books/profile_cl.cgi"-->

The calling page is a SHTML page.

I have attempted to doctor this code to call a copy of the cgi page that I can do tests on "profile_cl2.cgi" and have made a copy of the original page and renamed it in the same directory.

When I call my  new shtml page ("shtmPage2.shtml") it works fine if I have it call the original cgi page ("profile_cl.cgi"). However, if I code it to call up the test page "profile_cl2.cgi" i get no results.

Anyone know where I can be going wrong?


Posted by admin (Graham Ellis), 16 February 2007
What's the difference between the two files? File permissions? File ownership? If the content is equal, that's where I would look.   I would also look in the Apache error log file and see if that gave any clues.

Posted by mparker1113 (mparker1113), 21 February 2007
Okay, will check the error log, since all else is equal with the files other than the name.

This page is a thread posted to the opentalk forum at and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2023: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: • WEB: • SKYPE: wellho