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



The files end with .shtml.... I did a bit more research while waiting for a
post back and I discovered that you have to specifically enable server side
includes (something I didn't know).  So I set the server instance to use
server side includes and bounced it.  It worked!

Thanks for pointer.

Pete


> -----Original Message-----
> From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
> Behalf Of Bob Cozzi
> Sent: Friday, January 30, 2004 9:09 PM
> To: 'Web Enabling the AS400 / iSeries'
> Subject: RE: [WEB400] Server Side includes in V4R5M0 Original Server
>
>
> Does the page file name have the .shtml suffix instead of .html?
> If not, you need to change it. If you can't change it, then add SSI
> preprocess to all files by adding the AddType .HTML
>
> -----Original Message-----
> From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
> Behalf Of Pete Helgren
> Sent: Friday, January 30, 2004 2:01 PM
> To: web400@xxxxxxxxxxxx
> Subject: [WEB400] Server Side includes in V4R5M0 Original Server
>
> I have a customer where we just updated with HTML pages that have server
> side includes.  The included files aren't processed as part of
> the page.  A
> little research indicated that I needed to add an "AddType" using the
> following syntax:
>
> AddType .shtml text/x-ssi-html 8bit 1.0
>
> I stopped and restarted the server but the page still doesn't display the
> included files.
>
> Here is the HTML:
>
> <!--#include file="header.html" -->
>
>   <TABLE WIDTH=750 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
>         <TR>
>                 <TD width="750" valign="bottom"><img
> src="images/mainBody.jpg"
> width="750" height="316"></TD>
>         </TR>
> </TABLE>
> <!--#include file="footer.html" -->
>
> Header and footer nevers displays.
>
> What did I miss.
>
> Thanks,
>
> Pete Helgren
>
> _______________________________________________
> 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.
>
>
>
> _______________________________________________
> 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.