Not existant files passed to php backend
Igor Sysoev
is at rambler-co.ru
Wed Aug 20 23:49:59 MSD 2008
On Wed, Aug 20, 2008 at 11:40:18PM +0400, Igor Sysoev wrote:
> On Wed, Aug 20, 2008 at 12:18:42PM -0400, Sean Allen wrote:
>
> > On Aug 20, 2008, at 12:04 PM, Igor Sysoev wrote:
> >
> > >On Thu, Aug 21, 2008 at 12:01:42AM +0800, Delta Yeh wrote:
> > >
> > >>Does multiple complex directive inside "if" block impact the
> > >>performance ?
> > >>If so, how much ?
> > >
> > >No, they does not impact the perfomance, but they has many limits
> > >and drawbacks.
> >
> > Such as?
>
> 1) Only some directives are allowed inside "if" block.
>
> 2) If you have two or more "if" blocks and their conditions are true, then
> only last block configuration will be used, they are not merged as one
> may expect:
>
> if (true) {
> configuration A
> }
>
> if (true again) {
> configuration B # only this configuration will be used
> }
However, this does not apply to ngx_http_directive: rewrite, return, and set:
they will be executed in both configuration: A an B. And this may confuse too.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list