how add RewriteRule .* index.php in nginx

e.htabar nginx-forum at forum.nginx.org
Wed Apr 26 14:22:20 UTC 2017


down vote
favorite
how set add " RewriteRule .* index.php " in nginx.conf for subfolder ?

and dont redirect for root example:

https://www.bidbarg.com/ (index.php redirect to none)

https://www.bidbarg.com/bimeh/index.php/ (index.php needed)

thank you

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



More information about the nginx mailing list