Ask a Question related to Coldfusion Server Administration, Design and Development.
-
hlevin #1
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
-
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... -
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... -
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... -
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... -
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... -
Fuseboxer #2
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



Reply With Quote

