did you restart MAMP?
the help offered by Michael Connors is complete and correct. if you follow 
it you should be fine


Am Donnerstag, 8. November 2012 11:24:24 UTC+1 schrieb Neil Berrow:
>
> When I added http://bundle.local it kept going to my root folder 
> /applications/mamp/htdocs, I have other sites set there.
>
> Do you think pick somewhere else on my machine?
>
> Thanks for your help!
>
> On Thursday, November 8, 2012 11:36:16 AM UTC+2, euromark wrote:
>>
>> why are you then still trying to access it via localhost?
>>
>> the url would then be `http://bundle.local/` <http://bundle.local/> - 
>> which then would correctly call the webroot index.php and dispatch 
>> accordingly
>>
>>
>> Am Donnerstag, 8. November 2012 07:19:44 UTC+1 schrieb Neil Berrow:
>>>
>>> I've gotten this far (see image), here's my conf:
>>>
>>> <VirtualHost *>
>>> DocumentRoot "/Applications/MAMP/htdocs/bundle/app/webroot"
>>> ServerName bundle.local
>>> RewriteEngine on
>>> <Directory "/Applications/MAMP/htdocs/bundle/">
>>> AllowOverride All
>>>         Order deny,allow
>>>         Allow from All
>>> </Directory>
>>> </VirtualHost>
>>>
>>> Here's my url:
>>> http://localhost:8888/bundle
>>>
>>> Am I on the right track?
>>>
>>> Cheers!!
>>>
>>> On Thursday, November 1, 2012 4:53:13 PM UTC+2, Neil Berrow wrote:
>>>>
>>>> Followed these directions but it's not working, it may be the .htaccess 
>>>> file, can you upload a copy so I can see if it is that.
>>>>
>>>> Thanks for your help!
>>>> Neil
>>>>
>>>> On Thursday, October 4, 2012 7:31:39 AM UTC+2, Michael Connors wrote:
>>>>>
>>>>> Make a directory somewhere on your drive, say its 
>>>>> /user/me/projects/site. Download and unzip cakephp and put its contents 
>>>>> in 
>>>>> that folder site.
>>>>>
>>>>> open MAMP/conf/apache/httpd.conf
>>>>>
>>>>> add a virtual host at the bottom
>>>>>
>>>>> <VirtualHost *>
>>>>> DocumentRoot "*/user/me/projects/site/app/webroot*"
>>>>> ServerName *mysite.local*
>>>>> RewriteEngine on
>>>>> <Directory "*/user/me/projects/site/*">
>>>>> AllowOverride All
>>>>>         Order deny,allow
>>>>>         Allow from All
>>>>> </Directory>
>>>>> </VirtualHost>
>>>>>
>>>>> Open a terminal and edit host file
>>>>>
>>>>> sudo vi /etc/hosts
>>>>>
>>>>> add the line 
>>>>> *127.0.0.1 *      *mysite.local*
>>>>>
>>>>> Restart MAMP. You should be able to open a browser and go to *
>>>>> http://mysite.local *and use that as a working directory. From there 
>>>>> go through the instructions if there are errors, you will most likely 
>>>>> have 
>>>>> to add .htaccess files. I also highly recommend get a git account 
>>>>> somewhere 
>>>>> and commit your files to git.
>>>>>
>>>>>
>>>>>
>>>>> On Wednesday, October 3, 2012 5:07:03 AM UTC-4, Neil Berrow wrote:
>>>>>>
>>>>>> Hi
>>>>>>
>>>>>> I've searched and searched but all I can find is how to install a 
>>>>>> Cake environment from scratch locally on a mac.
>>>>>>
>>>>>> I have an existing site which my developer built for me months ago, 
>>>>>> I'm no Cakephp programmer but I have basic php skills.
>>>>>>
>>>>>> Can anyone suggest where I can get info from or if they've been in 
>>>>>> the same boat?
>>>>>>
>>>>>> Any help will be much appreciated!
>>>>>>
>>>>>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to