|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Coldfusion install with MAMPHi! I was wondering if anyone could help... I¹m running OS X version
10.4.11. My computer came with Apache version 1.3 on it (port 80, local host). I¹ve since installed MAMP Pro, and have been using this for some basic php stuff, but I¹ve decided I want to learn Coldfusion instead :) So, I¹ve downloaded Coldfusion 8, and can get it working if I install it on the older Apache (the one that came with the machine), but if I install it to use the MAMP file (using Lehi¹s instructions - ³The Config Directory /applications/mamp/conf/apache Server Binary /applications/mamp/bin/apache2/bin/httpd (do not type this in - just navigate to it using the browse button - the second bin in this path is actually an alias that takes you to the httpd file.) There is a 3rd file (can't remember) but it's found at applications/mamp/bin/apache2/bin/apachectl² - btw, I know this is my error, not Lehi¹s :)), when I go to the administrator via Firefox, ( http://localhost:8888/CFIDE/administrator/index.cfm) I get this message, and no page; ³You have chosen to open index.cfm which is a binary file from http://localhost:8888 Would you like to save this file?² I¹ve tried changing the port to 80 for Apache in Mamp, but if I go to http://localhost/ it still previews the old apache... Doh! Thanks :) Sara | Sara McLean-Jones | | 0413 455 409 | | Creative Partner | | tolemy | | http://www.tolemy.com.au | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:4976 Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48 |
|
|
RE: Coldfusion install with MAMPHi Sara,
I might have a solution for you. Your computer has a list of default urls that it has memorized. Sort of like a mapping to help it go where you want it to go. One of these URLS is http://localhost/. When typing this in, your browser looks first at your url list stored in your computer to see if there is a default first before checking the internet. It finds the localhost url in the list and goes where it's told to go. To see this list, open up the terminal application found in the Utilities folder in your Applications folder. Type in the following line: "sudo pico /etc/hosts" and then type in your password, you should see a small list made up of 2 columns, on the left you see the ip address, usually 127.0.0.1 and then on the right the name of the url string... like 'localhost': 127.0.0.1 localhost Because you want to view the root folder, you won't have to change this file at all, but if you wanted to add a custom url for a development website you were working on and you wanted it to have it's own url on your machine, this would be the file you would edit. For example, if I'm working on a project, to access it in the browser I would type in http://localhost/myProject/ and this would take me to my project, but http://localhost/ would still be the root. But if I give it a custom url: http://myProject/ then that would be the root. I'm not very good at explaining things so I'm sorry if I lost you. Anyway, back to your problem. Next open up another file, this is found in /applications/mamp/conf/apache/httpd.conf - open this in a text editor and navigate to the bottom of the file. Find the following line: #NameVirtualHost * And take out the pound sign so it reads: NameVirtualHost * Then below it type the following: <VirtualHost *> DocumentRoot "/applications/mamp/htdocs" ServerName localhost </VirtualHost> And then save it. You will have to stop and start the mamp servers for the changes to take effect but this should help the browser connect to the mamp root folder instead of the computers root folder. If you want to know how to add a custom url for your projects just let me know. I don't want to make this a super long post. -Lehi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:4978 Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48 |
|
|
RE: Coldfusion install with MAMPI'm sorry, after typing "sudo pico /etc/hosts" hit enter and THEN type
your password :-) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:4979 Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48 |
|
|
Re: Coldfusion install with MAMP>I'm sorry, after typing "sudo pico /etc/hosts" hit enter and THEN type
>your password :-) Hi Lehi, Thanks for your response :) I've done those changes, but localport is still going to the computer installed version - could this be because I'm running MAMP Pro instead of MAMP? Thanks again, Sara ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:4980 Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48 |
|
|
Re: Coldfusion install with MAMPHave now turned off Personal Web sharing - no joy still...
Still seeing the computers Apache when I look at http://localhost - not MAMPs I have tried installing coldfusion 8 to the computers apache, and this works (I can get to administrator), and I have installed following your instructions to try to get it to use the MAMP stuff... It says the install is successful, it won't let me open the administrator though. Hhhmmmmm... :) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:4983 Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48 |
|
|
RE: Coldfusion install with MAMPTyr going to system preferences and in click on sharing and then check
to make sure your Web Sharing is turned off. See what that does. There shouldn't be a difference between mamp pro and mamp for this problem. When you were setting up coldfusion and you were connecting it to a webserver, did you connect it to the computer's apache or mamp's? -Lehi -----Original Message----- From: Sara MJ [mailto:sara@...] Sent: Monday, February 18, 2008 11:18 AM To: CF-Mac Subject: Re: Coldfusion install with MAMP >I'm sorry, after typing "sudo pico /etc/hosts" hit enter and THEN type >your password :-) Hi Lehi, Thanks for your response :) I've done those changes, but localport is still going to the computer installed version - could this be because I'm running MAMP Pro instead of MAMP? Thanks again, Sara ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:4981 Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48 |
|
|
RE: Coldfusion install with MAMPI don't know why I didn't think of this before. But try opening Terminal
and type the following: sudo /applications/coldfusion8/bin/coldfusion start you might have to type in your password for this one and then try to navigate to the coldfusion admin in the browser again. -Lehi -----Original Message----- From: Sara MJ [mailto:sara@...] Sent: Monday, February 18, 2008 11:32 AM To: CF-Mac Subject: Re: Coldfusion install with MAMP Have now turned off Personal Web sharing - no joy still... Still seeing the computers Apache when I look at http://localhost - not MAMPs I have tried installing coldfusion 8 to the computers apache, and this works (I can get to administrator), and I have installed following your instructions to try to get it to use the MAMP stuff... It says the install is successful, it won't let me open the administrator though. Hhhmmmmm... :) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:4986 Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48 |
|
|
RE: Coldfusion install with MAMPAlso, when you were setting up ColdFusion, where did you tell ColdFusion
the root directory was? If you are using Mamp, it should be /applications/mamp/htdocs/ This popped into my head as well in case this is the issue. -Lehi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:4988 Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48 |
|
|
Re: Coldfusion install with MAMPHi Lehi,
Is there a way to do this with Apache on port 8888? Or do I have to get it onto port 80 for this to work? Thanks for your patience :) Sara ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:4990 Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48 |
|
|
RE: Coldfusion install with MAMPI think it should work on both ports, I'm not too web server savvy when
it comes to ports and stuff. Could you possibly give me a step by step on what you did to install CF8 on your computer. Details aren't necessary I'm just curious as to what the procedure was, this might help me think of something. Something like: 1: added mamp to my applications folder 2: ran coldfusion 3: picked the destination for coldfusion 4: chose web server.... etc This would help me out a lot. And come to think of it, did you have MAMP running when you were hooking ColdFusion up to it. This is what got me during my installations. *Notice the 's' on the end of installation*. If not, MAMP should be running while you install Coldfusion. Took me a few times to find this out. Also, it might help ( I suggest you do ) if you uninstall ColdFusion with each failed attempt and be sure to empty the trash to prevent any system settings from interfering with your next attempt. Uninstalling ColdFusion doesn't erase your root folder since this is located in the MAMP folder. But be wise and back up the HTDOCS folder in MAMP anyway (when you do be sure to delete the cfide and cfdocs folders as these are related to the current coldFusion installation and you won't need them for the next attempt since the CF8 installation recreates these on the fly. Sorry for taking this long to respond. -Lehi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:5004 Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48 |
|
|
Re: Coldfusion install with MAMPSara a couple things.
1. If you are running Apache 1.3, your cf should install just fine. You don't have to use MAMP as far as I know. 2. But if you do want to use MAMP, go here and follow this video. It worked for me: http://www.flashalisious.com/2007/12/14/installing-coldfusion8-on-leopard-using-mamp/ Happiness -- // Jaye Morris | Developer // www.jayezero.com // jaye@... // jayezero@... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Mac/message.cfm/messageid:5028 Subscription: http://www.houseoffusion.com/groups/CF-Mac/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48 |
| Free embeddable forum powered by Nabble | Forum Help |