Thanks Gerard I have got that working what you said below. I have got a module that points to a sub-domain via htaccess. But this is all happening on my WAMP test server and I also created a sub-domain in the host file inside WIndows.
But the web hosting company's production server (plesk) also creates the folders with all that standard public_html folder and others once I create a sub-domain. Now I don't want that to happen, I want the sub-domain to exist but without its physical folders. I will be asking the provider for the alternative. I am not sure if I can bypass the sub-domain folders (or some sort of sub-domain redirection to the domain folder) with some htaccess trickery. I am not great in regex so I don't know if it is possible to do this way drm-4 wrote: > > Hi Pradosh > > prado wrote: >> subdomain installation? >> Do i need to do some bootstrapping on the subdomain? >> >> Can this be achieved through a module that sits on the subdomain and that >> can be connected to the zf on the main domain? >> > What do you mean by "connected"? I'm assuming you mean "example.org" by > main domain, and "whatever.example.org" by subdomain? Regularly, the > easiest way to share any server side code between the two is simply let > them run inside the same document root, and let php code or rewrite > rules handle the differences between the two. > > But I'm not really sure what it is you want, so please be a bit more > specific. > > Regards, > Gerard > > -- View this message in context: http://n4.nabble.com/sharing-zend-framework-inside-the-main-domain-from-the-subdoamin-tp955998p956844.html Sent from the Zend Framework mailing list archive at Nabble.com.
