|
You need to fully qualify the file's location in that routine. So... cgiLoadHtmlIFS('/www/apache/htdocs/cpfdetail.html') -Bob -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of MWalter@xxxxxxxxxxxxxxx Sent: Thursday, February 03, 2005 9:26 AM To: Web Enabling the AS400 / iSeries Subject: [WEB400] RE: CGIDEV2 Hello all, I'm trying to use CGIDEV2, specifically the getHTMLIFS() procedure to retrieve my HTML template from the IFS. I'm at V5R2 version of OS/400 using an HTTP server powered by Apache. If I place the HTML template source into a source member, it works fine, but if I place it in the IFS, nothing. My server has the document root defined as www/apache/htdocs. I've placed the html source in this folder. I'm using the getHTMLIFS('cpfdetail.html') procedure. Should I be using the entire IFS path? Is it looking somewhere other than the document root. I'm a real CGIDEV2 rookie, and a rookie at CGI programming in general. Thanks, Mark Mark D. Walter Senior Programmer/Analyst CCX, Inc. mwalter@xxxxxxxxxx http://www.ccxinc.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.
As an Amazon Associate we earn from qualifying purchases.
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.