If I manually hardocde the baseUrl in my layout file to beta.site.com
- then event.buildLink() starts adding "www" to all the links....this
is strange as I thought Routes.cfm and the config file are the only 2
places where I should define this...and it sitll doesnt work as it
should.....this only happens after I moved to M6...not sure if it has
anything to do with that..
If I manually hardocde the baseUrl in my layout file to beta.site.com
- then event.buildLink() starts adding "www" to all the links....this is
strange
as I thought Routes.cfm and the config file are the only 2 places where I
should define this...and it sitll doesnt work as it should.....this only
happens
after I moved to M6...not sure if it has anything to do with that..
> I forgot to mention, in my Routes.cfm I have this - in order to remove
> the "www"
>
> <cfset setEnabled(true)>
> <cfset setUniqueURLs(false)>
>
> <cfif len(getSetting("AppMapping")) lte 1>
> <cfif cgi.http_host contains "local" or cgi.http_host contains
Damn! I had a reinitPassword setup on Production and I kept on doing index.cfm?fwreinit=1 instead. and it never complained about anything. Just didnt do the reinit.
I now put in the password and it worked instantly.
Thanks for pointing me in the right direction, Andrew