(This file can usually be found in /Applications/JRun4/servers/<servername>/cfusion/WEB-INF/jrun-web.xml)
5) Enable named virtual hosting in Apache (/etc/httpd/httpd.conf) - Uncomment NameVirtualHost *:80
5a) Add index.cfm to your DirectoryIndex directive
6) Create a virtual host in /private/etc/httpd/users/YOURUSERNAME/httpd.conf which has a /farcry alias pointing to farcry_core/admin - e.g. <VirtualHost *> Servername farcry-demo DocumentRoot /vhosts/farcry_applications/farcrydemo Alias /farcry /vhosts/farcry_applications/farcry_core/admin </VirtualHost>
--- You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org To unsubscribe send a blank email to leave-farcry-dev-5105H-VCrIQ7D8lE6uI5gGy/GxD7pzq4S04n8Q@public.gmane.org Aussie Macromedia Developers: http://lists.daemon.com.au/
(This file can usually be found in > /Applications/JRun4/servers/<servername>/cfusion/WEB-INF/jrun-web.xml)
It looks like you are running ColdFusion on the top of JRun with '/' as context root.
I am running ColdFusion on the top of Tomcat with '/cfusion' as context root. Does anyone know how can I setup FarCry with it?
Thanks a lot.
--- You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org To unsubscribe send a blank email to leave-farcry-dev-5105H-VCrIQ7D8lE6uI5gGy/GxD7pzq4S04n8Q@public.gmane.org Aussie Macromedia Developers: http://lists.daemon.com.au/
(This file can usually be found in> > /Applications/JRun4/servers/<servername>/cfusion/WEB-INF/jrun-web.xml)>
It looks like you are running ColdFusion on the top of JRun with '/' as> context root.>
I am running ColdFusion on the top of Tomcat with '/cfusion' as context> root.> Does anyone know how can I setup FarCry with it?>
Thanks a lot.>
---> You are currently subscribed to farcry-dev as: gavin.cooney-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> To unsubscribe send a blank email to leave-farcry-dev-5105H-VCrIQ7D8lE6uI5gGy/GxD7pzq4S04n8Q@public.gmane.org> Aussie Macromedia Developers: http://lists.daemon.com.au/>
--- You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org To unsubscribe send a blank email to leave-farcry-dev-5105H-VCrIQ7D8lE6uI5gGy/GxD7pzq4S04n8Q@public.gmane.org Aussie Macromedia Developers: http://lists.daemon.com.au/
On 12/10/04 4:02 PM, Gavin Cooney wrote:> you need to get apache working with CF first. >
that's what tim did.
I already have Apache web server working with Tomcat and ColdFusion, the problem is that my main CF web root is at <http://myvhost/cfusion/> and I don't know how to config FarCry to work with that ...
Thanks.
--- You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org To unsubscribe send a blank email to leave-farcry-dev-5105H-VCrIQ7D8lE6uI5gGy/GxD7pzq4S04n8Q@public.gmane.org Aussie Macromedia Developers: http://lists.daemon.com.au/
Gavin Cooney 11 December 2004 04:42:11 [ permanent link ]
is there a reason why you want to install farcry in /cfusion other than CF is currently running there?
If you have CF running thru apache, I would suggest that you just make a nice new vhost and install it fresh there.
But saying that, i'm sure it's possible. But my head hurts and I can't think exactly what you'd have to do to get it working. I know i have installed farcry in a folder other than root before and it works fine. Maybe on the install page you could just put in /cfusion/?
But would it not just be better to get CF running from your webroot thru apache?
On Fri, 10 Dec 2004 17:24:30 +0100, The Wolf <thewolf-97jfqw80gc6171pxa8y+qA@public.gmane.org> wrote:> On 12/10/04 4:02 PM, Gavin Cooney wrote:> > you need to get apache working with CF first.> >
that's what tim did.>
I already have Apache web server working with Tomcat and ColdFusion, the> problem is that my main CF web root is at <http://myvhost/cfusion/> and> I don't know how to config FarCry to work with that ...>
Thanks.>
---> You are currently subscribed to farcry-dev as: gavin.cooney-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> To unsubscribe send a blank email to leave-farcry-dev-5105H-VCrIQ7D8lE6uI5gGy/GxD7pzq4S04n8Q@public.gmane.org> Aussie Macromedia Developers: http://lists.daemon.com.au/>
--- You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org To unsubscribe send a blank email to leave-farcry-dev-5105H-VCrIQ7D8lE6uI5gGy/GxD7pzq4S04n8Q@public.gmane.org Aussie Macromedia Developers: http://lists.daemon.com.au/
On 12/11/04 2:42 AM, Gavin Cooney wrote:> is there a reason why you want to install farcry in /cfusion other> than CF is currently running there?>
If you have CF running thru apache, I would suggest that you just make> a nice new vhost and install it fresh there.>
But saying that, i'm sure it's possible. But my head hurts and I can't> think exactly what you'd have to do to get it working. I know i have> installed farcry in a folder other than root before and it works fine.> Maybe on the install page you could just put in /cfusion/?>
But would it not just be better to get CF running from your webroot> thru apache?
Since I have ColdFusion MX for J2EE running on Tomcat, the context root is '/cfusion' (even through Apache web server), that means that CFML files will only be processes under that context root, e.g. '/cfusion/myapp/index.cfm' etc.
I am still looking on how to setup FarCry with a contex root other than '/'.
Thanks a lot.
--- You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org To unsubscribe send a blank email to leave-farcry-dev-5105H-VCrIQ7D8lE6uI5gGy/GxD7pzq4S04n8Q@public.gmane.org Aussie Macromedia Developers: http://lists.daemon.com.au/
Since I have ColdFusion MX for J2EE running on Tomcat, the context root > is '/cfusion' (even through Apache web server), that means that CFML > files will only be processes under that context root, e.g. > '/cfusion/myapp/index.cfm' etc.>
I am still looking on how to setup FarCry with a contex root other than > '/'.
I finally figured out how to run FarCry on ColdFusion MX for J2EE on Tomcat.
Thanks to Tim Lucas and all the others who contributed to this thread.
Here are a few details about my setup:
- Mac OS X 10.3.6 - Apache web server 1.3.29 and mod_jk 1.2.6 - Tomcat 5.0.28 - ColdFusion MX 6.1 U1 for J2EE
My ColdFusion installation is in the '/mySites/cfusion' directory. My ColdFusion administrator URL is <http://localhost/cfusion/CFIDE/administrator/>.
Here are the steps I followed to install FarCry:
- I created the '/mySites/cfusion/FC' directory.
- I extracted the 'FarCryV2-2.tar.gz' file, moved the 'farcry_aura', 'farcry_core' and 'fourq' directories into the '/mySites/cfusion/FC' directory.
- I loaded the FarCry installer into my web browser, the URL is <http://localhost/cfusion/FC/farcry_core/admin/install/>. I noticed that the FarCry installer automatically created a ColdFusion mapping the first time I loaded it: Logical Path: "/farcry" Directory Path: "/mySites/cfusion/FC"
- I executed the FarCry installer with the following info: Application Mapping: "/cfusion/FC/farcry_myapp/www" FarCry Admin Mapping: "/cfusion/FC/farcry_core/admin"
- I logged into the FarCry administrator at <http://localhost/cfusion/FC/farcry_core/admin/> and it worked fine.
- I took a look at my FarCry test application at <http://localhost/cfusion/FC/farcry_myapp/www/> and it looked fine.
To sum up: it looks like FarCry doesn't actually require the web server mappings ('/farcry' and '/farcry_myapp') in order to run, it works fine even without them, I think the documentation should be updated about that, I was pretty confused at the beginning ...
The only problem in my setup is that FarCry URLs are pretty long, but since I am running ColdFusion in the '/cfusion' context root, I don't see any easy workaround to that. Probably I could use Apache URL rewriting and proxying capabilites to have shorter URLs ...
Please let me know if I missed something in my FarCry install, any suggestion would be greatly appreaciated, this is my first experience with FarCry.
Feel free to modify this message and put it on the FarCry website, it may help other users of ColdFusion MX for J2EE to setup FarCry ...
Thanks.
--- You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org To unsubscribe send a blank email to leave-farcry-dev-5105H-VCrIQ7D8lE6uI5gGy/GxD7pzq4S04n8Q@public.gmane.org Aussie Macromedia Developers: http://lists.daemon.com.au/
On 16/12/2004, at 3:59 AM, The Wolf wrote:> On 12/11/04 5:26 PM, The Wolf wrote:>
Since I have ColdFusion MX for J2EE running on Tomcat, the context >> root is '/cfusion' (even through Apache web server), that means that >> CFML files will only be processes under that context root, e.g. >> '/cfusion/myapp/index.cfm' etc.>> I am still looking on how to setup FarCry with a contex root other >> than '/'.>
I finally figured out how to run FarCry on ColdFusion MX for J2EE on > Tomcat.>
Thanks to Tim Lucas and all the others who contributed to this thread.
No probs.
Looks like it was just a matter of setting the correct values in the installer.
- tim
--- You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org To unsubscribe send a blank email to leave-farcry-dev-5105H-VCrIQ7D8lE6uI5gGy/GxD7pzq4S04n8Q@public.gmane.org Aussie Macromedia Developers: http://lists.daemon.com.au/