Can I add comments via e-mail?
Farcry Install Instructions for OS X
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Talxy Chat
• Horoscope
• Online
 
Create a Custom Profile and Upload Pictures! Write Blogs & Comments. All for FREE.

QAIX > Content Management System > Farcry Install Instructions for OS X 16 December 2004 01:15:52

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Farcry Install Instructions for OS X

Tim Lucas 16 December 2004 01:15:52
 Just had to setup a new farcry app here so I thought I'd write this up
as I went.

I setup a new FC site as a named virtual host running with the OS X
built-in apache and cfmx.

This assumes you've got the apache connector successfully installed.

Hope sombody finds it useful.


== Setting up a Farcry Virtual Host on Apache + JRun for OS X ==

1) Create a dir /vhosts/farcry_appl­ications

2) Unzip farcry download (core, fourq and aura) into farcry_applications­

3) Create a new DB and datasource for your farcry app

4) Create a JRun mapping for /farcry to /vhosts/farcry_appl­ications
(i.e. add the following to coldfusion's jrun-web.xml):

<!-- Farcry mapping -->
<virtual-mapping>
<resource-path>/far­cry</resource-path>
<system-path>/vhost­s/farcry_application­s</system-path>
</virtual-mapping>

(This file can usually be found in
/Applications/JRun4­/servers/<servername­>/cfusion/WEB-INF/jr­un-web.xml)

5) Enable named virtual hosting in Apache (/etc/httpd/httpd.c­onf)
- Uncomment NameVirtualHost *:80

5a) Add index.cfm to your DirectoryIndex directive

6) Create a virtual host in
/private/etc/httpd/­users/YOURUSERNAME/h­ttpd.conf which has a /farcry
alias pointing to farcry_core/admin
- e.g.
<VirtualHost *>
Servername farcry-demo
DocumentRoot /vhosts/farcry_appl­ications/farcrydemo
Alias /farcry /vhosts/farcry_appl­ications/farcry_core­/admin
</VirtualHost>

7) Add an /etc/hosts entry for the virtual host

8) Restart Apache (sys prefs -> sharing -> web sharing -> stop & stop)

8) Run http://farcry-demo/­farcry/install (site name: farcrydemo)

9) Select view-site

10) Login to farcry:
http://farcry-demo/­farcry
Username: farcry
Password: farcry

Post tasks
- Delete farcry user:
- Delete farcry_core/admin/i­nstall
- Customize site files found (in
/vhosts/farcry_appl­ications/farcrydemo/­)


-- tim lucas

http://www.toolmant­im.com


---
You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq­5CNFT+jYtjvyW6yDsg@p­ublic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

OptionsAdd comment
The Wolf 10 December 2004 14:53:02 permanent link ]
 On 12/10/04 6:21 AM, Tim Lucas wrote:
4) Create a JRun mapping for /farcry to /vhosts/farcry_appl­ications
(i.e. add the following to coldfusion's jrun-web.xml):
<!-- Farcry mapping -->
<virtual-mapping>
<resource-path>/far­cry</resource-path>
<system-path>/vhost­s/farcry_application­s</system-path>
</virtual-mapping>
(This file can usually be found in
/Applications/JRun4­/servers/<servername­>/cfusion/WEB-INF/jr­un-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-Uylq­5CNFT+jYtjvyW6yDsg@p­ublic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

Add comment
Gavin Cooney 10 December 2004 18:02:33 permanent link ]
 you need to get apache working with CF first.

that's what tim did.



On Fri, 10 Dec 2004 12:53:02 +0100, The Wolf <thewolf-97jfqw80gc­6171pxa8y+qA@public.­gmane.org> wrote:
On 12/10/04 6:21 AM, Tim Lucas wrote:
4) Create a JRun mapping for /farcry to /vhosts/farcry_appl­ications
(i.e. add the following to coldfusion's jrun-web.xml):
<!-- Farcry mapping -->
<virtual-mapping>
<resource-path>/far­cry</resource-path>
<system-path>/vhost­s/farcry_application­s</system-path>
</virtual-mapping>
(This file can usually be found in
/Applications/JRun4­/servers/<servername­>/cfusion/WEB-INF/jr­un-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-Re5JQE­eQqe8AvxtiuMwx3w@pub­lic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/


---
You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq­5CNFT+jYtjvyW6yDsg@p­ublic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

Add comment
The Wolf 10 December 2004 19:24:30 permanent link ]
 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/cfu­sion/> 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-Uylq­5CNFT+jYtjvyW6yDsg@p­ublic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

Add comment
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-97jfqw80gc­6171pxa8y+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/cfu­sion/> and
I don't know how to config FarCry to work with that ...
Thanks.
---
You are currently subscribed to farcry-dev as: gavin.cooney-Re5JQE­eQqe8AvxtiuMwx3w@pub­lic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/


---
You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq­5CNFT+jYtjvyW6yDsg@p­ublic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

Add comment
The Wolf 11 December 2004 19:26:11 permanent link ]
 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/ind­ex.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-Uylq­5CNFT+jYtjvyW6yDsg@p­ublic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

Add comment
The Wolf 15 December 2004 19:59:17 permanent link ]
 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/ind­ex.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/c­fusion/CFIDE/adminis­trator/>.


Here are the steps I followed to install FarCry:

- I created the '/mySites/cfusion/F­C' directory.

- I extracted the 'FarCryV2-2.tar.gz file, moved the 'farcry_aura',
'farcry_core' and 'fourq' directories into the '/mySites/cfusion/F­C'
directory.

- I loaded the FarCry installer into my web browser, the URL is
<http://localhost/c­fusion/FC/farcry_cor­e/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/F­C"

- 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/c­fusion/FC/farcry_cor­e/admin/> and it worked fine.

- I took a look at my FarCry test application at
<http://localhost/c­fusion/FC/farcry_mya­pp/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-Uylq­5CNFT+jYtjvyW6yDsg@p­ublic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

Add comment
Tim Lucas 16 December 2004 01:15:52 permanent link ]
 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/ind­ex.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-Uylq­5CNFT+jYtjvyW6yDsg@p­ublic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Please, be respectfull to your interlocuters, do not use dirty language, do not abuse capiatl letters, do not post advertisment or buying and selling declarations and also materials wich are breaking netiquette or law.


QAIX > Content Management System > Farcry Install Instructions for OS X 16 December 2004 01:15:52

see also:
Var/log/mysql/mysql.log
converting to MD5
SQL Syntax question
see also:
Converting from dbase
Re: pgsql password when FreeBSD boots…
analyzing postgresql performance for…
see also:
Re: psql: FATAL 1: IDENT…
Cygwin and C triggers
Open Source case tools (similar to…

  Copyright © 2001—2008 QAIX
Idea: Miñhael Monashev
You can find the help and FAQ in the Admin's blog.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .