[ic] Redirecting Based on Domain

Michael Stearne interchange-users@interchange.redhat.com
Wed Jan 2 11:47:00 2002


I have to do some redirecting of the user based on which URL they use to 
some into my site with based on subdomain name.  For example:

http://am.mydomain.com/

should be replaced with

http://www.mydomain.com/fea/index.html?linecode=AM

using the subdomain name (am) capitalizing it and putting it at the end 
of the redirect URL.  Would this be best done in Perl or in ITL using 
the [bounce] tag in some way.

Thanks,
Michael