Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthormarx
     

    Is it possible for users to run Akelos in their ~/public_html directories using apache's userdir module? I've untarred the archive, but when i visit http://localhost/~mark/akelos_framework, I get an internal server error. If it is possible, do I need to configure something in Akelos or Apache to make it work?

    Cheers

    •  
      CommentAuthorbermi
     

    It should be possible. Normally this sort of problems are caused by Apache's configuration.

    You'll need to edit your http://localhost/~mark/akelos_framework/.htaccess file and change

    # RewriteBase /framework
    

    with

    RewriteBase /~mark/akelos_framework
    
    • CommentAuthormarx
     

    Hmm, that didn't fix it.

    It all runs fine if I untar to /var/www (so I run it from http://localhost/akelos_framework), but then I have hassles with file permissions that I'd rather avoid if possible.

    I just found that whenever I try running index.php, this error is generated in /var/log/apache2/error.log: /home/mark/public_html/akelos_framework/.htaccess: DirectoryIndex not allowed here

    Interestingly, if I go to http://localhost/~mark, akelos_framework doesn't appear in the directory listing

    •  
      CommentAuthorbermi
     

    Have you tried removing the first line

    DirectoryIndex index.php
    

    in your .htaccess file

    • CommentAuthormarx
     

    Success! Removing the DirectoryIndex line and adding the RewriteBase line together solved the problem. Thanks very much!