This is htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
And this is what i got for nginx but not sure is it ok:
if (-f $request_filename) {
break;
}
if (-d $request_filename) {
break;
}
rewrite /. /index.php last;
So if someone knows better please help.
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx