2

I want to create a "files" virtual directory in my local apache webserver that will point to my external HDD "/Volumes/Iomega_HDD/files".

How can I do that?

1 Answer 1

3

You could use a symlink:

ln -s /Volumes/Iomega_HDD/files /var/www/files

This would create a link called files, that points at your external volume.

Caveat: Permissions have to be set properly on your /Volumes/Iomega_HDD/files dir to be viewable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.