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



Right, under Apache you have to use the virtual keyword for SSI and the
#include directive.  There is a setting in the configuration file to allow
any file extension you want to be able to support SSI.  Conventionally, only
.SHTML extensions or .HTMLS are searched for SSI statements. This is to
improve response times.  If you have a slow AS/400 then consider using this
convention, but if you have a pretty fast one, just turn it on for all of
them like I do.
But you're right, I ain't no Apache configuration/sysAdmin kind of guy.


Bob Cozzi
Cozzi Consulting
www.rpgiv.com


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of jrc@xxxxxxxxxx
Sent: Friday, May 09, 2003 8:23 AM
To: web400@xxxxxxxxxxxx
Subject: Re: RE: [WEB400] CGI and *LIBL

>PS - Did I see tools to let you do includes in CGI
>RPGLE now?  I played with a poll program, but then
>realized I didn't know how to embed it in an eRPG
>web page. 


I know that Bob uses SSI (Server Side Includes) frequently with the CERN
(classic) server, and I went and played with it on the Apache server and was
finally able to get it to work.  Once you get your server to accept and
process SSI, then it is a simple matter of adding some HTML like so...

<!--#include virtual="/ssi-bin/FREELOCS" -->

I think you also have to change your HTML file extension to .shtml, but
there should be a way around that.  So in your example you would write your
POLL CGI program and #include the address in an .shtml file and the web page
should insert the results of that program in your page.

Is that what you were looking for?


Joel
_______________________________________________
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.cgi/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 ...

Follow-Ups:
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.