tampe125 wrote:So the only correct thing is to mount the directory folder?
there is no way using a soft/hard link?
Of course there is a way using soft/hard links - you are mixing up some things obviously.
You can use links instead of modifying the configuration files, but you MUST mount the filesystem anyway - how will you put a link to a destination that is not mounted? And dont simply mount the directory folder (thats not what i have written), mount the whole filesystem which holds the Xampp directory.
And you cannot use hard links (only soft links, also called symbolic links), because hard links work only within the same partition, and i assume, that your linux and your windows are installed on different partitions.
The biggest challenge of this job is to grant the sufficient rights to the mounted files, because Apache (and MySQL) runs with a certain UserID and needs sufficient rights to access the files (as well as for MySQL, which needs to modify the databases). You have to edit and modify the /etc/fstab configuration file properly.