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



Justin,
As Anton mentioned, basically tweak your configs -

However you did not mention which "version" of the server
you are running - and I have not looked at our configs, but,
I had a similar opportunity here with a "static" menu and
the cgi building the rest of the page on the fly -

Here is what I did (right or wrong - just another thought)

I keep the menu stuff in a text file also, but then I just
write out to the html in the cgi via reading in the text source
file - I do this also for copyright, and all my "static" information
on the dynamic pages.

As I stated, right or wrong, works pretty slick.

HTH
Mark A. Manske


-----Original Message-----
From: web400-admin@midrange.com [mailto:web400-admin@midrange.com]On
Behalf Of Justin Houchin
Sent: Monday, December 09, 2002 11:21 AM
To: web400@midrange.com
Subject: [WEB400] Web Menu problems


This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi Everyone,
            I am having a problem with a virtual file include. I am
creating a set of web pages for our own use. These pages will have a set
of menu options on the left side of the screen. These options will all
be the same throughout the pages. So what I have done is created the
menu options as a text file. I use a virtual include like
<!--#include virtual="/customer_service/sidemenu.txt"-->, to copy the
menu html source onto the page. This works great when the include is on
a static web page. Here's the problem, I have a CGI program that writes
a list of item categories. The HTML it uses has the include in it. When
the program runs, it doesn't recognize the include. I think this is
because the source is loaded into the memory and it is not treated as a
standard "static" page. Is there a way around this?

Justin Houchin
Programmer and Web Developer
www.reliatek.com
justin@reliatek.com

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
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.