Kommentare 0

Konverter: Apache .htaccess zu nginx

Cool, hier gibts nen Konverter, welche die Apache .htaccess passend für nginx konvertiert.

There are tons of fancy hacks for catching rewrite behavior of apache. As you see, it highly uses variables for deciding to rewriting and there must be many much errors/unmatched directives.

Q: There is very much side effects of „if“ and it is evil, what do you think?
A: If „if“ is an evil, please press to Igor (the owner of nginx) to disable „if“ directives on config (or fix?). Till „if“ directives are valid on config, I will always use them for rewriting. (For more information about „why if is evil“ please read: http://wiki.nginx.org/IfIsEvil )

Q: Does it supports xxx?
A: This page has woozy codes, I dont know try it yourself and see. Backreferances, most of the variables and a few flags are supported.

Q: Will you make the codes public?
A: I think no, because I dont want to feel ashamed, I am tidying the code now, but if you want to have/see codes immediately you can email me (anil?saog.net), I will send this code crowd immediately.

so aehnlich:

Schreibe eine Antwort