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



By default, in the HTTP world, if a port is not specified the port is
assumed to be 80. Assume this is HTTP server 1. And assume HTTP server 2
(with port) contains sub_page.

The only way I can think of off hand to get to the sub_page without
specifying port is to give a users URL to sub_page on the first server,
and in server 1 you have a redirect[1] configuration directive that
redirects the request to server 2.


[1] https://httpd.apache.org/docs/2.4/rewrite/remapping.html


"WEB400" <web400-bounces@xxxxxxxxxxxx> wrote on 12/14/2018 01:31:42 PM:

From: Booth Martin <booth@xxxxxxxxxxxx>
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Date: 12/14/2018 01:32 PM
Subject: [WEB400] eliminate need to type a port number.
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>

I am trying to avoid using any word that might have a defined meaning in

the HTTP world. Baby steps, but apparently thats about all I can
handle.

I have two landing pages for users to access the i's HTTP servers; lets
call them main_page (port 80) and sub_page (port(10020).

Is it possible that these addresses could work correctly, without
specifying a port number?

* main-page = INVALID URI REMOVED
u=http-3A__i.server.com&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=1i-
jGlz0-JTK1aLHcsU-

ew&m=MgF6nAPAbqe9sl9iaZ23v9xCMq5Kb9M21M83hMlIfjc&s=iB-4lGL7EoL6BiwJ34guD20zN7E40jYSUdy-2NkLWvU&e=
* sub-page = htttp://i.server.com/sub-page

I believe the answer is yes but I can not figure out how to make the
sub_page work without the port number.





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.