× 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.



Terry,
Is is possible to post your HTTPD.CONF file. It sounds like (could be
wrong) a directive is pointed to the wrong place or syntactically wrong.

Thanks



-----Original Message-----
From: Terry Anderson <terrya@xxxxxxxxxxxx>
Reply-To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] Exec cgi command not working
Date: Tue, 13 Nov 2007 14:58:11 -0600


Bradley,
Thanks for the help, but that didn't work either.

The thing that confuses me the most is the path. Finding out where it is
getting /qsys.lib/citcgidev.lib/www as the path, would go a long way
towards fixing the problem.


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



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx
[mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Bradley V. Stone
Sent: Tuesday, November 13, 2007 11:36 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Exec cgi command not working


Yes, change it to use include virtual instead of exec CGI.
that manual is getting a little out of date. I think I
wrote it for the classic web server IIRC.


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


Bradley,
Yes, I am using Apache on V5R4.

Actually this is part of your tutorial, Stone on CGIDEV2
and on page
9-13 it says:

" Because this SSI requires dynamic information (in this case, the
customer's name), a CGI program is required, which is why
this HTML
file is a template file. To embed this constant header in
displays,
use the following SSI in your other web pages: <!--#exec
cgi="/cgidev2/header"-->".

Are you saying that I can now use include virtual instead?

Here is what I am trying to accomplish. I have a program
that writes
information to a file. I have 12 divisions that will use
this program.
I need to change the *LIBL depending on the division so that the
information is written to the correct file for that division.

In researching this problem, everything I have read says I
need to;
hard code the library name, use the QIBM_CGI_LIBRARY_LIST
environment
variable or use the exec cgi command to call a program to set the
*libl. I don't think the first two will work, so that leaves the
third. I thought that if I could get it working in your tutorial, I
could then use the same logic to set the *libl for my program.
But then, like I say, I am very new to CGIDEV2 so if you or
anyone else has any other ideas of how to make this work I would
love to hear them.

Thanks,

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,

I assume you're using Apache
<http://archive.midrange.com/web400/200711/msg00029.html>
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


--
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.

--
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.