Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a website that needs to allow some downloads of some very large files that are on an external hard drive. I've made an alias and it works, but I just get "403 forbidden" whenever I try to look at anything on the hard drive. I tried chmod and chown to solve the problem, but they don't work on a FAT drive. Reformatting the drive or putting everything on the internal hard drive is not an option as there is nowhere else with enough space to put all these files. Can someone please tell me how to make Apache access them?

share|improve this question

I figured it out eventually. I had to unmount the drive, recreate the drive's folder under "/media" and chown:chgrp it for www-data, and then remount the drive manually setting the user and group id to www-data.

share|improve this answer

you probably need to setup a <Directory> tag to allow access to the directory.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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