title: Not Found (#404) in Yii2
body: <p>I am starting with Yii2, already installed XAMPP, created a basic project named 'yiidemo' with the help of Yii2 project template. Then access Gii by this URL <a href="http://localhost:8080/yiidemo/web/index.php?r=gii" rel="nofollow">http://localhost:8080/yiidemo/web/index.php?r=gii</a> to generate a sample controller 'greeting', but when I click on 'Try it'  link, it is showing me following error message (url is <a href="http://localhost:8080/yiidemo/web/index.php?r=greeting" rel="nofollow">http://localhost:8080/yiidemo/web/index.php?r=greeting</a> ):</p>
  
  <p>Not Found (#404)</p>
  
  <p>This is the controllers\greetingController's code:</p>
  
  <pre><code>&lt;?php
  
  namespace app\controllers;
  
  class greetingController extends \yii\web\Controller
  {
      public function actionIndex()
      {
          return $this-&gt;render('views/index');
      }
  
  }
  </code></pre>
  
  <p>And this is the views\greeting\index.php code:</p>
  
  <pre><code>&lt;?php
  /* @var $this yii\web\View */
  ?&gt;
  &lt;h1&gt;greeting/index&lt;/h1&gt;
  
  &lt;p&gt;
      You may change the content of this page by modifying
      the file &lt;code&gt;&lt;?= __FILE__; ?&gt;&lt;/code&gt;.
  &lt;/p&gt;
  </code></pre>
  
  <p>Can any body suggest how to get it worked with Yii2 hello world example.</p>