On Wed, Dec 1, 2010 at 7:23 PM, Omar Kilani <omar.kilani@gmail.com> wrote: > The problem is that nginx doesn't do the "first IP in the header which > is not trusted" part -- it always returns the last IP in the > X-Forwarded-For header, no matter what. we have an issue where our CDN gives us the reverse XFF header - we really want the LAST ip, not the first one (or viceby mike - Nginx Mailing List - English
On Tue, Nov 30, 2010 at 10:16 PM, Daniel Bielefeldt <dbn@bielefeldtsolutions.dk> wrote: > Well, I was hoping for an answer that could help me getting further with > my apache configuration :) I don't have any experience with nginx, and I > dought my users think it's a good idea to change, as they rely on > .htaccess features in apache. > > Anyhow, why do you mean that nginby mike - Php-fpm Mailing List - English
On Tue, Nov 30, 2010 at 7:15 AM, dbn <dbn@bielefeldtsolutions.dk> wrote: > When I call this url: domain.ext/pagename it should redirect the > request to index.php/pagename, but instead I get a 404 error message. > "No input file specified" well no input specified means its hitting the PHP interpreter, and most of the time its because the file doesn't exist or SCRIPT_FILEby mike - Php-fpm Mailing List - English
On Nov 27, 2010, at 1:29 AM, agentzh <agentzh@gmail.com> wrote: > On Fri, Nov 26, 2010 at 7:53 PM, Michael Shadle <mike503@gmail.com> wrote: >> here's a handful of my ideas... >> >> I know it currently doesn't support it but perhaps investigating a way >> to make a dynamic module loading module? :) >> > > Dynamic module loading does not have aby mike - Nginx Development
> On Fri, Nov 26, 2010 at 5:08 PM, agentzh <agentzh@gmail.com> wrote: >> Here's the first draft of our nginx module development plan in the >> next year or so: >> >> http://agentzh.org/misc/nginx/roadmap.html >> >> We'll keep this roadmap document up to date. >> >> Comments and suggestions will be highly appreciated as usual :) here's aby mike - Nginx Development
On Wed, Nov 24, 2010 at 1:47 PM, Dennis J. <djacobfeuerborn@gmail.com> wrote: > I've been trying to implement something like this since forever but so far > other stuff has always managed to get in the way. My use-case has the > additional constraint that the users are not part of /etc/passwd and their > user-id and docroot has to be determined dynamically from the request path.by mike - Php-fpm Mailing List - English
On Wed, Nov 24, 2010 at 1:27 PM, Kai Krakow <hurikhan77@gmail.com> wrote: > So, based on my previous experience: No, I don't want that scripted. > If I need to script anything, impact should be as minimal as possible > - and your idea would actually increase impact even more (another > config file to write, another process to restart/reload). yeah but it's not done each requestby mike - Php-fpm Mailing List - English
On Wed, Nov 24, 2010 at 12:52 PM, Kai Krakow <hurikhan77@gmail.com> wrote: > Well, scriptable by what tools? I don't like to run some sort of > "Makefile" tool which collects information from different locations, > recombine then, to just create a configuration with redundant > information. If you want to configure that, hey: Why not? Can be > handy. But usually it'sby mike - Php-fpm Mailing List - English
My suggestion would be possibly docroot or possibly just configurable definition, something like location /home/mike { uid 1000; gid 1000; } location /home/mike/somethingelse { uid 1001; gid 1001; } location /foo { uid 1054; gid 2000; } (or use user/group names, a lot of implementation details) Originally I was going to say that "ondemand" is probably what you're looking for. Howeveby mike - Php-fpm Mailing List - English
i will fix it. what is odd is i subscribed to the feed for all changes, but i haven't seen anything come in. the site is almost dead though, as this information should be transcribed at some point on php.net and updated. On Tue, Nov 16, 2010 at 4:51 PM, kismert <kismert@gmail.com> wrote: > On the About page (http://php-fpm.org/about/), clicking the links for: > "Error Header&qby mike - Php-fpm Mailing List - English
That's comparing apples and oranges really. One is at the webserver level and one is at the sapi level. You'll have greater control and flexibility with php, however doing it at the webserver level could save you from needing to execute php. On Nov 14, 2010, at 12:07 PM, "dong" <nginx-forum@nginx.us> wrote: > Which I should use? Memcache from nginx or memcache from pecl? Maybby mike - Nginx Mailing List - English
Below is our (scrubbed) configuration... What we are trying to do is show an HTTP password prompt for people from IPs that are not "whitelisted" We had found a blog post that had said this was possible using allow/deny/satisfy but it's not working. Basically, can we get it so that it will show an HTTP auth prompt for all IPs other than: 10.10.10.0/24 10.10.11.0/24 ? Thanks! serveby mike - Nginx Mailing List - English
Yessir. It's a complete solution and more robust in many other ways. On Nov 5, 2010, at 6:44 PM, Frank Church <vfclists@gmail.com> wrote: > > > On 6 November 2010 01:33, Michael Shadle <mike503@gmail.com> wrote: > On Fri, Nov 5, 2010 at 6:15 PM, Frank Church <vfclists@gmail.com> wrote: > > > Does that mean that if different users are to run their fastcgiby mike - Nginx Mailing List - English
On Fri, Nov 5, 2010 at 6:15 PM, Frank Church <vfclists@gmail.com> wrote: > Does that mean that if different users are to run their fastcgi in their > home folders with their own user permissions like Apache's suexec a > separate fastcgi in /etc/init.d must be created for them? i have a different port for each user for fastcgi under php-fpm and forward from nginx as appropriate.by mike - Nginx Mailing List - English
of course. 2010/11/5 Jérôme Loyet <jerome@loyet.net>: > 2010/11/5 Michael Shadle <mike503@gmail.com>: >> yes - don't use jails at all. nginx is pretty secure, as is postfix... :p > > yes until a security hole is discovered ... > >> >> On Fri, Nov 5, 2010 at 1:24 PM, dong <nginx-forum@nginx.us> wrote: >>> I cant install postfix in jail...by mike - Nginx Mailing List - English
yes - don't use jails at all. nginx is pretty secure, as is postfix... :p On Fri, Nov 5, 2010 at 1:24 PM, dong <nginx-forum@nginx.us> wrote: > I cant install postfix in jail... its problem :) > > Posted at Nginx Forum: http://forum.nginx.org/read.php?2,148117,148122#msg-148122 > > > _______________________________________________ > nginx mailing list > nginx@nginx.orby mike - Nginx Mailing List - English
On Fri, Nov 5, 2010 at 1:11 PM, dong <nginx-forum@nginx.us> wrote: > Im using FreeBSD and jails. I have my postfix on host, and main http > server in jail. why bother with a jail maybe? :p _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby mike - Nginx Mailing List - English
wrong list really - you'd want the nginx list, but if this is normal behavior then yes i agree, limiting what gzip_static does would be a lot cleaner than trying to hit .gz of things that shouldn't be gzipped normally... On Wed, Oct 20, 2010 at 2:26 AM, Milan Babuskov <milan.babuskov@gmail.com> wrote: > I have nginx installed with gzip_static activated. It works fine for > CSS and Javby mike - Php-fpm Mailing List - English
there's also posix_uname() too On Sat, Oct 16, 2010 at 2:23 PM, Gabriel Hedges <klinky@gmail.com> wrote: > Have you tried function: php_uname('n') to get the hostname of the > machine running the PHP script?by mike - Php-fpm Mailing List - English
I'll try to get the wiki updated. There hasn't been a whole lot of reason to change anything since fpm is in core now and 5.2.x hasn't introduced anything new forever :) On Oct 12, 2010, at 9:25 AM, Maxim Dounin <mdounin@mdounin.ru> wrote: > Hello! > > On Tue, Oct 12, 2010 at 11:55:08AM -0400, jlangevin wrote: > >> When viewing the >> documentation >> for cby mike - Nginx Mailing List - English
How does this compare to php-fpm? What are its main benefits? Security? Performance? I'd like more comparison points with existing solutions. On Oct 9, 2010, at 1:47 AM, hightman <hightman@zuaa.zju.edu.cn> wrote: > PHP-DWS is the abbreviation for "PHP Direct Web Server". It works much like fastcgi server with nginx, > > But nginx pass the request header of HTTP and soby mike - Nginx Mailing List - English
fastcgi_intercept_errors is on most likely. And as Echo said, fix your php :) On Oct 2, 2010, at 9:06 PM, bthreesix@gmail.com wrote: > 2010/10/02 18:55:43 13550#0: *47 FastCGI sent in stderr: "PHP Parse error: syntax error, unexpected $end in /home/nginx/domains/domain.com/public/202-config/functions.php on line 229" while reading response header from upstream, client: 85.24.293.14by mike - Nginx Mailing List - English
Show us which sites-enabled site config this is. On Sep 25, 2010, at 5:34 PM, "feelexit" <nginx-forum@nginx.us> wrote: > HI, Mike. > > here's my nginx.conf. > > > user www-data www-data; > worker_processes 4; > > events { > worker_connections 4; > } > > http { > include mime.types; > default_type application/octeby mike - Nginx Mailing List - English
Sounds like you're missing a php location block. You need to show us your config. Pastebin it On Sep 25, 2010, at 5:25 PM, "feelexit" <nginx-forum@nginx.us> wrote: > I have nginx, php 5 and php5-fpm installed on ubuntu 10.04 server > edition. > > After I started the nginx server, I have no problem loading the regular > html pages. but all .php pages cannot be viewby mike - Nginx Mailing List - English
2010/9/17 Jérôme Loyet <ml@fatbsd.com>: >> to go even further on that tangent, that option could allow customers >> to reload their -own- pools if it was API-based w/ some sort of method >> for security. > > that won't happened because if security breach it could open like i said, it was a tangent. i'm sure there could be some way of shielding it. or hell, the apiby mike - Php-fpm Mailing List - English
On Fri, Sep 17, 2010 at 9:13 AM, Michael Shadle <mike503@gmail.com> wrote: > i would make it more like apc - ship with a php file example, but use > RESTful hooks or even raw API that is accessed via php functions > (however that would make it easy for anyone to use, so maybe not. > unless there was a secret "api key" defined somewhere...) to go even further on that taby mike - Php-fpm Mailing List - English
i would make it more like apc - ship with a php file example, but use RESTful hooks or even raw API that is accessed via php functions (however that would make it easy for anyone to use, so maybe not. unless there was a secret "api key" defined somewhere...) 2010/9/17 Jérôme Loyet <ml@fatbsd.com>: > 2010/9/17 Gints Murāns <gints.murans@gmail.com>: >> Exelent wouby mike - Php-fpm Mailing List - English
There is apparmor by default I believe. You could look in other system logs it should report if it was killing something. On Sep 13, 2010, at 2:26 AM, Utkarsh <www.qprojects.org@gmail.com> wrote: > This is a new Ubuntu install. I'm sure I didn't install any such > software, and I don't think any default one comes with Ubuntu 10.04. > Would it be possible to debug/find out what isby mike - Php-fpm Mailing List - English
http://www.cnn.com/2010/WORLD/americas/09/12/tropical.weather/index.html :) _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby mike - Nginx Mailing List - English
On Sun, Sep 12, 2010 at 4:07 PM, Dennis J. <djacobfeuerborn@gmail.com> wrote: > I haven't used suPHP yet but if I understand the docs correctly then suPHP > actually launches a completely new php instance for every request. What I > plan to do is to only modify the fpm forking a little bit so that the opcode > caches should work no differently than with the "regular" fby mike - Php-fpm Mailing List - English