solaris use eventport proxy upstream bug

2015-06-22 Thread pascual.lin
environment: solaris11 + http proxy + upstream + keepalive + method get first request ok second request will hangup,after eventport del event there is no event add NGX_READ_EVENT or NGX_WRITE_EVENT here is my patch --- ngx_event_connect.c.src 2015-06-23 12:00:49.232424329 +0800 +++ ngx_eve

Re: Understanding alias (used as rewrite)

2015-06-22 Thread Edho Arief
On Tue, Jun 23, 2015 at 5:32 AM, E.B. wrote: >> >> You're probably looking for this >> >> fastcgi_param SCRIPT_FILENAME /another/different/path/anotehrscript.php; > > Excellent point! Thanks you! > However, what if the alias was NOT to a php file? Is using > rewrite the only solution - alias not

NTLM or HTTP Digest authentication to Parent proxy

2015-06-22 Thread Russel D'Souza
Hi, I need to configure a proxy on my machine to use another proxy (installed on another machine) as the parent proxy. The parent proxy requires HTTP Digest or NTLM authorization. I want to to set up a local proxy which deals with the parent proxy's authorization details and provides authorization

Re: PCRE

2015-06-22 Thread smsmaddy1981
I have installed 1.8.0 and configure is successful and no PCRE exceptions are thrown now. But, I face issues in loading static content available on different servers. How to achieve this, pls. suggest? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259783,259795#msg-259795 ___

Re: Understanding alias (used as rewrite)

2015-06-22 Thread E.B.
> > So I was confucsed why this not working: > > > > location ^~ /my-long-prefix-goes-here { > > alias /another/different/path/anotherscript.php; > > include fastcgi.conf; > > } > > > > In other words, alias of exact location match does > > a cheap "rewrite" perfectly. But now I want to match

Re: Understanding alias (used as rewrite)

2015-06-22 Thread Edho Arief
On Mon, Jun 22, 2015 at 7:05 PM, E.B. wrote: > Hi, I'm confused about the details of "alias" used as > a kind of rewrite (which should be more efficient as > I understand it, as long as its appropriately used). > > I found I can do this: > > location = /path/number/one.html { > alias /some/other

Static Content on Different Server Isn't Loaded??

2015-06-22 Thread smsmaddy1981
Hi Team, I have static content available on the remote server (say NODE 02) and PATH: ../livetest/WEB-INF/static/classes/ under which I have /image, /js, /styles folders I have installed nginx-1.8.0 on server (Say Node 01). While accessing the application, the static contents are not getting loa

Re: PCRE

2015-06-22 Thread Maxim Dounin
Hello! On Mon, Jun 22, 2015 at 06:33:58AM -0400, smsmaddy1981 wrote: > Hi Experts, > > I am working on NGINX-1.6.3 version. Installation is successful using latest > pcre, pcre-devel packages too.. > > While accessing the service, static contents were not loaded. > As suggested in google, I tri

PCRE

2015-06-22 Thread smsmaddy1981
Hi Experts, I am working on NGINX-1.6.3 version. Installation is successful using latest pcre, pcre-devel packages too.. While accessing the service, static contents were not loaded. As suggested in google, I tried configuring as below where the static contents are available @ "http://livetests12

Re: Re:Re: DNS configuration to invoke complete URL

2015-06-22 Thread smsmaddy1981
Thanks everyone and sorry for the late reply here...due to OS upgrade from IT team. I tried using return directive to invoke the absolute URL and below case is true : -- if they are two different servers, then on the workspance one: location = / { return 301 http://workspace.corp.no/workspace/age

Understanding alias (used as rewrite)

2015-06-22 Thread E.B.
Hi, I'm confused about the details of "alias" used as a kind of rewrite (which should be more efficient as I understand it, as long as its appropriately used). I found I can do this: location = /path/number/one.html { alias /some/other/path/script.php; include fastcgi.conf; } So I was confuc