Re: Setting up nginx as Visual Studio 2010 project

2013-07-13 Thread pwrlove
Hi, no problem, but need to build it with mingw at least once. try it as follows: 1. you have to get 4 auto config files from http://nginx.org/en/docs/windows.html procedures. - ngx_auto_config.h (detailed configuration option info' at header topmost) - ngx_auto_headers.h - ngx_module

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Atul Bansal
*httpd.conf* # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # #Listen 12.3

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Scott Ribe
On Jul 13, 2013, at 5:12 PM, Atul Bansal wrote: > I dont know what i am doing :( Everybody's got to start from 0 some time... > As I said, i did what i mentioned above and now I just need to test what I am > doing I referred google for setup.. I think you need to include your config file

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Atul Bansal
I dont know what i am doing :( As I said, i did what i mentioned above and now I just need to test what I am doing I referred google for setup.. After installing php mysql nginx... I just echoed some text and it gives me this error in log files On Sun, Jul 14, 2013 at 4:39 AM, Scott Ribe wr

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Scott Ribe
Are you getting requests in nginx over port 80, then trying to pass them to some PHP process over port 80? On Jul 13, 2013, at 5:01 PM, Atul Bansal wrote: > Actually, I just bought a new unmanaged VPS. I installed php, nginx etc... > > I increased worker_connections, worker_rlimit_nofile, worke

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Atul Bansal
Actually, I just bought a new unmanaged VPS. I installed php, nginx etc... I increased worker_connections, worker_rlimit_nofile, worker_processes as it was giving me some "low worker_connections" issue. After I increased these limits, that issue resolved but now this issue coming Googled and imp

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Scott Ribe
>From nginx to something upstream? (That's what I meant.) On Jul 13, 2013, at 4:54 PM, Atul Bansal wrote: > ya > > > On Sun, Jul 14, 2013 at 4:22 AM, Scott Ribe > wrote: > On Jul 13, 2013, at 4:48 PM, Atul Bansal wrote: > > > The log error that i am getting is when I try to run any php file

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Atul Bansal
ya On Sun, Jul 14, 2013 at 4:22 AM, Scott Ribe wrote: > On Jul 13, 2013, at 4:48 PM, Atul Bansal wrote: > > > The log error that i am getting is when I try to run any php file in my > browser. > > Are you trying to pass requests to PHP over port 80? > > -- > Scott Ribe > scott_r...@elevated-dev.

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Atul B.
I dont think another nginx is already running as when I stopped my nginx instance, i cannot see niginx running using the mentioned command... The log error that i am getting is when I try to run any php file in my browser. However, for static html files, nginx is servig them fine -- Posted via

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Scott Ribe
On Jul 13, 2013, at 4:48 PM, Atul Bansal wrote: > The log error that i am getting is when I try to run any php file in my > browser. Are you trying to pass requests to PHP over port 80? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Atul Bansal
I dont think another nginx is already running as when I stopped my nginx instance, i cannot see niginx running using the mentioned command... The log error that i am getting is when I try to run any php file in my browser. However, for static html files, nginx is servig them fine Pls help On Sun

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Atul Bansal
how pls Actually I just bought VPS server and just now installed all required softwares On Sun, Jul 14, 2013 at 4:09 AM, Sajan Parikh wrote: > No issue, as you can see from that output there is already an nginx > process listening on port 80, which means nothing else (even another ngin

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Sajan Parikh
No issue, as you can see from that output there is already an nginx process listening on port 80, which means nothing else (even another nginx) can use port 80. You need to kill that instance of nginx, which will clear port 80.  Then you can start a new ins

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Atul Bansal
Thanks for stopping-by. mailed you in seperate email. Pls see On Sun, Jul 14, 2013 at 3:42 AM, Sajan Parikh wrote: > You most likely already have something running on port 80. Perhaps > another instance of nginx or Apache or something. > > Run > > netstat -plunt and show us the output. > > Sa

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Sajan Parikh
You most likely already have something running on port 80.  Perhaps another instance of nginx or Apache or something. Run netstat -plunt and show us the output. Sajan Parikh Owner, Noppix LLC e: sa...@noppix.com

connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-13 Thread Atul Bansal
Hi I just installed Nginx on my new VPS on centOS. But while accessing the phpinfo.php, I am getting belwo exception " connect() to 127.0.0.1:80 failed (99: Cannot assign requested address) while connecting to upstream, client: 127.0.0.1," Can anyone pls see to it -- Thanks' Atul Bansal TechO

Re: ReWrite rule help

2013-07-13 Thread Anoop Alias
You probably want http://wiki.nginx.org/HttpProxyModule On Sat, Jul 13, 2013 at 5:48 PM, Sandeep L wrote: > Hi I am trying to write following rewrite url > > request: www.example.com/abc/xyz?a=1&b=2 > > It should get response from following url > www.example.com:8080/xyz?a=1&b=2 > > can some

Custom 401 page not displaying or not prompting for credentials

2013-07-13 Thread Michael
Hello, I was trying to set a custom error 401 page on my Nginx server version 1.5.1 using the following methods: error_page 401 /401.html By itself it still displays the default site error_page 401 http://example.com/401.html Goes straight to the custom error page without a chance to authenticate

ReWrite rule help

2013-07-13 Thread Sandeep L
Hi I am trying to write following rewrite url request: www.example.com/abc/xyz?a=1&b=2 It should get response from following urlwww.example.com:8080/xyz?a=1&b=2 can some one help me to do this. Thanks,Sandeep___ ngin

EXSLT func:function not registered for XSLT filter module

2013-07-13 Thread Kate F
Hi, I'm trying to use EXSLT's with nginx's xslt filter module. The effect I think I'm seeing is that my functions are seemingly ignored. I made a test XSLT stylesheet: iona% cat xsl/fish.xsl http://www.w3.org/1999/xhtml"; xmlns:xsl="http://www.w3.org/1999/XSL/Transform";