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



Update.  

>Do you have the xTools (www.rpgxtools.com)?
I have my own tools that I have been able to prove this out with, but
thanks for the link.  I will check those out also.


I have both the CGIDEV2 program and RPG CGI program running from the
same Apache config both out of the same library (AS400CGI) both
using/outputting the same IFS file (/CGIRPG/logtime.html).  I created an
RPG CGI pgm to output the logtime.html file just so I could rule out
that it wasn't a CCSID issue with the file. 

When I run both programs from an IBM Original HTTP server they both work
fine unchanged.

I must note that our CGIDEV2 version is '2001-09-21 09:20:36'.  I got
that by doing a DSPDTAARA DTAARA(CGIDEV2/VERSION).  In my mind that
shouldn't make a difference given that the CGIDEV2 programs operate just
fine under IBM Original HTTP server.

We also changed QCSSID to 37 from 65535 with no effect (this was
suggested on the CGIDEV2 site).

I think I have narrowed it down to it having something to do with
CGIDEV2.  Any ideas based on the information I have presented?

The machine is on CUM PTF 4077.  Are there other specific PTF's that I
need to apply that wouldn't be covered by this CUM?


Apache config that I am now using (from Brad Stone's site)

Listen *:2012

#DocumentRoot /myweb
#DirectoryIndex index.html

CGIConvMode %%EBCDIC/EBCDIC%%

ScriptAliasMatch ^/cgi-bin/(.*) /qsys.lib/as400cgi.lib/$1.pgm

<Directory />
  Options None
  AllowOverride None
  order deny,allow
  deny from all
</Directory>

<Directory /myweb>
  AllowOverride None
  order allow,deny
  allow from all
  <FilesMatch "\.html(\..+)?$">
    Options +Includes
    SetOutputFilter Includes
  </FilesMatch>
</Directory>

<Directory /qsys.lib/as400cgi.lib>
  allow from all
  order allow,deny
  Options +ExecCGI +Includes
  SetOutputFilter Includes
</Directory>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.