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



Point taken. I'm just in the 'fooling around' stages. I actually planned to
place the templates in a private directory on the IFS.

Thanks,

Mark

Mark D. Walter
Senior Programmer/Analyst
CCX, Inc.
mwalter@xxxxxxxxxx
http://www.ccxinc.com


                                                                           
             web400@scottkleme                                             
             nt.com                                                        
             Sent by:                                                   To 
             web400-bounces@mi         Web Enabling the AS400 / iSeries    
             drange.com                <web400@xxxxxxxxxxxx>               
                                                                        cc 
                                                                           
             02/03/2005 12:13                                      Subject 
             PM                        Re: [WEB400] RE: CGIDEV2            
                                                                           
                                                                           
             Please respond to                                             
             Web Enabling the                                              
              AS400 / iSeries                                              
             <web400@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)
_______________________________________________
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.