I don't think you enter the full URL on the 'from' section.  I think you
enter just the directory, so if this HTTP configuration handles
http://cso.aaron.com, and you want all that traffic to go to
https://cso.aaron.com, I think you would just enter the slash to indicate
all like so...

redirect  /  https://cso.aaron.com

This is the IBM example from the default configuration...

Redirect  /wsg    http://hostname:5061/WSG


Now, I'm assuming that since you do not indicate a port number for either
URL that they are not both being hosted on the same 400?

Joel R. Cochran
Director of Internet Services
VamaNet.com
(800)480-8810
mailto:webmaster@vamanet.com


> -----Original Message-----
> From: Bartell, Aaron L. (TC) [mailto:ALBartell@taylorcorp.com]
> Sent: Friday, June 14, 2002 12:49 PM
> To: 'web400@midrange.com'
> Subject: [WEB400] Redirecting requests
>
>
> Hi All,
>
> I am trying to redirect http://cso.aaron.com to
> https://cso.aaron.com with
> the IBM HTTP Server Original using the REDIRECT directive but
> it doesn't
> seem to be working.  Here is the redirect that I used.
>
> REDIRECT http://cso.aaron.com https://cso.aaron.com
>
> But it doesn't redirect me at all; I just stay at
http://cso.aaron.com.

This precedes any other MAP's PASS's and EXEC's in my config file so nothing
else is getting to it first.

I have also tried the above scenario with a MAP and with a PASS.

Thanks in advance,
Aaron Bartell
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
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 ...


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.