Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Help with apache to nginx rule !

$
0
0
Hi,

I tried my best to make things happen but no luck.

Here is my original rule :
[code]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z_.\-0-9]+)$ index.php?pinto=$1 [L,QSA]
[/code]

And my nginx one :
[code]
rewrite ^([a-zA-Z_.\-0-9]+)$ index.php?pinto=$1 last;
[/code]

But no guess what, it doesn't work.

What do I miss here ?

Many thanks,

See you,

Larry

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>