The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BlueDragon - Integrating CFML into cPanel directly

Discussion in 'cPanel Developers' started by ben-av, May 8, 2007.

  1. ben-av

    ben-av Member

    Joined:
    Nov 10, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi!

    I wasn't sure whether to put this in Addons or Developers Corner, someone correct me if I'm wrong.

    We're in the middle of testing out New Atlanta's BlueDragon support on our cPanel server. It works fine, and we've got to the last stage of integrating it with cPanel so that customers can "add their own datasource". We're actually doing it with one of our customers who has experience in Coldfusion in the first place.

    They have written a cPanel plugin to interact with BlueDragons Admin Interface, and add a datasource directly from cPanel. The plugin is written in CFML.

    He has tested it on a local server of his own, and it works fine, but when we've uploaded it to the our cpanel server, the CFML code isn't being parsed by BlueDragon, and is just being outputted as HTML.

    Websites using CFML process without any problems as it's setup in Apache, but how do we go about setting it up for cPanel to parse it?

    Any suggestions would be welcome.
     
    #1 ben-av, May 8, 2007
    Last edited: May 8, 2007
  2. aaronroberson

    aaronroberson Member

    Joined:
    Feb 12, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Just for clarification, you have installed the CFML scripts in the following directory which is outside of the Apache root:

    /usr/local/cpanel/base/frontend/x3/

    And you want your CPanel installation to be configured to run server-side scripts (namely CFML) in that directory and its subdirectories. That does not seem like to high of a request, hopefully somebody here can help.
     
    #2 aaronroberson, May 8, 2007
    Last edited: May 8, 2007
  3. aaronroberson

    aaronroberson Member

    Joined:
    Feb 12, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    CPanel uses a custom web server called cpsrvd that uses cgi and php to render the pages so it will not be possible to configure it to use BlueDragon.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Clarification

    Just to clarify, cpsrvd is used for the cPanel/WHM/Webmail interfaces, not for actual websites accessed on port 80. Apache is used for websites accessed on port 80.
     
  5. aaronroberson

    aaronroberson Member

    Joined:
    Feb 12, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    What we are trying to get at Dave is that we cannot run CFML scripts in /usr/local/cpanel/base/frontend/x3/
     
  6. KingDrew

    KingDrew Active Member

    Joined:
    Oct 24, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Paris, Texas
    What about setting it up to use a database to store the information and upon creation, modification, or removal of the datasource it accesses an outside file
     
  7. MaraBlue

    MaraBlue Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    335
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Carmichael, CA
    cPanel Access Level:
    Root Administrator
    Are you running Apache 1.3.x or 2.0.x?

    I don't have any help to offer, I'm only asking because I have a client who has requested ColdFusion, and I'm trying to find if it can be done on a cPanel / Apache 1.3.37 server. The small bits of information I've been able to find online conflict, and Adobe's website wasn't much help to me.
     
  8. cfenzo

    cfenzo Registered

    Joined:
    Jan 15, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hamar, Norway
    I assume that you utilize the BrluDragon admin api.

    My suggestion is that you set your CFML based "controller" up as a web service, limit the access to localhost, and access it by php(?) from inside cpanel.

    I've started on something similar myself, and that's the aproach I'm going for.
     

Share This Page