Skip to main content
Mihai Baboi
Known Participant
December 16, 2010
Answered

Does ColdFusion have a CGI mode?

  • December 16, 2010
  • 2 replies
  • 29677 views

I don't know if I'm asking the right question, so let me make it a bit more clear.

What I want to know, is: can I run ColdFusion documents in a console? For instance, in PHP I can go to a console and navigate to the place that my php file is installed. There, I can type:

> php testfile.php

And it runs PHP in CGI mode. Can I do this with ColdFusion? If so, do I need to configure anything in order to make it work?

Thanks

    This topic has been closed for replies.
    Correct answer BKBK

    No, ColdFusion hasn't. One (indirect) way to do it is by means of a Java application that opens a CFM page.

    2 replies

    Community Expert
    December 16, 2010

    ColdFusion had a CGI mode in version 2 and before. Since then, it hasn't. Generally, people use wget or curl to run CF programs from a console.

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Read this before you post:

    http://forums.adobe.com/thread/607238

    Dave Watts, Eidolon LLC
    BKBK
    Community Expert
    BKBKCommunity ExpertCorrect answer
    Community Expert
    December 16, 2010

    No, ColdFusion hasn't. One (indirect) way to do it is by means of a Java application that opens a CFM page.

    Mihai Baboi
    Known Participant
    December 16, 2010

    I understand. Thanks for the prompt response.