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

    I have some files in public/flash/flashplayer and Akelos is interpreting them as though they are controller/action sequences.

    How can I get Akelos to omit certain directories? So far public/images/ and public/javascripts are already being omitted, and I can't see how. (A search for javascripts proved inconclusive).

    Kind regards,

    John
    •  
      CommentAuthorbermi
     

    Akelos uses mod rewrite rules defined on the root .htaccess file as

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?ak=$1 [L,QSA]
    

    That means rewrite only if the file or directory does not exist, so double check that the URL you're calling actually points to an existing file.

    If you want to disable mod rewrite on a subfolder, you can do so by creating a .htaccess file with

    <IfModule mod_rewrite.c>
      RewriteEngine off
    </IfModule>