title: Zend Framework document root setup
body: <p>My problem maybe easy to solve, but I really can't figure it out.</p>
  
  <p>I followed the instructions in the book "Beginning Zend framework" creating a new project. 
  The project has 2 controllers 'account' and 'artist'. Here is the tree view of /application: </p>
  
  <pre><code>.
  ├── application
  │   ├── Bootstrap.php
  │   ├── configs
  │   │   └── application.ini
  │   ├── controllers
  │   │   ├── AccountController.php
  │   │   ├── ArtistController.php
  │   │   ├── ErrorController.php
  │   │   └── IndexController.php
  │   ├── models
  │   └── views
  │       ├── helpers
  │       └── scripts
  │           ├── account
  │           │   ├── activate.phtml
  │           │   ├── index.phtml
  │           │   ├── new.phtml
  │           │   └── success.phtml
  │           ├── artist
  │           │   ├── index.phtml
  │           │   └── list-all-artists.phtml
  │           ├── error
  │           │   └── error.phtml
  │           └── index
  │               └── index.phtml
  </code></pre>
  
  <p>How can I setup document root to access /account/new.phtml, for example? (When typing 127.0.0.1, I can see the default index page "Welcome to the Zend Framework!", but I don't know how to access other pages).</p>
  
  <p>More information:
  +) The document root is /.../public/ (which contains .htacess and index.php)
  +) 127.0.0.1/index also returns that page, but 127.0.0.1/index/index.phtml does not work.
  <a href="http://127.0.0.1/account" rel="nofollow">http://127.0.0.1/account</a>, <a href="http://127.0.0.1/artist" rel="nofollow">http://127.0.0.1/artist</a> return 404 error.</p>