![]() Press Ctrl+O followed by Enter to save these changes.Replace both occurrences of /Library/WebServer/Documents with /Users/david/Sites (instead of david use your name which can be found at the top of your terminal next to the home icon).Go back to Terminal and enter sudo nano /etc/apache2/nf.Save index.php in the Sites folder you created.Open your favorite text editor and create a file called index.php with the following code:.Create a new folder and name it Sites (The Safari icon shown below gets added automatically to the Sites folder as shown below).This will take you to your home directory, which will also be whatever your computer is named in this case it's david. ![]()
0 Comments
Leave a Reply. |