![]() After making the folder, you’ll see that it has an unusual icon. You need to make “Sites? at the root level of your account. User level root: The other root directory that’s missing by default is Sites folder in the User account. System level root: You will find the default root at The files are shared in the file sharing system at /Library/WebServer/Documents/. Using user level is easier as it doesn’t need to authenticate as admin repeatedly. System level is global for all users while the user level will allow multiple accounts having their own web roots. One is at the system level and another at the user level. On OS X El Capitan, you have two web roots. This is the place where the files from the file system are shared. The next step is to make a document Root or a Web Root. In case you don’t want to run the above test you can rather troubleshoot Apache to detect any issue within it. The version that accompanies OS X El Capitan is Apache 2.4.16. You now need to test whether the web server is working in the browser In your browser, you need to see the “It Works!? text. For others, you will get proper feedback. There won’t be any response to some commands, and that means that the command is done. Type or paste commands directly there and hit enter.Ĭommands with their applications protected in certain folders need to be entered with the prefix ‘sudo.’ You’ll also need to confirm with your admin password in such cases. Get that in Applications/Utilities/Terminal or just press ⌘ + Space and type Terminal.ĭone with that, you’ll get to see a command prompt. The action starts with launching the Apache Open Terminal. ![]()
0 Comments
Leave a Reply. |