Skip to main content
Inspiring
November 24, 2010
Question

Win7 x64 + IIS + CF9 - run a .cfm file from browser

  • November 24, 2010
  • 1 reply
  • 4951 views

Is it possible to have everything setup so, as the computer user can dbl-click on a .cfm file from windows eg. index.cfm and have it display correctly in the browser ?

At present, clicking on a .cfm file causes Dreamweaver to load and display it.

Dreamweaver can then go on to display the file in the configured browser.

    This topic has been closed for replies.

    1 reply

    Inspiring
    November 24, 2010

    I doubt it, because when you're browsing the file system, you're not making an HTTP request, which is what's required to execute a CFM file (the web server asks CF to process the request).  Think about it: how can the file system possibly know what your domain name is, what your web root is, and stuff like that?

    --

    Adam

    Inspiring
    November 24, 2010

    OK

    So should I be able to use an internet browser to open any .cfm on my computer

    eg. right click on file and say "open with internet explorer" ?

    Currently when I do, it doesn't work ?

    Participating Frequently
    November 24, 2010