Hi All,
I am in the process of migrating away from Apache 2.2 to nginx, I'm stuck with some rewrite rules specifcally for Zend Framework MVC apps, I have seen a few examples of how these rules have been converted but they all seem to be missing the flags for 'if directory exists' and 'if file exists', so any help would be greatly appreciated.
The standard apache rewrite is as follows:
[code]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
[/code]
Thanks in advance