If you are using dual booting, some times we need to access windows xampp htdocs folder from ubuntu.
steps
1. get drive id
sudo blkid
2. Mount windows drive
udisks --mount /dev/sda6 --mount-options umask=022
3. if it is already mounted the un mount
sudo umount /dev/sda6
3. make a link (shor cut) of xamp htdocs and rename to www
4. rename or delete* /var/www folder
sudo mv www www_backup
5. copy that link (short cut ) www to /var/
mv www /var/www
give permission if it require