"/z/app/webroot/$1/$2",          "^/z/(.*)$" => "/z/app/webroot/index.php?url=$1"       ) 4) install cakephp CakePHP  is a  free ,  open-source ,  rapid development   framework  for  PHP .    It helps programmers to create web applications. 5) setup cakephp    Modify routes.app Router::connect('/devices', array('controller' => 'devices', 'action' => 'index'));  Router::connect('/devices/:action/*',