I have installed XAMPP for macOS Sierra.
I have one icon in application for XAMPP.
I am able to run the server & it's services but I am not able to find the htdocs folder.
I have not found it under \Library\Webserver
I have installed XAMPP for macOS Sierra.
I have one icon in application for XAMPP.
I am able to run the server & it's services but I am not able to find the htdocs folder.
I have not found it under \Library\Webserver
Just found out that XAMPP nfs mounts on MacOS are located in following path:
/Users/my_name/.bitnami/stackman/machines/xampp/volumes/root/htdocs
The new version of XAMPP uses a VM for its content, you need to mount the Volume to access htdocs.

More info about differences between old XAMPP and XAMPP-VM: XAMPP-VM for Mac
In other to locate the right and active htdocs directory of your XAMPP for macOS Sierra, follow the three steps below;
From the resulting window, you can easily locate your htdocs folder.
More details available here.
You can also mount it on your own mac :
hatem@Mac:/opt$ sudo mkdir lampp
hatem@Mac:/opt$ sudo mount -t nfs -o resvport,rw 192.168.64.2:/opt/lampp /opt/lampp
Then ls and you will find the entire lampp from the VM mounted locally.
I found out that the NEW xampp has file explorer link on it click it and boooooooooom htdocs is there