how to rewrite this: apache to nginx
Robert Gabriel
lists at ruby-forum.com
Fri Aug 29 12:54:38 MSD 2008
Hello, I am trying to rewrite for a webpage, some stuff from apache to
nginx, somehow I am not doing it right coz its not working... Can some
one help me to rewrite this:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
RewriteRule ^(.*/)?\.svn(/|$) - [F,L]
RewriteRule ^(.*/)?api(/|$) - [F,L]
RewriteRule ^(.*/)?libs(/|$) - [F,L]
RewriteRule ^(.*/)?plugins(/|$) - [F,L]
RewriteRule ^(.*/)?storage(/|$) - [F,L]
RewriteRule ^(.*/)?templates(/|$) - [F,L]
to nginx?!
Thank you!
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list