agentzh Wrote: ------------------------------------------------------- > On Fri, May 28, 2010 at 2:19 PM, 4everpan wrote: > > But I'm not familiar with SSI or shtml > protocal... So... let me think about it: > > When I enter the URL "http://www.g.cn" into IE, > the URL will be redirected to > "http://www.google.cn" such as follows: > >by 4everpan - Nginx Mailing List - English
Igor Sysoev Wrote: ------------------------------------------------------- > On Thu, May 27, 2010 at 02:55:57AM -0400, 4everpan > wrote: > > > I found in Nginx that: > > struct ngx_http_request_s { > > ... > > ngx_http_request_t *main; > > ... > > }; > > what does this argument mean? > > > > I aby 4everpan - Nginx Mailing List - English
I found in Nginx that: struct ngx_http_request_s { ... ngx_http_request_t *main; ... }; what does this argument mean? I also found a similar argument in Apache: request_rec* request_rec::main //Pointer to the main request if this is a sub-request (see http_request.h) so, Do they have the same meaning? and if yes, what dose a main request and a sub-requeby 4everpan - Nginx Mailing List - English
Thx to the forum. I just googled the problem of "can't redirect to 302 by writing Nginx Module code", and linked to this forum. the Topic "how to redirect 302 in code?" solved my problem! I am a Chinese student doing my internship in Chinese web set : taobao.com. Now, I'm in charge of a project like migrating the http server from Apache to Nginx! wooow~ my first topic~~by 4everpan - New Member Introductions