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



Besides the META tag, you can use the URL rewriting capabilities of the
web server to do the redirects for you.
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html provides a
pretty good primer on the subject and if you search for something along
the lines of "apache mod_rewrite", I'm sure you'll turn up other
articles as well. If you start messing with rewriting, make sure you
turn its logging level up since it's easy to do incorrectly. It also
helps to know regular expressions since that's used to do pattern
matching.

For the second question in the original email, the answer is yes, but
only if you have virtual hosting set up. If not, both host names will
bring up the same content. I'm certain that if you search through the
archives, you'll find examples of setting up virtual hosts.
http://httpd.apache.org/docs/2.0/vhosts/ is the official documentation
and IBM's (from what I recall) wasn't all the great. Also, I personally
found it very difficult to get this set up correctly using the admin GUI
and I ended up hand editing the file.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of albartell
Sent: Friday, September 21, 2007 9:54 AM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] How do you do this?

The way I do this is to place an index.html file in folder /Joe that has
a
redirect HTML meta tag redirect to the page I want them at.

Example: <META HTTP-EQUIV="Refresh" CONTENT="0; URL=Joe.html">

HTH,
Aaron Bartell
http://mowyourlawn.com

-----Original Message-----
From: web400-bounces+albartell=gmail.com@xxxxxxxxxxxx
[mailto:web400-bounces+albartell=gmail.com@xxxxxxxxxxxx] On Behalf Of
jlowary@xxxxxxxxxxxxx
Sent: Friday, September 21, 2007 8:42 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] How do you do this?

I need to have a url like: http://www.mydomain.com/Joe get directed to
a
specific page that is in http://www.mydomain.com/ (ie:
http://www.mydomain.com/Joe.html - don't ask d*mn laywers). while the
url
entry http://www.mydomain.com/ will just go to the normal home page. is
this a redirect of urls, virtual host, smoke and mirrors, or what?

Also on the same note if we were to have http://NewPage.mydomain.com/ as
an
entry would this be treated as a virtual host or what?

I've looked at the archives but since I don't know for sure what I'm
looking
for, not sure if I found an answer or was looking for the wrong thing!

As you can tell Admin is not my forte!

Thanks,

Jim Lowary
System Analyst, Salton Inc.
(573) 447-5500


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.