Apache 使用PHP正确设置UFront的.htaccess

Apache 使用PHP正确设置UFront的.htaccess,apache,.htaccess,haxe,ufront,Apache,.htaccess,Haxe,Ufront,我对UFront for Haxe有一个问题:当我使用'PHP-S localhost:2397'运行测试PHP服务器并进行访问时,UFront可以很好地处理路由。我对妈妈做同样的事有困难 如何设置.htaccess文件,以便使用MAMP并使其正确传递到UFront的路径?这就是我目前拥有的: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-

我对UFront for Haxe有一个问题:当我使用'PHP-S localhost:2397'运行测试PHP服务器并进行访问时,UFront可以很好地处理路由。我对妈妈做同样的事有困难

如何设置.htaccess文件,以便使用MAMP并使其正确传递到UFront的路径?这就是我目前拥有的:

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1