Zend and web hosting - subdirectory appearing as root

Posted by Giuseppe on Stack Overflow See other posts from Stack Overflow or by Giuseppe
Published on 2009-08-28T13:06:57Z Indexed on 2010/05/31 15:13 UTC
Read the original article Hit count: 273

Filed under:
|
|

I have learned how to create a simple website with the Zend Framework. Now suppose I want to put it on some web hosting server. In my ZF project, I have a folder named public, which I want to appear as the root of the URL. I want my site to be visible and accessible as

http://www.mysite.com

while being served from a page like /public/index.phtml or similar.

How is this done?

© Stack Overflow or respective owner

Related posts about php

Related posts about zend-framework