Re: Proper way to convert an apache rewrite rule

2017-06-04 Thread Aleksandar Lazic
Hi ST. ST wrote on 04.06.2017: > Hello, > I'm new to nginx and try to move an old website from apache to nginx. > While getting rid of the .htaccess file I've encountered following > rewrite rule: > > RewriteCond %{QUERY_STRING} id=([^&]*) [NC,OR] > RewriteCond %{QUERY_STRING} daily=([^&]*) [NC]

Proper way to convert an apache rewrite rule

2017-06-04 Thread ST
Hello, I'm new to nginx and try to move an old website from apache to nginx. While getting rid of the .htaccess file I've encountered following rewrite rule: RewriteCond %{QUERY_STRING} id=([^&]*) [NC,OR] RewriteCond %{QUERY_STRING} daily=([^&]*) [NC] RewriteCond %{REQUEST_URI} !mobSpecCycle [NC]