![]() ![]() NB: To follow up I can use www in the addresses but have decided to leave it out Sorry to anyone else looking for a solution to this problem. So I added another one and an extra code for localhost so I can still have that option. was sort of going in circles for a while then it started working. This started working, then when I swapped it back it would cause the issue again. I then started swapping around the code, so putting c2 before c1: I tried to test by deleting the nf file and replacing it with the back up, then adding all the details again. And i didn't have a domain - mydomain discrepancy. Good spot, but in my follow up reply where I had two different domains, it was still having the same issue. I'm not sure what made it start to play ball. The drupal6-test folder is the folder containing Drupal (e.g I extracted the tar.gz and renamed the resulting folder to that name).įor some reason it is now working. The path for document root set in MAMP is /Users/MyAccount/htdocs. So one example of a path for me (as entered in my VirtualHost) would be /Users/MyAccount/htdocs/cms/drupal6-test. one folder for my own sites, one for client sites, and one for cms testing/random stuff). In my case I separate these one extra level as well with several initial folders for better organization, and sites inside this group of parent folders (e.g. Inside that put folders for the actual sites. In the "Apache" tab of MAMP, set the document root to exactly: /Users/imace/foo (where foo is htdocs). The only thing I'm seeing right off that's hinting to me of a possible issue is the try to set it up without using Also make sure that you've properly setup your path to htdocs in MAMP's settings. When I visit I am shown the file structure from the foo folder. Applications/MAMP/conf/apache/nfġ27.0.0.1Ěnd it seems as if the addresses are reversed when I visit it shows the hello word file (from the site folder). I would like my site "root" (say to be: /User/imac/foo/siteįollow the steps in the tutorial My nf file My localhost root I want to be is: /User/imac/foo I have also set MAMP to use port 80 (8889 for MySQL) so I don't have to type the port number as well. Īnd tried to do some research but it all pretty much follows the same set up. ![]() I have followed the steps in this tutorial. Read what people are saying on Twitter.This one is aimed at those who have a mac and use a virtual host to make their drupal sites.Read what our customers are saying about us.Every website is available over HTTP and secure HTTPS.Automatically refresh your web browser when you make changes to your website.Apple's software updates cannot break your settings.No more administrator password prompts.Comes with its own self-contained Apache web server.Built on-top of the power of Vagrant and VirtualBox.One-click installs of your favorite web apps.Use our iOS app to view your websites on your mobile devices. ![]() Safely backup your website's files and databases for safekeeping, and then restore them onto a different computer.With VirtualHostX you can easily create and manage unlimited Apache websites with just a few clicks. It's the perfect solution for web designers working on more than one project at a time. VirtualHostX is the easiest way to host and share multiple websites on your Mac. ![]()
0 Comments
Leave a Reply. |