public $indexPage = '';
public $uriProtocol = 'PATH_INFO';
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
├── .htaccess├── index.php├── /app
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php/$1 break;
}
}