Hi guys!
I have this rewrite rule in apache:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^([\w\.-]*)(?:\/(.*))?$ $1.php?q=$2 [QSA,L]
I need to translate it to the nginx. I tryed this:
http://www.anilcetin.com/convert-apache-htaccess-to-nginx/
and this: http://winginx.com/htaccess
non of them work properly.
anybody can help me out about this?
Thx!
Peter
on 2013-01-14 13:06
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.