B
B
biz_ze2014-05-28 09:15:05
Nginx
biz_ze, 2014-05-28 09:15:05

How to translate nginx rewrite to Apache mod_rewrite?

Everyone writes about how to translate apache rewrite into nginx, but did not find at all how to do the opposite?
Already tortured, it seems that something approximate is obtained, but still not completely.

try_files $uri $uri/ /index.php?uri=$uri&$args;
if ($request_method = POST)
        {
            rewrite ^(.*)$ /index.php?uri=$uri;
        }
    }

Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lubaev, 2014-05-28
@Lubaev

It seems this question should be posted on freelance.ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question