Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorpweil
     
    I need to move an akelos application to within another directory inside htdocs. Originally, myakelosapp/public was symlinked to htdocs/myakleosapp. Now it needs to be symlinked to htdocs/virtualhost/myakelosapp. I've changed the symlink and have edited routes.php as follows:

    $Map->connect('/virtualhostname/myakelosapp/:controller/:action/:id', array('controller' => 'page', 'action' => 'index'));
    $Map->connect('/virtualhostname/myakelosapp/', array('controller' => 'page', 'action' => 'index'));

    If I go to http://virtualhost/myakelosapp now, I get the Akelos Getting Started page. But I already have my models and controllers. What else do I need to change, and in which file(s) so it sees the models, controllers, views, etc?

    Thank you, pw
    • CommentAuthorpweil
     
    Problem solved. It turned to be a permissions problem. I also needed to roll back the changes I made in routes.php. So making the move is very easy in principle. I just happened to make it very difficult.