Skip to main content
Participant
March 25, 2009
Question

URL Function

  • March 25, 2009
  • 1 reply
  • 341 views
I have two domain names pointed at the same root URL. If a person used one domain name to arrive at the site I want to redirect them to a specific page. I know how to do the redirect but for the life of me I can't find a function that will give me the url. Does anybody know how I can retrieve the domain name used to arrive at the site?
    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Inspiring
    March 25, 2009
    put a <cfdump var="#cgi#"><cfabort> somewhere on your page and see if
    you can spot anything useful in the dump...



    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/