up vote 1 down vote favorite
share [g+] share [fb]

What would i have to do (perhaps to virtualhost directive) to run www.example.com/link1 from /var/www/link1, and www.example.com/link2 from /home/name/link2?

All the stuff i've seen online is about running different domains, can someone point me to the right direction it would be much appreciated!

link|improve this question

67% accept rate
feedback

1 Answer

up vote 5 down vote accepted

Would:

Alias /link1 /var/www/link1
Alias /link2 /home/name/link2

Be sufficient?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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