Skip to main content
Known Participant
May 20, 2008
Question

application.rootURL

  • May 20, 2008
  • 1 reply
  • 295 views
Hi.I had the old web site which is www.medicineonline.com
now I have a new look for that which the url is: www.healthon.com
my problem is although I delacre the url of the site on application.cfc like this:

<cfset application.rootPath = "/">
<cfset application.rootURL = " http://" & CGI.HTTP_HOST & application.rootPath>

but still all of my links on healthon.com goes to medicineonline.com.
what is the problem & how can I fix it?
thanks
    This topic has been closed for replies.

    1 reply

    Inspiring
    May 23, 2008
    A couple of places to start:
    1) What do you get for the CGI.HTTP_HOST variable if you <cfdump> the CGI scope on your production server?
    2) How are the links constructed in CF?