× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



So you can go to http://somesite/citcgidevp/header and that calls your CGI program? If that's true, make sure you are fairly current on PTF's. If you are, you'll need to open a PMR with IBM.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Terry Anderson
Sent: Tuesday, November 13, 2007 10:24 AM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] Exec cgi command not working

Matt,
It is an actual CGI program and it will run correctly when called from the browser.

The one of the things that has me confused, is the path in the error log. It is saying that /qsys.lib/citcgidev.lib/www is not a cgi program. When I look at the CGIDEBUG file, the call in the HTML is <!--#exec cgi="/citcgidevp/header"-->. Where is the incorrect path coming from?


Terry Anderson
Programming Manager
Citation Corporation
Switchboard 1.251.867.5481 ext 212
Direct Line 1.251.809.2312
Fax 251.867.0525
Cell 1.251.363.4975

Terry,

Is /citcgidevp/header an actual CGI program <http://archive.midrange.com/web400/200711/msg00027.html> ? If so, can you call it from a browser? If it's a static HTML <http://archive.midrange.com/web400/200711/msg00027.html> file, don't use exec >>cgi, use include virtual.

Matt


--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


Please note: Thomson Learning has changed its name to Cengage Learning. Visit www.cengage.com for more information.
Cengage Learning - delivering results through engagement.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.