6 messages in ru.sysoev.nginxRe: Re[2]: Named location explicit co...
FromSent OnAttachments
Igor ClarkSep 22, 2008 4:21 am 
Igor ClarkSep 22, 2008 4:44 am 
Denis F. LatypoffSep 22, 2008 4:48 am 
Igor ClarkSep 22, 2008 6:12 am 
Denis F. LatypoffSep 22, 2008 6:22 am 
Igor ClarkSep 22, 2008 7:39 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Re[2]: Named location explicit configActions...
From:Igor Clark (ig@pokelondon.com)
Date:Sep 22, 2008 6:12:55 am
List:ru.sysoev.nginx

Hi Denis,

On 22 Sep 2008, at 12:48, Denis F. Latypoff wrote:

Is it possible to route specific types directly to a named location without using error_page?

no

OK, thanks for the information.

Is there another way to do what I'm trying to do though? I have this config:

location / { error_page 404 = @phpapp; }

location @phpapp { proxy_pass http://x.x.x.x; proxy_set_header ... # etc }

so that dynamic stuff which isn't found is routed to Apache (some PHP code relies on some Apache features).

But I don't want to have to duplicate all the proxy stuff inside (an)other location block(s).

I could put it in an include, but it would be nice to be able to do it in config directly somehow.

Thanks, Igor