[ic] Advanced affiliate issue

Jason Timm interchange-users@lists.akopia.com
Mon Aug 6 20:09:01 2001


Hi all,

We are using the affiliate functions extensively.  We run a single catalog
that is the core of an affiliate program with 30+ affiliates and growing
quickly.  Each affiliate has their own look and feel capability (and static
pages) but all use the same databases (products, shipping, etc.) as well as
the same common pages.

Currently, each domain is mapped to the same directory on the server (main
document root).  So, when an affiliate goes to www.theirdomain.com, they get
forwarded to their entry point within IC.  But, from then on it seems like
IC uses the SERVER_NAME variable to pre-pend all future URLs and paths.
This means that after the first click to their site, the URL changes to
http://www.mydomain.com/cgi-bin/catalog/sites/their_affiliate_id/page.html.
While this still has their affiliate id in it, it no longer looks like their
URL.  Does anyone have any ideas on how to make IC use a value from the
affiliate table instead of the SERVER_NAME variable?  In other words, make
the URL stay the same from beginning to end while using the same catalog?

Looking forward to your thoughts...

Jason Timm
Intuitive Technologies
jason@itchoices.com