Simple problem with mod_rewrite in the Fat Free Framework

前端 未结 7 2475
悲哀的现实
悲哀的现实 2020-12-18 02:42

I am trying to setup and learn the Fat Free Framework for PHP. http://fatfree.sourceforge.net/

It\'s is fairly simple to setup and I am running it on my machine usi

7条回答
  •  情书的邮戳
    2020-12-18 03:06

    I'm running this with a MAMP stack. I renamed their folder from "fatfree-master" to "f3". I put that folder next to htdocs. Their .htaccess file (now inside MAMP/f3/lib) remains untouched.

    My .htaccess (in my web subfolder) is stock standard as per their example:

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteRule .* index.php [L,QSA]
    

    Hope this helps someone.

提交回复
热议问题