I blogged on this you might find it helpful

http://cybersonic.blogspot.com/2004/09/apache-virtual-hosts-php-cf5-and-cfmx.html

Regards

Mark Drew


On Tue, 16 Nov 2004 17:36:10 -0500, Douglas Knudsen
<[EMAIL PROTECTED]> wrote:
> ah, the one place I failed to lookup.  danke sir.  Now, I see how to
> do this using virtual hosts in Apache, which appears to be analogous
> to a site in IIS.  Now, what I want to do is create two virtualhosts
> based on the dir.  domain/foo and domain/goo where the domain is the
> same.  Is that possible with Apache?  Maybe I need to create two
> virtual hosts based on ports, domain:80 and domain:88 and use
> mod_rewrite or something?
> 
> Doug
> 
> 
> 
> 
> On Tue, 16 Nov 2004 16:22:20 -0500, Dave Watts <[EMAIL PROTECTED]> wrote:
> >
> >
> > > Ok, I got a box with CFMX installed on JRun, actually have 2
> > > instances installed, say one is cfusionone and cfusiontwo.
> > > In IIS I know I can add a new site, via different port or
> > > host-headers, so that http://domain:80/ uses cfusionone and
> > > http://domain:88/ uses cfusiontwo.  How to do this in Apache?
> > >  Google is not being my friend the pas two days with this.
> > > Basicaly I want http://domain/foo to use cfusionone and
> > > http://domain/goo to use cfusion two.  I can see in
> > > httpd.conf the stuffs loading the so, but only for the port
> > > 80 root site.
> >
> > In my limited Apache experience, this can be a little difficult but is
> > certainly doable.
> >
> > However, an additional bit of complexity is that you seem to be asking about
> > two different things. Your IIS example is about having multiple IIS virtual
> > servers, which you can do in Apache using the VirtualHost directive. Later,
> > though, you say you want to use the same virtual server (http://domain/) for
> > both CFMX instances, which is a different thing altogether. To do that, each
> > CFMX instance will require a different context root (/foo, /goo), and both
> > instances will need to be connected to the same Apache virtual server. For
> > more information on this, read "Configuring application isolation in Apache"
> > within "Configuring and Administering ColdFusion MX" which is one of the CF
> > documentation books, and which is viewable here:
> >
> > http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/cluster8.htm#wp103767
> >
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/
> > phone: 202-797-5496
> > fax: 202-797-5444
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184501
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to