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'm wondering what the best way or what way I should do this.

I have a secure site and is in the directory /home/examplesite/www is in /home/contacts/docs

share|improve this question
up vote 2 down vote accepted

Assuming this is Linux, and you're not using a control panel, you could use a symbolic link here. It requires having the right permissions in both, and AllowSymlinks (I think) being setup in the apache configuration, but as far as I'm aware this is usually default for vhosts. Simply:

cd /home/examplesite/www
ln -s /home/contacts/docs contactus

share|improve this answer
Probably the simplest way. Thanks for your help. – Michael Burns Nov 10 '10 at 17:04

Actually the proper Apache method / approach would to be use an Alias instead of maintaining symlinks

Alias /contactus /home/contacts/docs

It all depends on how you want to do it.. (from the OS, or from Apache)

Hope this helps :D

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.