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



Bradley,

What I am missing here is my cgi programs, over a hundred, are calculating
url strings that all use "abc.com" in the url, and the network tech says I
need to alter it to "xyz.abc.com" - I've read enough of Apache that the
RewriteEngine can do stuff like that - so that any url would insert the
"xyz." In the right place. Unfortunately no two solutions look the same.
I was looking for some confirmation about how something like that would work
on Power i - and especially, where it goes in the .conf file (or .htaccess?)
- everyone's examples on the web so far are linux or Win, or especially
WordPress which has an admin, all short little clips with not quite enough
info. Plus have no test system.
Jim


-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of B Stone
Sent: Monday, December 09, 2019 7:49 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WEB400] change i hosted domain to a subdomain

Why would you redirect from one server to another use a landing page when
you could just redirect to a new public IP on the DNS side of things?

As I said your network guy should know how to do that. Then just have him
send xyz.abc.com to your IBM i and it's pretty simple. No need for extra
links in the chain, especially port 80 which is rarely used for internet
based web sites any more.

Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #5 <https://www.bvstools.com/mailtool.html>: Easy setup!
No confusing or obscure setup instructions, directory entries, SMTP users,
aliases or host tables. All you need is TCPIP, a connection to the internet
and you're done!

On Sun, Dec 8, 2019 at 3:54 PM Booth Martin <booth@xxxxxxxxxxxx> wrote:

I believe you are administering the Apache server(s) with port :2001?
And further, that port :80 (the default) is your normal landing page
for www.xyz.com?

If so perhaps this scenario will get you home:

* Create a new generic landing page and a new landing page server for
port :80.
* Change the www. server to another port.
* Establish the new server abc.xyz.com at a new port.
* On your landing page server setup redirect www.xyz.com and
abc.xyz.com to their new port assignments.

With that scenario I believe when users enter they will get:

xyz.com = generic landing page (a model for you to consider would be
the Zend landing page at port :2004)

abc.xyz.com = abc.xyz.com

www.xyz.com = www.xyz.com


On 12/8/2019 2:25 PM, midrange wrote:
Have an old site likehttp://www.xyz.com and is only site in Apache
conf
on i
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list To post a message email: WEB400@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx Before posting, please
take a moment to review the archives at
https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.