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



Mark,

There are a couple of ways to do this. One is to write out a location HTTP header but since Net.Data tens to write blank lines out as you process, that likely isn't going to work. The other way is to use JavaScript to do the redirect. If you are doing unconditional redirects (page x always goes to .Net), I would use URL rewriting to do the redirect.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Mark Allen
Sent: Thursday, December 20, 2007 9:11 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] (no subject)

The NET.DATa stuff is on the 400 and the ASP stuff will be on an IIS server,
the main entry point is the NET .DATA stuff. what we want (if possible) is
a way for NET .DATA to do the "redirect" to an IIS server ASP page
"automagically" if a certain condition is met instead of going to the "next"
NET .DATA page...

Probably not clear but I am grudingly moving to .NET and still gotta figure
this stuff out

On Dec 20, 2007 8:56 AM, Walden H. Leverich <WaldenL@xxxxxxxxxxxxxxx> wrote:

In your example you both the net.data and the .net pages were on the
campusweb.tui.edu server. Since an address can only be backed by a
single web server you're going to have to move that web server from the
System i to a windows box. So, the question now is, when the windows box
sees a request for xxx.mbr can you get it to (conditionally) redirect to
another site, say campusweb1.tui.edu.

There are a couple of ways to do this, two that spring to mind are
either a custom 404 handler (since the .mbr doesn't exist on the iis box
iis will send it to the 404 handler) that handles the request for .mbr
and optionally checks some data and then redirects either to
campusweb1/xxx.mbr or to campusweb/xxx.aspx.

The other way would be to map the .mbr extension into asp.net and then
have a httphandler that handles all .mbr requests and then checks the
code and rewrites/redirects as needed.

-Walden

--
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)
--
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.