Terry,

I assume you're using Apache on a fairly recent version of the Os. If so, I
stopped using Exec directives for CGI a while ago and use include virtual
for all of them now. Try that and see if it helps.

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Terry Anderson
Sent: Tuesday, November 13, 2007 9: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.


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.