Re: mod_rewrite with Nginx?

2016-03-27 Thread B.R.
Copy-pasting configuration of using pre-cooked one is always a bad idea since you do not understand what you are dealing with. The same applies to automatic conversion tools since the paradigm behind the Apache Web server is totally different from the one from nginx: there is no one-to-one

Re: mod_rewrite with Nginx?

2016-03-26 Thread Askancy
Hi, thanks for the reply, I used it ... but it still does not work ... This is my new conf: http://pastebin.com/93b58G68 but it does not work... Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265668,265671#msg-265671 ___ nginx mailing list

help cannot add mod_rewrite in nginx site configuration

2014-08-16 Thread iLinux85
hello i don't know how to add this code = rewrite ^/([0-9A-Za-z]{12})(\/.+|\.html?|)$ /dl?op=download1id=$1fname=$2 last; rewrite ^/embed-([0-9A-Za-z]{12})\.html$

Адаптация правил работающих в mod_rewrite для nginx

2013-09-02 Thread ad...@sysadmins.el.kg
Доброго времени суток. Нужно перенести один виртуалхост с сервера с apache на сервер с nginx. Все бы ничего, да вот правила rewrite там жуткие, даже не представляю как это все запустить под nginx. в httpd.conf: RewriteMap decode prg:/usr/local/etc/apache22/decode.pl decode.pl - перловый