×
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.
Hi Mark,
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.
Others have already answered your question, so I won't. However, let me
just recommend one thing: Do *NOT* store your HTML templates in
/www/apache/htdocs (or whatever you use for your document root)
The point behind that directory is that Apache makes the files in it
available to web browsers. You don't want to put TEMPLATES in that
directory, you want to put finished web pages that people can view
directly.
To get to the template, you want people to run your program.
Since your program runs on the iSeries, and is not a web browser somewhere
else on the Internet, it can access files anywhere in the IFS, and is not
limited to what Apache allows the outside world access to.
So, put your templates somewhere else. Maybe /www/apache/templates
(assuming that you want to keep it grouped together)
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.