|
Two suggestions: 1. In the Apache definitions, define your startup page to be your net.data macro. No index.html needs to actually exist. 2. Create an index.html, but have it do a redirect to your net.data macro. Like this: <HTML> <HEAD> <TITLE>optional title area</TITLE> <META HTTP-EQUIV="Refresh" CONTENT="0; URL=/net.data/somemacro.d2w/input"> </HEAD> <BODY>Optional body section</BODY> </HTML> IIRC, the 0 is the number of seconds to wait before 'refreshing' with the URL provided. With it set to 0, there's not much reason to have the <body> section. - John -----Original Message----- From: Bruce.Odum@xxxxxxxxxxxxxx [mailto:Bruce.Odum@xxxxxxxxxxxxxx] Sent: Wednesday, July 16, 2003 8:04 AM To: Web Enabling the AS400 / iSeries Subject: [WEB400] Setting up index.html I am setting up our first web site on our AS400 and was wondering how do you use net.data to create your index.html page. Can this be done. I would like all the pages on the site to be dynamic. I am using the apache web server for this on v5 r2. _______________________________________________ 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 e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses.
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.