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.

If I have a server foo.com which has a root directory ~/public_html/foo. For some reasons I want to use the same server config but point the request from foo.com/test/ to ~/public_html/test. Any hints on how can I do that? rewrite? location?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

alias. That should be about all the hint you asked for.

share|improve this answer
add comment

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.