# Server

**URL:** https://www.ruby-forum.com/c/server/33.md?page=254

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 255

---

## [Glibc detected \*\*\* nginx: master process /usr/sbin/nginx: double free or corruption (out) -- what?](https://www.ruby-forum.com/t/glibc-detected-nginx-master-process-usr-sbin-nginx-double-free-or-corruption-out-what/190513)

<div class="topic-metadata">

**Author:** [@dcian](https://www.ruby-forum.com/u/dcian)\
**Replies:** 11\
**Last updated:** [June 22, 2010, 11:39am UTC](https://www.ruby-forum.com/t/glibc-detected-nginx-master-process-usr-sbin-nginx-double-free-or-corruption-out-what/190513 "2010-06-22T11:39:09Z")

</div>

Hi all, I am getting entries like this in my nginx error log, and I have no idea what they might mean. (I am also getting /phpmyadmin/index.php served as a file, and not passed to php-fastcgi, and they might be relat…

---

## [Running other vhosts beside the catc-all default vhost](https://www.ruby-forum.com/t/running-other-vhosts-beside-the-catc-all-default-vhost/190319)

<div class="topic-metadata">

**Author:** [@Nedim\_Hadzimahmutov](https://www.ruby-forum.com/u/Nedim_Hadzimahmutov)\
**Replies:** 4\
**Last updated:** [June 22, 2010, 11:02am UTC](https://www.ruby-forum.com/t/running-other-vhosts-beside-the-catc-all-default-vhost/190319 "2010-06-22T11:02:51Z")

</div>

I have a catchall default vhost, cat /etc/nginx/sites-available/default : server { listen 80 default; server\_name \_; server\_name\_in\_redirect off; resolver 127.0.0.1; www. redirect - all domains starting wit…

---

## [Recursive Error Pages or how to try more than one location](https://www.ruby-forum.com/t/recursive-error-pages-or-how-to-try-more-than-one-location/190532)

<div class="topic-metadata">

**Author:** [@Elena\_Z](https://www.ruby-forum.com/u/Elena_Z)\
**Replies:** 3\
**Last updated:** [June 22, 2010, 9:30am UTC](https://www.ruby-forum.com/t/recursive-error-pages-or-how-to-try-more-than-one-location/190532 "2010-06-22T09:30:56Z")

</div>

Hello list, i have to store images on 3 servers. Image processing runs on all of the 3 servers and spreading the images over the 3 servers is a background task, so it takes some time the images are available on all 3 …

---

## [Nginx\_ajp\_module - support AJP protocol proxy with Nginx](https://www.ruby-forum.com/t/nginx-ajp-module-support-ajp-protocol-proxy-with-nginx/190526)

<div class="topic-metadata">

**Author:** [@yaoweibin](https://www.ruby-forum.com/u/yaoweibin)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 6:20am UTC](https://www.ruby-forum.com/t/nginx-ajp-module-support-ajp-protocol-proxy-with-nginx/190526 "2010-06-22T06:20:41Z")

</div>

Hi, folks: I’m proud to announce that nginx\_ajp\_module is published at first time. With this module, Nginx can connect to Tomcat’s AJP/1.3 port directly. The backend connections are keepalive, sesstion sticky. Projec…

---

## [How could I permanently redirect dynamic url with querystrings?](https://www.ruby-forum.com/t/how-could-i-permanently-redirect-dynamic-url-with-querystrings/190413)

<div class="topic-metadata">

**Author:** [@WisdomFusion](https://www.ruby-forum.com/u/WisdomFusion)\
**Replies:** 4\
**Last updated:** [June 22, 2010, 3:59am UTC](https://www.ruby-forum.com/t/how-could-i-permanently-redirect-dynamic-url-with-querystrings/190413 "2010-06-22T03:59:04Z")

</div>

Hi, all I recently migrates my web server from lighty to nginx(nginx/0.7.67 + php-fpm), but there is something strange with the nginx rewrite rule. The problem is, I wanna direct rules like this, http://www1.example.…

---

## [Scaling unicorn](https://www.ruby-forum.com/t/scaling-unicorn/190507)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 2\
**Last updated:** [June 22, 2010, 2:58am UTC](https://www.ruby-forum.com/t/scaling-unicorn/190507 "2010-06-22T02:58:10Z")

</div>

Interested in some feeback on this (does it sound right?), or maybe this might be of interest to others. We are launching a new facebook app in a couple weeks and we did some load testing over the weekend on our unico…

---

## [Help With Locations and Proxying](https://www.ruby-forum.com/t/help-with-locations-and-proxying/190506)

<div class="topic-metadata">

**Author:** [@roxah](https://www.ruby-forum.com/u/roxah)\
**Replies:** 1\
**Last updated:** [June 21, 2010, 9:12pm UTC](https://www.ruby-forum.com/t/help-with-locations-and-proxying/190506 "2010-06-21T21:12:08Z")

</div>

Hello All, I love using Nginx in front of Ruby web applications powered by Thin… it’s just so reliable. So, I’m hoping someone can help me with my problem. I’m sure it’s just a proxy configuration issue, but I don’t …

---

## [Nginx-0.8.42](https://www.ruby-forum.com/t/nginx-0-8-42/190484)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 1\
**Last updated:** [June 21, 2010, 8:35pm UTC](https://www.ruby-forum.com/t/nginx-0-8-42/190484 "2010-06-21T20:35:15Z")

</div>

Changes with nginx 0.8.42 21 Jun 2010 \*) Change: now nginx tests locations given by regular expressions, if request was matched exactly by a location given by a prefix string. …

---

## [Nginx forward prxoy problem when header contains 'Proxy-Connection: keep-alive'](https://www.ruby-forum.com/t/nginx-forward-prxoy-problem-when-header-contains-proxy-connection-keep-alive/190476)

<div class="topic-metadata">

**Author:** [@xuzheng](https://www.ruby-forum.com/u/xuzheng)\
**Replies:** 4\
**Last updated:** [June 21, 2010, 6:11pm UTC](https://www.ruby-forum.com/t/nginx-forward-prxoy-problem-when-header-contains-proxy-connection-keep-alive/190476 "2010-06-21T18:11:12Z")

</div>

hi, when i use nginx as a forward prxoy, some page can not be downloaded successfully. example: http\_proxy=ip:port wget -O test.html http://s1.ganjistatic1.com/css/base\_ue3\_house.\_\_1276756225\_\_.css--header='Proxy-Con…

---

## [File upload with a 500 response](https://www.ruby-forum.com/t/file-upload-with-a-500-response/190357)

<div class="topic-metadata">

**Author:** [@woodsmar](https://www.ruby-forum.com/u/woodsmar)\
**Replies:** 4\
**Last updated:** [June 21, 2010, 2:24pm UTC](https://www.ruby-forum.com/t/file-upload-with-a-500-response/190357 "2010-06-21T14:24:37Z")

</div>

\[size=small\] Hi I’m seeing some unusual behaviour in one specific client interaction with nginx and wonder if anyone has seen anything similar or can offer any explanation as to why this might be happening. I’m runni…

---

## [Ngx\_drizzle v0.0.11 and ngx\_rds\_json v0.09: significant performance boost](https://www.ruby-forum.com/t/ngx-drizzle-v0-0-11-and-ngx-rds-json-v0-09-significant-performance-boost/190477)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 11:25am UTC](https://www.ruby-forum.com/t/ngx-drizzle-v0-0-11-and-ngx-rds-json-v0-09-significant-performance-boost/190477 "2010-06-21T11:25:28Z")

</div>

Hi, folks! I’m happy to announce that ngx\_drizzle v0.0.11 and ngx\_rds\_json v0.09 are finally out: http://github.com/chaoslawful/drizzle-nginx-module/tarball/v0.0.11 http://github.com/agentzh/rds-json-nginx-module/tar…

---

## [Segfault with Secure Download](https://www.ruby-forum.com/t/segfault-with-secure-download/189585)

<div class="topic-metadata">

**Author:** [@MokuTheCow](https://www.ruby-forum.com/u/MokuTheCow)\
**Replies:** 9\
**Last updated:** [June 21, 2010, 8:38am UTC](https://www.ruby-forum.com/t/segfault-with-secure-download/189585 "2010-06-21T08:38:37Z")

</div>

Hi; I’ve compiled in Secure Download to nginx 0.7.65 & 0.8.39 and whenever I make use of the Secure Download directives, the processes keep segfaulting. \[size=small\]Jun 3 04:04:03 localhost kernel: nginx\[23299\]: seg…

---

## [Recent developments in nginx.conf scripting](https://www.ruby-forum.com/t/recent-developments-in-nginx-conf-scripting/190467)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 5:28am UTC](https://www.ruby-forum.com/t/recent-developments-in-nginx-conf-scripting/190467 "2010-06-21T05:28:25Z")

</div>

Hi, folks! Last Saturday I gave a talk in Beijing OpenParty’s monthly meetup \[1\] regarding our recent developments in nginx.conf scripting with the highlights of new modules like ngx\_postgres, ngx\_form\_input, ngx\_src…

---

## [Anybody alredy need to translate the htaccess to nginx rules](https://www.ruby-forum.com/t/anybody-alredy-need-to-translate-the-htaccess-to-nginx-rules/190460)

<div class="topic-metadata">

**Author:** [@bigbet](https://www.ruby-forum.com/u/bigbet)\
**Replies:** 0\
**Last updated:** [June 20, 2010, 11:38pm UTC](https://www.ruby-forum.com/t/anybody-alredy-need-to-translate-the-htaccess-to-nginx-rules/190460 "2010-06-20T23:38:57Z")

</div>

This is my htaccess… please, anybody helpe me… Options +FollowSymLinks RewriteEngine On Get rid of index.php RewriteCond %{REQUEST\_URI} /index.php RewriteRule (.\*) index.php?rewrite=2 \[L,QSA\] Rewrite all directory…

---

## [Blackbox Logs](https://www.ruby-forum.com/t/blackbox-logs/190324)

<div class="topic-metadata">

**Author:** [@alangano](https://www.ruby-forum.com/u/alangano)\
**Replies:** 3\
**Last updated:** [June 20, 2010, 11:27pm UTC](https://www.ruby-forum.com/t/blackbox-logs/190324 "2010-06-20T23:27:23Z")

</div>

I attempted to get a discussion going on ServerFault.com regarding “blackbox” logs and Nginx. It didn’t get the response I imagined, and I was told to ask here. Here is an article about “blackbox” logs in Apache by Ch…

---

## [APC + php-cgi shared between child](https://www.ruby-forum.com/t/apc-php-cgi-shared-between-child/190363)

<div class="topic-metadata">

**Author:** [@nfn](https://www.ruby-forum.com/u/nfn)\
**Replies:** 4\
**Last updated:** [June 20, 2010, 3:58pm UTC](https://www.ruby-forum.com/t/apc-php-cgi-shared-between-child/190363 "2010-06-20T15:58:22Z")

</div>

Hi, I’m running nginx as frontend to apache + mod\_php with good results. Apache has keepalive off and is running with few threads and with the essential modules. i made a few tests with php-cgi -d managed with superv…

---

## [Number of client connections?](https://www.ruby-forum.com/t/number-of-client-connections/190429)

<div class="topic-metadata">

**Author:** [@Zeljko\_T](https://www.ruby-forum.com/u/Zeljko_T)\
**Replies:** 0\
**Last updated:** [June 20, 2010, 12:24am UTC](https://www.ruby-forum.com/t/number-of-client-connections/190429 "2010-06-20T00:24:58Z")

</div>

Hi everyone, I’m trying to write a module which deals with number of client connections. Any ideas on how could I get such info? Global nginx counters keep “active connections” which also include connections to backe…

---

## [Remote address totally different from Apache](https://www.ruby-forum.com/t/remote-address-totally-different-from-apache/190424)

<div class="topic-metadata">

**Author:** [@Kalaj](https://www.ruby-forum.com/u/Kalaj)\
**Replies:** 0\
**Last updated:** [June 19, 2010, 8:02pm UTC](https://www.ruby-forum.com/t/remote-address-totally-different-from-apache/190424 "2010-06-19T20:02:45Z")

</div>

Hi, all. I got normal nginx and normal apache on a same server, no proxy. But in the log file, nginx recorded remote address totally different from apache’s log. This situation just happened when I’m at home, in othe…

---

## [Installing nginx\_ngx\_supervisord/](https://www.ruby-forum.com/t/installing-nginx-ngx-supervisord/190410)

<div class="topic-metadata">

**Author:** [@JCR](https://www.ruby-forum.com/u/JCR)\
**Replies:** 0\
**Last updated:** [June 19, 2010, 3:10pm UTC](https://www.ruby-forum.com/t/installing-nginx-ngx-supervisord/190410 "2010-06-19T15:10:03Z")

</div>

Hello, I am using supervisord to run fastcgi programs. Because supervisord does start processes on demand, I realized I should install nginx\_ngx\_supervisord/. I am struggling with the installation. I got the module n…

---

## [Ð’ð¾ð¿ñ€ð¾ñ ð¿ð¾ ð»ð¸ð¼ð¸ñ‚ð¸ñ€ð¾ð²ð°ð½ð¸ñž ñ ðºð¾ñ€ð¾ññ‚ð¸](https://www.ruby-forum.com/t/d-d-d-n-d-n-d-d-d-d-d-d-n-d-n-d-d-d-d-d-nz-n-d-d-n-d-n-n-d/188688)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [June 19, 2010, 2:36pm UTC](https://www.ruby-forum.com/t/d-d-d-n-d-n-d-d-d-d-d-d-n-d-n-d-d-d-d-d-nz-n-d-d-n-d-n-n-d/188688 "2010-06-19T14:36:41Z")

</div>

Ð—Ð´Ñ€Ð°Ð²ÑÑ‚Ð²ÑƒÐ¹Ñ‚Ðµ. Ð£Ð²Ð¸Ð´ÐµÐ» http://sysoev.ru/nginx/docs/http/ngx\_http\_core\_module.html#limit\_rate location /flv/ { flv; limit\_rate\_after 500k; limit\_rate 50k; } Ð¯ Ñ‚Ð°Ðº Ð¿Ð¾Ð½ÑÐ», Ñ‡Ñ‚Ð¾ ÑÑ‚Ð¾ Ð»Ð¸…

---

## [Sub\_filter can't work with gzip](https://www.ruby-forum.com/t/sub-filter-cant-work-with-gzip/190400)

<div class="topic-metadata">

**Author:** [@FFCZ](https://www.ruby-forum.com/u/FFCZ)\
**Replies:** 0\
**Last updated:** [June 19, 2010, 6:20am UTC](https://www.ruby-forum.com/t/sub-filter-cant-work-with-gzip/190400 "2010-06-19T06:20:22Z")

</div>

now i use Centos5.2/nginx-0.8.41/php5.2.13, –with-http\_stub\_status\_module --with-http\_ssl\_module –with-http\_sub\_module but I found HttpSubModule/sub\_filter can’t work when gzip open. a bug? thank you Posted at Nginx…

---

## [Proxy\_cache\_valid inheritance](https://www.ruby-forum.com/t/proxy-cache-valid-inheritance/190391)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Loyet](https://www.ruby-forum.com/u/JSSSSrSSSSme_Loyet)\
**Replies:** 1\
**Last updated:** [June 19, 2010, 1:27am UTC](https://www.ruby-forum.com/t/proxy-cache-valid-inheritance/190391 "2010-06-19T01:27:10Z")

</div>

Hi, I have a question about the proxy\_cache\_valid inheritance. I have the following configuration: http { … proxy\_cache\_valid 301 1h; proxy\_cache\_valid 200 302 404 10m; proxy\_cache\_valid any …

---

## [Can't activate gzip to work accurate in Safari/Chrome](https://www.ruby-forum.com/t/cant-activate-gzip-to-work-accurate-in-safari-chrome/189824)

<div class="topic-metadata">

**Author:** [@bongtv](https://www.ruby-forum.com/u/bongtv)\
**Replies:** 14\
**Last updated:** [June 18, 2010, 2:51pm UTC](https://www.ruby-forum.com/t/cant-activate-gzip-to-work-accurate-in-safari-chrome/189824 "2010-06-18T14:51:56Z")

</div>

Hello! I’m using nginx/0.8.38 and like to use the gzip for the many js and css files on my page. Everything works great in FF, but Safari and Chrome downloads the files never gzipped - even if there is a gzip in the …

---

## [Nginx-0.8.41 build warnings: \`sys\_errlist' & \`sys\_nerr' are derprecated](https://www.ruby-forum.com/t/nginx-0-8-41-build-warnings-sys-errlist-sys-nerr-are-derprecated/190347)

<div class="topic-metadata">

**Author:** [@Ben\_DJ](https://www.ruby-forum.com/u/Ben_DJ)\
**Replies:** 1\
**Last updated:** [June 18, 2010, 8:02am UTC](https://www.ruby-forum.com/t/nginx-0-8-41-build-warnings-sys-errlist-sys-nerr-are-derprecated/190347 "2010-06-18T08:02:07Z")

</div>

hi, building nginx-0.8.41 from source, i’m seeing @ make, … objs/src/os/unix/ngx\_process.o: In function ngx\_process\_get\_status': /usr/local/src/nginx-0.8.41/src/os/unix/ngx\_process.c:490: warning:sys\_errlist’ is depre…

---

## [499 errors](https://www.ruby-forum.com/t/499-errors/190210)

<div class="topic-metadata">

**Author:** [@ntran](https://www.ruby-forum.com/u/ntran)\
**Replies:** 5\
**Last updated:** [June 18, 2010, 6:32am UTC](https://www.ruby-forum.com/t/499-errors/190210 "2010-06-18T06:32:34Z")

</div>

We have a Rails app with nginx proxying requests to 2 mongrel servers. I’m seeing a lot of 499 errors crop up, for example: lodgeit.aioi.local-access.log-20100603:192.168.0.50 - - \[02/Jun/2010:09:32:39 +1000\] “GET /?p…

---

## [Re: nginx-0.7.67](https://www.ruby-forum.com/t/re-nginx-0-7-67/190344)

<div class="topic-metadata">

**Author:** [@monad](https://www.ruby-forum.com/u/monad)\
**Replies:** 1\
**Last updated:** [June 18, 2010, 6:30am UTC](https://www.ruby-forum.com/t/re-nginx-0-7-67/190344 "2010-06-18T06:30:49Z")

</div>

Hi Igor: I find there’s no real change between 0.7.66 and 0.7.67.Or the security fix has already been included in 0.7.66? Regards, bobo.

---

## [Chunked transfer](https://www.ruby-forum.com/t/chunked-transfer/190326)

<div class="topic-metadata">

**Author:** [@malvadomx](https://www.ruby-forum.com/u/malvadomx)\
**Replies:** 3\
**Last updated:** [June 17, 2010, 11:00pm UTC](https://www.ruby-forum.com/t/chunked-transfer/190326 "2010-06-17T23:00:44Z")

</div>

Hi. Does mongrel support ‘chunked’ transfer encoding ? We are sending images from a J2ME app, but do not seem to be able to read the entire xml message that gets sent from the mobile device. The message is posted t…

---

## [How to conditionally "if" match a network range?](https://www.ruby-forum.com/t/how-to-conditionally-if-match-a-network-range/190333)

<div class="topic-metadata">

**Author:** [@Ben\_DJ](https://www.ruby-forum.com/u/Ben_DJ)\
**Replies:** 2\
**Last updated:** [June 17, 2010, 9:41pm UTC](https://www.ruby-forum.com/t/how-to-conditionally-if-match-a-network-range/190333 "2010-06-17T21:41:07Z")

</div>

hi, this works fine, if ($remote\_addr = 1.2.3.4) { … } i’d like to match, rather than on a single IP, to a network range. in effect, if ($remote\_addr = 1.2.3.0/24) { … } but, afaict, that doesn’t work. is the…

---

## [How to update/store entries into memcache from C++ FastCGI process?](https://www.ruby-forum.com/t/how-to-update-store-entries-into-memcache-from-c-fastcgi-process/190196)

<div class="topic-metadata">

**Author:** [@drvirens](https://www.ruby-forum.com/u/drvirens)\
**Replies:** 2\
**Last updated:** [June 17, 2010, 9:34pm UTC](https://www.ruby-forum.com/t/how-to-update-store-entries-into-memcache-from-c-fastcgi-process/190196 "2010-06-17T21:34:05Z")

</div>

Hello, This is my first post here, so first and foremost, I would like to say I have fallen in love with nginx. :slight\_smile: This is the most beautiful server I had ever seen before. Thank you so much for providing …

---

## [Quick start on writing a module?](https://www.ruby-forum.com/t/quick-start-on-writing-a-module/190217)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 10\
**Last updated:** [June 17, 2010, 5:23pm UTC](https://www.ruby-forum.com/t/quick-start-on-writing-a-module/190217 "2010-06-17T17:23:26Z")

</div>

I’d like to convert an apache module I’ve written to work under nginx. Can somebody loan me a clue for getting started? Background The logic is pretty simple: based on the input URI, determine what file will be sen…

[Previous page](https://www.ruby-forum.com/c/server/33.md?page=253)

[Next page](https://www.ruby-forum.com/c/server/33.md?page=255)
