Need help to convert rewrite url apache's

Gimly nginx-forum at nginx.us
Tue Apr 26 18:07:33 MSD 2011


Hi All,

I'am new user, so actually I test NGinX in my labs for delete apache2 in
my production webserver. I've small htaccess rules and I want to convert
it in NGinX rewrite rule.

  RewriteRule ^$ index.html [QSA]
  RewriteRule ^([^.]+)$ $1.html [QSA]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php [QSA,L]

If anyone can help me please ? 

Thank you in advance :)

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,193799,193799#msg-193799




More information about the nginx mailing list