Matthew, that is a good description of what I need to do.  I have now
got CF8 installed and running, but only by calling
http://localhost:8501/<whatever>

That's ok but it's not using Apache, and that location is only
pointing to the locatio nof hte docs and admin.   I need to be able to
access web sites using CF8, while still having CF7 going too.
Otherwise my sites wont work, and nor will a lot of my includes, cfc
calls, etc  I'd like to be able to just have it somehow that the
server knows http://dev.clientA is a CF7 site, and http://dev.clientB
is a CF8 site.

That means (correct my if i'm wrong) that i have ot change those
IfModule mod_jrun22.c settings in the Apache config.     So fair
enough.   From what you say i think i need to point to a different
version of the jrunserverstore.exe.

Where does the additional copy of serverstore.exe come from?  is it
added by teh connector (because mine isnt doing that) or do i just
copy the folder that's there to a new folder?

How do i know what port to use?  You are using port 51020- but where
did that number come from? did you make it up?  or did something tell
you?   what did?

I am SOOO close to being finished on this.   It's only been 7 hours
now.    the quickest and easiest Coldfusion installation I've had yet.
 And I've been installing them since CF4.0.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month




On 12/12/07, Matthew Williams <[EMAIL PROTECTED]> wrote:
> >How do you switch between them?    I.e. how does your system determine
> >that page a has to be processed by CF8 and page b by CF7?
>
> Pretty simple, using apache.  Assuming you've installed in multi-server mode, 
> you would run the Web Server Configuration tool (found in the Macromedia 
> programs folder).  I'm fairly certain this can only be done by running in 
> multi-server mode.  I've got 6.1, 7.0.2, and 8 all running this way.  An 
> example of my httpd.conf is found below.  Please note, that I'm using named 
> "NameVirtualHost" setting.  You would not need to run a VM in this case, and 
> save on a ton of memory.
>
> First, you need to load the JRun module.  You can only define this once.  I 
> don't think it matters which you load as they all use the module fine.
> # JRun Settings
>  LoadModule jrun_module "C:/JRun4/lib/wsconfig/2/mod_jrun22.so"
>
> Next, within each virtual site, you would define a JRun mapping to each 
> instance.  My 6.1 instance looks like this:
> <VirtualHost *:80>
>  # JRun Settings
>  <IfModule mod_jrun22.c>
>     JRunConfig Verbose false
>     JRunConfig Apialloc false
>     JRunConfig Ssl false
>     JRunConfig Ignoresuffixmap false
>     JRunConfig Serverstore "C:/JRun4/lib/wsconfig/2/jrunserver.store"
>     JRunConfig Bootstrap 127.0.0.1:51000
>     AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
> </IfModule>
>
>  DocumentRoot "C:\farcry\studentstaffers\trunk"
>  ServerName mdw.studentstaffers.com
>  ServerAdmin [EMAIL PROTECTED]
>  ErrorLog C:/EasyPHP2/apache/logs/ss_error_log
>  TransferLog C:/EasyPHP2/apache/logs/ss_access_log
>  Alias /phpmyadmin c:\easyphp2\phpmyadmin
>  Alias /CFIDE c:\jrun4\servers\cfusion61\cfusion-ear\cfusion-war\CFIDE
> </VirtualHost>
>
> So, to break it down, my local site of mdw.studentstaffers.com listens on 
> port 80 (as do all my others, but redirects depending on the named host).  It 
> uses the Serverstore for my 6.1 instance and uses its bootstrap as well.  I 
> also have my CFIDE defined.  My 7.0.2 instance has its server store at 
> C:/JRun4/lib/wsconfig/1/jrunserver.store and its bootstrap is at port 51020.  
> Uh, sorry to say it's a right pain in the ass, the JRun connector piece, but 
> for more of understanding of it, try going here: 
> http://blog.webmages.com/geek/cfmx-on-intel-macs/#jrun.  What I do is make a 
> copy of my http.conf file, and point the web configuration tool there.  I 
> then copy those changes back to my main file.  This can all be done manually, 
> you just need to be aware of what the ports are.
>
> Matthew Williams
> Geodesic GraFX
> www.geodesicgrafx.com/blog
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294595
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to