To find the correct and active htdocs directory htdocs your XAMPP for macOS Sierra, follow these three steps;
- Launch your XAMPP and click on the βStartβ button.
- Wait until the status indicator changes color from orange to green, then click the Volumes tab (between the Network and Log tabs),
- Click the "Mount" button, then the "Explore" button;
In the htdocs window, you can easily find the htdocs folder.
More information is available here .
source share