On 5/13/2012 10:39 AM, Ben Firshman wrote: > Hi, > > I am using PHP-FPM with Nginx. PHP-FPM seems to execute any arbitrary file with a URL constructed like this: > > http://basschat.co.uk/favicon.ico/.php > http://php-fpm.org/images/php-fastcgi.png/.php > > Does PHP-FPM strip off trailing directories until it finds a file that exists? > > We were bitten by this when aby brianmercer - Php-fpm Mailing List - English
beansoup Wrote: ------------------------------------------------------- > I use ubuntu 10.04, and I install php 5.3.2 by > apt-get install with out php-fpm. > How to reinstall php 5.3.2 with php-fpm or upgrade > to php 5.3.3? > > Thanks a lot. The best way to use updated software in Ubuntu is to add a package repository with updated Ubuntu packages. The Ubuntu companyby brianmercer - Php-fpm Mailing List - English
On 3/7/2012 8:14 PM, Dan Farrell wrote: > Hi, > > I've set up nginx + php-fpm for php web scripting. But, all php > scripts load as blank white pages. > > I've verified that nginx seems to be passing the scripts off properly > (gives 200 message in log, no error). > > However the pages only load as a blank white page. I know the pages > work; switching to an Apacheby brianmercer - Php-fpm Mailing List - English
Dan Farrell Wrote: ------------------------------------------------------- > Hi, > > I've set up nginx + php-fpm for php web scripting. > But, all php > scripts load as blank white pages. > > I've verified that nginx seems to be passing the > scripts off properly > (gives 200 message in log, no error). > > However the pages only load as a blank whitby brianmercer - Php-fpm Mailing List - English
OliverK Wrote: ------------------------------------------------------- > Thanks for you answer, > > however, I'm quite sure it does not, since I'm > running PHP-FPM chrooted ("chroot = > /srv/www/domain.tld/"). Also, this wouldn't > explain why one of the folders (the one called > "public" is working fine). Also, if your nginx is compiled with-dby brianmercer - Php-fpm Mailing List - English
OliverK Wrote: ------------------------------------------------------- > Thanks for you answer, > > however, I'm quite sure it does not, since I'm > running PHP-FPM chrooted ("chroot = > /srv/www/domain.tld/"). Also, this wouldn't > explain why one of the folders (the one called > "public" is working fine). Fair enough. So do you expect "by brianmercer - Php-fpm Mailing List - English
OliverK Wrote: ------------------------------------------------------- > Hello, > > I don't speak English natively, so I'll come > straight to the point. On my server there are > three two directories I would like nginx to serve > files from: "/srv/www/domain.tld/public" and > "/srv/www/domain.tld/private". As a matter of fact > I can't just siby brianmercer - Php-fpm Mailing List - English
JerW Wrote: ------------------------------------------------------- > Greetings, > > I'm currently experiencing some issues with my > nginx + php-fpm install. When I try to navigate to > my info.php file then I receive a "File not found" > message, where as if I were to navigate to a file > that isn't actually there I would receive an > actual 404 error.by brianmercer - Php-fpm Mailing List - English
António P. P. Almeida Wrote: ------------------------------------------------------- > On 28 Dez 2011 04h15 WET, nginx-forum@nginx.us > wrote: > > > >> map $http_cookie $session_id { > >> default ''; > >> ~SESS(?<session_guid>[[:alnum:]]+) > >> $session_guid; > >> } > >> > >> --- appa > >> &gby brianmercer - Nginx Mailing List - English
António P. P. Almeida Wrote: ------------------------------------------------------- > On 27 Dez 2011 17h01 WET, nginx-forum@nginx.us > wrote: > > > zenw Wrote: > > > -------------------------------------------------- > ----- > >> I'm trying to cache per user Drupal using this > >> config : > >> > >> fastcgi_ignore_headerby brianmercer - Nginx Mailing List - English
zenw Wrote: ------------------------------------------------------- > I'm trying to cache per user Drupal using this > config : > > fastcgi_ignore_headers Cache-Control Expires; > #tried '__utma' 'Set-Cookie' > fastcgi_cache drupal; > fastcgi_cache_key > $http_cookie$request_method$scheme$host$request_ur > i; > fastcgi_cache_methods GET HEAD; > fastcgiby brianmercer - Nginx Mailing List - English
How does nginx caching handle multiple cache control headers sent from a backend? I had a situation where I was sending both expires and cache-control and it seemed that the order in which they were sent controlled. I solved that problem by ignoring the expires header. I thought I recalled that x-accel-expires would override any other headers regardless of order, but that doesn't seem toby brianmercer - Nginx Mailing List - English
Stelios Sfakianakis Wrote: ------------------------------------------------------- > On 23/5/2011 1:06 πμ, brianmercer wrote: > > Possibly this: > > > > location /myapp/ { > > root /home/stelios; > > try_files $uri @fallback; > > } > > > > # and the "default" PHP/FastCGI > > location @fallback { > > fasby brianmercer - Nginx Mailing List - English
Stelianos G. Sfakianakis Wrote: ------------------------------------------------------- > Hello, > > I am having the following problem: > > - I want to have a "virtual" url e.g. "/myapp" to > have a totally > different document root e.g. "/home/stelios/myapp" > (instead of the > default '/var/www') > - locations of the typeby brianmercer - Nginx Mailing List - English
sime Wrote: ------------------------------------------------------- > > I have a linode 512 vps account running nginx > 1.0.2 and php 5.3.3 on > > Ubuntu 10.10 > > I run 10.10 on hardware. > > > For some reason when I need to restart php (e.g. > config change, new > > process pool etc.) upon the first restart I > sometimes get an nginx 502 &gby brianmercer - Php-fpm Mailing List - English
jeanjan Wrote: ------------------------------------------------------- > Hi, > > I installed nginx and php5-fpm from repositories > on ubuntu 10.04. > everything works well. The phpinfo test file > works. > > I try to access collection (for collectd) pages. > When I access the url of the > collection3/bin/index.cgi, I can see the file in > plain text.by brianmercer - Nginx Mailing List - English
onur.ozgur.ozkan Wrote: ------------------------------------------------------- > Hi, > > We use ubuntu on laptop and centos on server. So > we follow the http://wiki.nginx.org/Install for > PPA. How can we know that it is out of date > especially it installed version 1.0.0. :) > > Anyway we understand that there is no way to add > modules without ./configurby brianmercer - Nginx Mailing List - English
Dew Wrote: ------------------------------------------------------- > I welcome, > > I am here new and if I am writing in the bad > department I apologise. Around drupalem earlier I > already had the contact but now already on > seriously and wants on the base drupal 7 to build > the web page. My server is VPS with the system > ubuntu, I installed server www nginxby brianmercer - Nginx Mailing List - English
Ian M. Evans Wrote: ------------------------------------------------------- > I saw this example for setting up nginx to run > wordpress and wp-super cache > > server_name _wordpress-cache mydomain.com; > root /var/www/wordpress_dir; > server_name_in_redirect off; > > Can anyone explain to me what the > "_wordpress-cache" is doing in the > serveby brianmercer - Nginx Mailing List - English
Matthew Goslett Wrote: ------------------------------------------------------- > The cli and fpm versions are both using the same > /etc/php5/cli/conf.d/mcrypt.ini file symlinked > through /etc/php5/fpm/conf.d/* > > cat /etc/php5/fpm/conf.d/mcrypt.ini shows: > > # configuration for php MCrypt module > extension=mcrypt.so > > > The cli phpinfo() showby brianmercer - Php-fpm Mailing List - English
Matthew Goslett Wrote: ------------------------------------------------------- > I'm running Ubuntu Lucid and have setup nginx with > php-fpm using Brian Mercer's package here -> > https://launchpad.net/~brianmercer > > I have php5-mcrypt installed from the standard > Ubuntu repos and php loads the additional ini > /etc/php5/fpm/conf.d/mcrypt.ini; however the >by brianmercer - Php-fpm Mailing List - English
I used to use this: error_page 497 https://domain.com:7878$request_uri; to redirect requests from the http://domain.com:7878 non-ssl address to the ssl version on the same port. see http://www.ruby-forum.com/topic/156683 This stopped working recently, probably with the latest change to error_page in 0.8.53. After some trial and error, it seems to be working fine wiby brianmercer - Nginx Mailing List - English
What is the preferred way to cache static files these days? (i.e. ccs/js) 1. Recompile with slowfs module 2. Serve css/js through php backend and use fastcgi_cache 3. Create additional nginx localhost server and proxy_cache from nginx backend Drupal6 has a nasty habit of recreating its aggregated css and js files (i.e. css_.css) on module updates, etc. Which means cached dynamic pages endby brianmercer - Nginx Mailing List - English
I'm happy to say that fcgiwrap has been packaged for Debian sid/squeeze and will be in Ubuntu 10.10 as well. iberkner Wrote: ------------------------------------------------------- > I got it working, thanks! > > On Sun, Oct 3, 2010 at 7:06 AM, Julien Vehent > wrote: > > > On Sun, 3 Oct 2010 00:59:34 -0400, Ilan Berkner > > wrote: > > > Hi All,by brianmercer - Nginx Mailing List - English
neomax Wrote: ------------------------------------------------------- > Hello guys, this is MAX. > > I recently set up my Nginx 0.765 in CentOS 5.5 and > all are working well, then I moved my blog there > and enabled permlink and rewrite, I used to run WP > super cache, but when I configure it, it says: > mode rewrite not enabled. So I google it and > create a filby brianmercer - Nginx Mailing List - English
serepo Wrote: ------------------------------------------------------- > In addition to Jean hughes: > > I also installed from the ppa in ubuntu lucid, and > created /usr/local/nginx > Then I made the user (& group) www-data, who > apparently is created by the nginx install > package, owner of /usr/local/nginx/ with read & > write access. > Start nginxby brianmercer - Nginx Mailing List - English
Ed W Wrote: ------------------------------------------------------- > This isn't new stuff. EVERY web app needs to > secure the uploads > directory. The point is more that the main config > examples are for > Apache and less skilled nginx users will easily > miss these subtleties. > As you say, your web app should have a plan for mitigating the dangers of userby brianmercer - Nginx Mailing List - English
Ed W Wrote: ------------------------------------------------------- > Look, not had a lot of success raising this > quietly. The Nginx wiki > has a number of very insecure PHP configuration > suggestions. Anyone > using these example configurations should > immediately review their > configuration and ensure that they aren't > vulnerable to an upload attackby brianmercer - Nginx Mailing List - English
Thanks much. Cliff Wells Wrote: ------------------------------------------------------- > Attached. > > You need to add a line to > get_language_name_from_extension() in > extensions/geshi/geshi/geshi.php like this: > > 'nginx' => array() > > and save the attached file to > extensions/geshi/geshi/geshi/nginx.php. > > Regards, > Cliffby brianmercer - Nginx Mailing List - English
Does anyone have a language file for nginx configurations for the GeSHI syntax highlighter? Or have you used other syntax highlighter definitions that I could use to make one? I've found one for vim so far on the web.by brianmercer - Nginx Mailing List - English