Virtual Host on a sub directory

view story

http://serverfault.com – I m working on a Zend web project and there a requirement that it works that it works good on top domain, and on a domain+directory paths like this: www.myDomain.com www.myDomain.com/somedir/myproject/ There is a good implementation in the project by no for figgering out the basePath and properly include files (I inherited the code from unknown but good developer); But i fail to setup my VHosts to test the second case www.myDomain.com/somedir/myproject/ if all my includes work properly. My current setup is as simple as possible: #hosts www.myDomain.com . #httpd-vhost (HowTos)