mod rewrite - cakephp acl redirecting denied user to index.php/index.php -
i'm getting grips cakephp (1.3), , hitting problem can't figure out, , google has failed me.
because i'm in stupid intranet has ancient version of iis server, can't use mod_rewrite. when authenticated user (using auth) attempts visit action of controller denied, acl redirects them page they're on - adds "index.php" in url. breaks next link user clicks -
e.g i'm at
/myapp/index.php/teams/
and visit
/myapp/index.php/teams/add
but i'm not allowed in there acl, redirected to
/myapp/index.php/index.php/teams
which works fine, unless try access forbidden page again (or links on page), , wind at
/myapp/index.php/index.php/index.php/teams
i guess acl redirection doesn't lack of mod_rewrite, have override - how? i'd happily have redirect failed attempts access forbidden pages root - how do without totally overriding acl (and having add in manually suggested in question, defaults point of using in first place).
any ideas (other trying wake guys apache?)
Comments
Post a Comment