Is it possible to separate search results by folder (content path) ?

(from github.com/noffin)
Hello,

In #1543 “Virtual Host” setting solve the separate search site.
I’d like to have different search result pages like below. Is it possible ?
www.fessurl.com for Site X
www.fessurl.com/aaa for Site A

(from github.com/marevol)
Virtual Host feature processes a request header.
To use other values as a key, you need to modify VirtualHostHelper.