title: Redirect to a page other than login in Yii 2 behaviors
body: <p>Is there any way to redirect to a page other than login in behaviors method in Yii 2?</p>
  
  <p>My behaviors method content:</p>
  
  <pre><code>public function behaviors()
  {
      return [
          'verbs' =&gt; [
              'class' =&gt; VerbFilter::className(),
              'actions' =&gt; [
                  'delete' =&gt; ['post'],
              ],
          ],
          'access' =&gt; [
              'class' =&gt; AccessControl::className(),
              'only' =&gt; [ 'create','update' ],
              'rules' =&gt; [
                  [
                      'allow' =&gt; true,
                      'actions' =&gt; [ 'create'],
                      'roles' =&gt; ['@'],
                  ],
                  [
                      'allow' =&gt; true,
                      'actions' =&gt; ['logout'],
                      'roles' =&gt; ['?'],
                  ],
              ],
          ],
      ];
  }
  </code></pre>
  
  <p>But it redirects to login. I need to specify another redirect page or call:</p>
  
  <pre><code>throw new \yii\web\HttpException(403, 'The requested Item could not be found.');
  </code></pre>