title: CakePHP 2.x: Alaxos ACL Plugin- configure the admin route
body: <p>i am a cakephp beginner , have not much exposure to cakephp. 
  I have followed installation step for Alaxos ACL plugin foe cakephp 2.0 from <a href="http://www.alaxos.ch/blaxos/pages/view/34#comments_list" rel="nofollow">-alaxos site</a> .. there second step is configuring admin routing . </p>
  
  <p>that i have done by adding  </p>
  
  <pre><code>Router::connect('/admin/acl', array('plugin' =&gt; 'acl', 'controller' =&gt; 'acl', 'action' =&gt; 'admin_index', 'admin' =&gt; true));
  </code></pre>
  
  <p>to my Cake/Routing/Router.php file and configuring  app/Config/core.php: by adding following line </p>
  
  <pre><code> Configure::write('Routing.prefixes', array('admin'));
  </code></pre>
  
  <p>i am not sure whether this is the correct way of doing it...</p>
  
  <p>On accessing the plugin <a href="http://localhost/cakeacl/admin/acl" rel="nofollow">http://localhost/cakeacl/admin/acl</a> it gives error</p>
  
  <pre><code> **Private Method in AclController
  </code></pre>
  
  <p>Error: AclController::admin_index() cannot be accessed directly.**</p>
  
  <p>Please help me ..Thanks in advance...</p>