如果我有一个服务器foo.com有一个根目录~/public_html/foo 。 由于某些原因,我想使用相同的服务器configuration,但指出从foo.com/test/的请求~/public_html/test 。 任何提示我怎么能做到这一点? rewrite ? location ?
foo.com
~/public_html/foo
foo.com/test/
~/public_html/test
rewrite
location
alias 。 这应该是你所要求的所有提示。
alias