How can I edit the Rewrite in Nginx (downloads php files)?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
8 views
Translate a website from Apache to NGIX. Can't configure the config.
The goal is to have the following rule .htaccees
RewriteRule ^(strana)/([^/]*)(/?)+$ index.php?do=xfsearch&xn=$1&xf=$2 [L]
Through the convector will receive:
rewrite ^/(strana)/([^/]*)(/?)+$ /index.php?do=xfsearch&xn=$1&xf=$2 last;
And all like anything, the link as www.мойсайт/strana/Россия opens normally, but if you put at the end of the slash / , the browser offers to download the file.
by | 8 views

1 Answer

0 like 0 dislike
works with slash
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
35,534 users