wow,it works thanksby wangbin579 - Nginx Mailing List - English
the following code does not work as i expected in nginx-0.8.6,who can tell me why? thx location = ngx_palloc(r->pool, strlen(url)); ... r->headers_out.location = ngx_palloc(r->pool, sizeof(ngx_table_elt_t)); ... ngx_copy(location, url, strlen(url)); r->headers_out.location->value.data = location; r->headers_out.location->value.len = strlen(url);by wangbin579 - Nginx Mailing List - English