Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm wondering what the best way or what way I should do this.

I have a secure site https://www.example.com and https://www.example.com/contactus

https://www.example.com is in the directory /home/examplesite/www

https://www.example.com/contactus is in /home/contacts/docs

share|improve this question

2 Answers 2

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.