Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthortwentyeight
     
    In their infinite wisdom, a client of mine attempted to go it alone with GoDaddy servers before contacting me. As such, I've needed to adapt what I've developed in Akelos to work with their hosting plan. Unfortunately, I don't have the option of directing requests to the public directory, and so I have (and ugly) rewrite rule that fixes this all for me.

    However, this apparently confuses the Akelos routing algorithms, and AK_URL_REWRITE_ENABLED is automatically added to my config.php defined as false. Routing works fine when it's omitted or set to true, but every so often Akelos decides that it should be false again.

    In order to better understand how the routing mechanisms work, can someone explain what criteria is used to determine how this constant is set? Further, am I doing something wrong to trigger this behaviour?

    Thanks,
    Andrew
    • CommentAuthorKaste
     

    um, that was ... um ...

    define(AK_ENABLE_URL_REWRITE,false)
    

    if its not set or set to true, Akelos might try to be smart.

    • CommentAuthorKaste
     

    .

     AK_URL_REWRITE_ENABLED
    

    must be set manually then, like you did.