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



Thanks for the reply Charles. I was able to fix the problem by adding a
new line to the mimetype__ variable. Then add content deposition.


On Thu, Jun 28, 2012 at 1:07 PM, Charles Wilt <charles.wilt@xxxxxxxxx>wrote:

WEB400 is maybe a better list but....

Sounds like Apache might not be configured to recognize the link as a
CGI program, thus it downloads it as if it was any other resource.

I forget the details (again WEB400) but there's a
<something>Executable<something> line(s) that go into the Apache
config file to tell Apache that the link represents a CGI program..

HTH,
Charles

On Thu, Jun 28, 2012 at 12:36 PM, Michael Schutte <mschutte369@xxxxxxxxx>
wrote:
I have an RPGLE cgi program that is being called from the intranet. It's
suppose to build an XML excel spreadsheet and send it back to the
browser.
We have one person on I.E. 8, where it tries to download the program
rather
than the XML document. Another user here on I.E. 8 has no program, the
XML
document downloads. When I try on Chrome, I get the attempt to download
the program rather than the XML document. I.E. 9 on my machine works as
designed.

The bad thing about this program is that it's generated from a code
generator. Clover from BCD (I'm going to send them an email next).
Clover
basically builds the CGI program on the iseries. In the source I see
were
the mimetype__ is being changed to application/vd.excel

I was wondering if anyone knew if there was a setting in the browser that
is causing this issue.

This doesn't mean anything to me, but maybe it does to you.

Here's the DSPECS.

D mimetype__ S 64A import

/free
mimetype__ = 'application/vnd.ms-excel'
/end-free


maybe the mimetype isn't correct.

Thank you,
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



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.