DocumentRoot or VirtualHost on Mac OS 10 Coldfusion 7 install?

View: New views
4 Messages — Rating Filter:   Alert me  

DocumentRoot or VirtualHost on Mac OS 10 Coldfusion 7 install?

by Watson, Robert C :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

 

I'm new to this list and I'm new to installing ColdFusion on a Mac.  I'm
trying to get a localhost server set up for a developer and I'm having
trouble with the last few steps.  I successfully installed CF 7 with the
built-in JRun4 server option.  I can open the CF admin tool and JRun
console shows that all server threads are running.

 

However, what I can't figure out is how to do the equivalent of setting
DocumentRoot or VirtualHost as you would do on Apache in the httpd.conf
file.  With JRun there appears to be no such thing.  Ideally, the
developer would like to have his webroot right on the desktop so he can
get right to it.  He would also like to be able to develop multiple
sites.  I've been able to successfully do this setup on Windows XP and
now I just need to do the equivalent on his Mac.

 

I really have RTFM on a LOT of sites over the last few days, but none
seem to address this fundamental part of the install.  Any help you can
give is greatly appreciated!

 

Thanks.

 


***********************************************************************
This email may contain confidential material.
If you were not an intended recipient,
please notify the sender and delete all copies.
We may monitor email to and from our network.

***********************************************************************



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:3134
Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48

Re: DocumentRoot or VirtualHost on Mac OS 10 Coldfusion 7 install?

by Joseph Lamoree-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I use a Power Mac with Mac OS X 10.4 as my primary development  
machine. It works perfectly in my environment.

I believe that if you've installed CFMX with the defaults from the  
setup program, you'll have the JRun Apache module configured in /etc/
httpd/httpd.conf. If that's working correctly, you can use the  
system's web server root (/Library/WebServer/Documents/) or your  
personal site ($HOME/Sites/). Any CFML files you drop in there should  
be handed off to JRun and CFMX. You can also create symlinks to your  
heart's content. For example, you could put a symlink to /Library/
WebServer/Documents on your desktop as WebRoot, or what have you.

The traditional Apache convention of locating a user's web site is  
used: http://127.0.0.1/~username/

HTH

--
Joseph Lamoree

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:3136
Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48

Re: DocumentRoot or VirtualHost on Mac OS 10 Coldfusion 7 install?

by Nathan Dintenfass :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It doesn't answer your question, but since you seem familiar with
Apache, why not use the built-in web server in OS X instead of JRUN's
web server?  You can then do the admin as you would any Apache
configuration (for instance, I have my web root in /Web).



Watson, Robert C wrote:

> Hi,
>
>  
>
> I'm new to this list and I'm new to installing ColdFusion on a Mac.  I'm
> trying to get a localhost server set up for a developer and I'm having
> trouble with the last few steps.  I successfully installed CF 7 with the
> built-in JRun4 server option.  I can open the CF admin tool and JRun
> console shows that all server threads are running.
>
>  
>
> However, what I can't figure out is how to do the equivalent of setting
> DocumentRoot or VirtualHost as you would do on Apache in the httpd.conf
> file.  With JRun there appears to be no such thing.  Ideally, the
> developer would like to have his webroot right on the desktop so he can
> get right to it.  He would also like to be able to develop multiple
> sites.  I've been able to successfully do this setup on Windows XP and
> now I just need to do the equivalent on his Mac.
>
>  
>
> I really have RTFM on a LOT of sites over the last few days, but none
> seem to address this fundamental part of the install.  Any help you can
> give is greatly appreciated!
>
>  
>
> Thanks.
>
>  
>
>
> ***********************************************************************
> This email may contain confidential material.
> If you were not an intended recipient,
> please notify the sender and delete all copies.
> We may monitor email to and from our network.
>
> ***********************************************************************
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:3137
Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48

Parent Message unknown RE: DocumentRoot or VirtualHost on Mac OS 10 Coldfusion 7 install?

by Watson, Robert C :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, Nathan and Joseph.  I discovered that the "problem" wasn't with
the configuration, but with the fact that current corporate security
policies forbid users from having root access on their Macs (we're
primarily a print company with a small percentage of developers, so it's
just not supported from a risk/benefit standpoint).  I suppose there are
workarounds which could involve constantly calling the helpdesk and
asking them to restart ColdFusion whenever it goes down, edit config
files, etc, but that's way too much hassle for little gain.

Sean Corfield was very helpful in walking me through the issues and
helping me discover that permissions (or lack thereof) was the "root"
cause, so to speak.

Thanks again everyone!

-----Original Message-----
From: Joseph Lamoree [mailto:house.of.fusion@...]
Sent: Thursday, August 24, 2006 3:25 PM
To: CF-Mac
Subject: Re: DocumentRoot or VirtualHost on Mac OS 10 Coldfusion 7
install?

I use a Power Mac with Mac OS X 10.4 as my primary development  
machine. It works perfectly in my environment.

I believe that if you've installed CFMX with the defaults from the  
setup program, you'll have the JRun Apache module configured in /etc/
httpd/httpd.conf. If that's working correctly, you can use the  
system's web server root (/Library/WebServer/Documents/) or your  
personal site ($HOME/Sites/). Any CFML files you drop in there should  
be handed off to JRun and CFMX. You can also create symlinks to your  
heart's content. For example, you could put a symlink to /Library/
WebServer/Documents on your desktop as WebRoot, or what have you.

The traditional Apache convention of locating a user's web site is  
used: http://127.0.0.1/~username/

HTH

--
Joseph Lamoree



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:3138
Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48