Multihomed, single instance setup troubles

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default Multihomed, single instance setup troubles

    Setup: apache 2.0.52 on redhat, cfmx 7.0.2 on solaris
    apache is configured to house several virtual hosts in /var/www/vhost1
    /var/www/vhost2 etc...
    cfmx is installed as multi-server - eventually wil be clustered
    For now trying to use the default cfusion instance (actually even tried
    creating a new one): /opt/jrun4/servers/cfusion/cfusion-ear/cfusion-war

    Ideally, I prefer not to have to create separate cf instances for each virtual
    host as each site is a part of one large application with shared CFC's.

    Based on the documentation (which I am not happy with for CFMX7), I should be
    able to just place an index.cfm file in the web server virtual host directory
    and upon http request that file should be sent to cfmx for processing
    (automatically deployed in the background). Well that's not the case and I do
    get a "file does not exist". When I create a cfm file in
    /opt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/index.cfm, all virtual hosts
    end up pulling up that particular file - all virtual hosts essentially map to
    the root "/".

    Of course I understand that I cannot have more then one "/" on the server. I
    cannot have all applications run from one core web address with just different
    logical paths ([url]www.domain.com/vhost1[/url], etc.). Like I said before, this is a
    virtual host environment with several different sites (vhost1.domain.com,
    vhost2.domain.com, etc.).

    How do ISP's do it? I figure they are not setting separate instances for each
    client. This works great when Apache and CF are on the same machine; is it even
    possible when web server and cf server are remote?

    Thanks,
    Henry


    hlevin Guest

  2. Similar Questions and Discussions

    1. Single instance or multiple instances
      Say you are creating a site with multiple chat rooms. Would you recommend that each chat room run its own application instance or should all chat...
    2. Single Instance Storage service temporary files are not deleted
      Where can I down load the hotfix for this problem SYMPTOMS When you perform a backup or a volume snapshot operation on a volume that is managed...
    3. Anonymous, single instance class creation
      On Sat, Aug 02, 2003 at 06:13:55PM +0900, Nathaniel Talbott wrote: You can encapsulate the method in a Module: module MyModule def some_method...
    4. Help:RAC and single instance standby database
      I have finish to make a single standby database from RAC using RMAN, thanks for the help from this group. But at primary site, after I shut down...
    5. create single instance standby database from RAC using RMAN
      I am using 9.2 on Linux 7.2 I am tring to create a standby database using RMAN. This is what I did: at primary site run { backup incremental...
  3. #2

    Default Re: Multihomed, single instance setup troubles

    Try removing the '/' mapping in the CF Administrator. If it is not
    present, then the '/' mapping for ColdFusion will be relative to each
    Web Server's Document Root directory.



    On Feb 2, 3:16 am, "hlevin" <webforumsu...@macromedia.com> wrote:
    > Setup: apache 2.0.52 on redhat, cfmx 7.0.2 on solaris
    > apache is configured to house several virtual hosts in /var/www/vhost1
    > /var/www/vhost2 etc...
    > cfmx is installed as multi-server - eventually wil be clustered
    > For now trying to use the default cfusion instance (actually even tried
    > creating a new one): /opt/jrun4/servers/cfusion/cfusion-ear/cfusion-war
    >
    > Ideally, I prefer not to have to create separate cf instances for each virtual
    > host as each site is a part of one large application with shared CFC's.
    >
    > Based on the documentation (which I am not happy with for CFMX7), I should be
    > able to just place an index.cfm file in the web server virtual host directory
    > and upon http request that file should be sent to cfmx for processing
    > (automatically deployed in the background). Well that's not the case and I do
    > get a "file does not exist". When I create a cfm file in
    > /opt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/index.cfm, all virtual hosts
    > end up pulling up that particular file - all virtual hosts essentially map to
    > the root "/".
    >
    > Of course I understand that I cannot have more then one "/" on the server. I
    > cannot have all applications run from one core web address with just different
    > logical paths ([url]www.domain.com/vhost1[/url], etc.). Like I said before, this is a
    > virtual host environment with several different sites (vhost1.domain.com,
    > vhost2.domain.com, etc.).
    >
    > How do ISP's do it? I figure they are not setting separate instances for each
    > client. This works great when Apache and CF are on the same machine; is it even
    > possible when web server and cf server are remote?
    >
    > Thanks,
    > Henry

    Fuseboxer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139