Quote Originally Posted by petervk View Post
I don't think it is possible to create a soft link to a fat32 drive. I'm pretty sure its a ext2/3 only thing and cannot span different filesystems.

What you can do is change the "DocumentRoot" in the httpd.conf file for XAMPP.

Open a terminal:
sudo cp /opt/lampp/etc/httpd.conf /opt/lampp/etc/httpd.conf.backup
sudo gedit /opt/lampp/etc/httpd.conf
Now Scroll down to the line:
DocumentRoot "/opt/lampp/htdocs"
and change it to point to your fat32 drive. (? "/media/fat32/" ?)

I'd suggest to point it only to a web subdirectory on the drive as serving up the root of the drive will put all of the files on it onto the webserver and allowing anyone to view them.

Changing this will make the fancy http://localhost/xampp test stuff stop working. (It is installed into /opt/lampp/htdocs/) Everything else should work.

Hope that helps.
I did this but I get a 403 forbidden error.