Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 directory containing files: /Users/Dave/MyFolder/

How would I configure Apache so I can access files in it, specifically with this root URL:

I understand permissions on files must allow everyone read-access. This is a one-off directory (e.g. I don't want to break what's already at /var/www/).

share|improve this question
Users directory not being under /var/www in this case? – random Jul 16 '11 at 21:34
Yes, you're correct. :) – Dave Gallagher Jul 16 '11 at 22:12
up vote 4 down vote accepted

Use mod_alias and the Alias directive - full details at, but basically Alias /http/path /fs/path

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.