Hello, I write a new module to nginx, and I have a small problem, because I don't know how I can read local/http variable (for example from GeoIP module) from nginx configuration file in my module. Below is a piece of my code : my_module.c - { ngx_string("my_language"), NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_HTTP_SIF_CONF|NGX_CONF_TAKE1, ngx_conf_set_str_slot,by breaks - Nginx Mailing List - English
Hello, I want split url to letters and finally join it like that : For example : Normally : http://example.com/abcdef/qwerty.rar -> /home/something/abcdef/qwerty.rar I want : http://example.com/abcdef/qwerty.rar -> /home/something/a/b/c/d/e/f/qwerty.rar User must see normal url (without redirects), and I don't want use python, perl etc. it must works very fast ! And I don'tby breaks - Other discussion