Hi,
We need to append unique tracking code to the urls.
I don't think that can be done with dns.
Thanks for the quick responses
On Jun 22, 12:18 pm, Andy Bellenie <
andybelle...@gmail.com> wrote:
> cflocation uses the header code for a temporary redirect, which may not be
> what Risto is after.
>
> have you considered changing the domain forwww.zzz.comto forward requests
> towww.aaa.cominstead?
>
> > On Tue, Jun 22, 2010 at 6:06 PM, Risto <
ck.webser...@gmail.com> wrote:
> > > Hi,
>
> > > Does anyone have more than 1 url pointing to the same wheels site?
>
> > > For example, my wheels site
iswww.abc.com.
>
> > > I also havewww.zzz.comthat points to the same site.
>
> > > I want to do a redirect towww.abc.comif they come in
fromwww.zzz.com.
>
> > > Here is a snippet.
>
> > > <cfif CGI.SERVER_NAME is "
www.abc.com" >
> > > <!--- don't do anything, stay on the site --->
> > > <cfelse>
> > > <!--- any other domain redirect towww.abc.com--->
> > > <cfif CGI.SERVER_PORT is 80 AND CompareNoCase( CGI.REQUEST_METHOD ,
> > > "get") is 0 >
> > > <!--- <cfheader statuscode="301" statustext="Moved permanently"> --->
> > > <cfif CGI.QUERY_STRING IS NOT "" >
> > > <cfheader name="Location" value="
http://www.abc.com/?
> > > #CGI.QUERY_STRING#">
> > > <cfelse>
> > > <cfheader name="Location" value="http:/
www.abc.com">
> > > </cfif>
> > > </cfif>
>
> > > What it redirects to ishttp://
www.zzz.com/www.abc.com/rewrite.cfm
>
> > > Then I put the code in Onrequeststart and it went to
> > >
http://www.zzz.com/www.abc.com,www.abc.com
>
> > > ???
>
> > > I'm at a loss, I'm hoping I'm not the only one who's ever had more
> > > than one url point to the same site.
>
> > > I am using URLrewriting on IIS7. Using the default web.config in
> > > wheels.
>
> > > Thanks
>
> > > </cfif>
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "ColdFusion on Wheels" group.
> > > To post to this group, send email to
cfwh...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> >
cfwheels+u...@googlegroups.com<cfwheels%2Bunsubscribe@googlegroups.c om>
> > .
> >
cfwheels+u...@googlegroups.com<cfwheels%2Bunsubscribe@googlegroups.c om>
> > .