# Server

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

[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:** 309

---

## [How to make nginx not cache php file](https://www.ruby-forum.com/t/how-to-make-nginx-not-cache-php-file/168982)

<div class="topic-metadata">

**Author:** [@perlish](https://www.ruby-forum.com/u/perlish)\
**Replies:** 2\
**Last updated:** [May 28, 2009, 7:43am UTC](https://www.ruby-forum.com/t/how-to-make-nginx-not-cache-php-file/168982 "2009-05-28T07:43:56Z")

</div>

Hi all: When I use nginx-0.7.59 as a revers proxy and cache server,it also cache the php file,how to make it not cache php file ? I thought the php file is not need to be cached. Posted at Nginx Forum:

---

## [Is there a way to turn on debugging if a fastcgi request failed?](https://www.ruby-forum.com/t/is-there-a-way-to-turn-on-debugging-if-a-fastcgi-request-failed/168909)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 0\
**Last updated:** [May 27, 2009, 10:13am UTC](https://www.ruby-forum.com/t/is-there-a-way-to-turn-on-debugging-if-a-fastcgi-request-failed/168909 "2009-05-27T10:13:03Z")

</div>

I have lvs running a healthcheck every few seconds. Logging this for lengthy periods of time under debugging would wind up filling my disk… Is there any way to catch a specific error and log that under debug? I am ge…

---

## [Using proxy\_store under heavy load](https://www.ruby-forum.com/t/using-proxy-store-under-heavy-load/168427)

<div class="topic-metadata">

**Author:** [@zepolen](https://www.ruby-forum.com/u/zepolen)\
**Replies:** 3\
**Last updated:** [May 27, 2009, 5:25am UTC](https://www.ruby-forum.com/t/using-proxy-store-under-heavy-load/168427 "2009-05-27T05:25:21Z")

</div>

I’m using proxy\_store to act as a frontend mirror/cache to amazon s3 for my sites photos. Response times are slow, iotop reports ~10-15MB/s being written to disk by nginx. The website implements a ‘latest’ feature,…

---

## [Problem in nginx with proxy\_cache on](https://www.ruby-forum.com/t/problem-in-nginx-with-proxy-cache-on/168795)

<div class="topic-metadata">

**Author:** [@Qiu\_Linfeng](https://www.ruby-forum.com/u/Qiu_Linfeng)\
**Replies:** 2\
**Last updated:** [May 27, 2009, 4:47am UTC](https://www.ruby-forum.com/t/problem-in-nginx-with-proxy-cache-on/168795 "2009-05-27T04:47:22Z")

</div>

hi,all Recently, I used nginx and found a problem. The problem is at the memory pool while I turn on the proxy\_cache. Here is how I found it. I use a tool to test nginx (with proxy\_cache on) and found that CPU idle…

---

## [Header modification with X-Accel-Redirect](https://www.ruby-forum.com/t/header-modification-with-x-accel-redirect/168463)

<div class="topic-metadata">

**Author:** [@Brice\_L](https://www.ruby-forum.com/u/Brice_L)\
**Replies:** 3\
**Last updated:** [May 27, 2009, 12:33am UTC](https://www.ruby-forum.com/t/header-modification-with-x-accel-redirect/168463 "2009-05-27T00:33:22Z")

</div>

Hi, I’m using X-Accel-Redirect and I would like to log modified header information at the same time. But when X-Accel-Redirect clear return his own header , so I can never get the clip variable :frowning: Brice My…

---

## [Disable logging images or seperate image log files](https://www.ruby-forum.com/t/disable-logging-images-or-seperate-image-log-files/168858)

<div class="topic-metadata">

**Author:** [@Pahud](https://www.ruby-forum.com/u/Pahud)\
**Replies:** 1\
**Last updated:** [May 26, 2009, 7:52pm UTC](https://www.ruby-forum.com/t/disable-logging-images-or-seperate-image-log-files/168858 "2009-05-26T19:52:55Z")

</div>

Hello list, After some google search I guess this is yet discussed before. How do I: disable nginx logging image requests(no .gif|.jpg|.png logging in access\_log) keep logging image requests, but seperate it to anoth…

---

## [Image\_filter before proxy\_store](https://www.ruby-forum.com/t/image-filter-before-proxy-store/168579)

<div class="topic-metadata">

**Author:** [@Reinis\_R](https://www.ruby-forum.com/u/Reinis_R)\
**Replies:** 1\
**Last updated:** [May 26, 2009, 5:17pm UTC](https://www.ruby-forum.com/t/image-filter-before-proxy-store/168579 "2009-05-26T17:17:21Z")

</div>

Hello, wanted a suggestion on such setup - the idea is to create on-the-fly image resizing and storing the thumbnails on the disk (kinda at some level on-demand mirror with file altering and storing them in the same …

---

## [Change this rewrite to apache htaccess](https://www.ruby-forum.com/t/change-this-rewrite-to-apache-htaccess/168846)

<div class="topic-metadata">

**Author:** [@millisami](https://www.ruby-forum.com/u/millisami)\
**Replies:** 1\
**Last updated:** [May 26, 2009, 5:05pm UTC](https://www.ruby-forum.com/t/change-this-rewrite-to-apache-htaccess/168846 "2009-05-26T17:05:36Z")

</div>

The following post explains about the page caching in rails with Nginx. http://blog.hasmanythrough.com/2008/1/30/segregated-page-cache-storage I like to implement this solution with my app but on Apache. So, the main …

---

## [Upstream prematurely closed connection while reading response header from upstream](https://www.ruby-forum.com/t/upstream-prematurely-closed-connection-while-reading-response-header-from-upstream/168640)

<div class="topic-metadata">

**Author:** [@jdzcn](https://www.ruby-forum.com/u/jdzcn)\
**Replies:** 1\
**Last updated:** [May 26, 2009, 5:05pm UTC](https://www.ruby-forum.com/t/upstream-prematurely-closed-connection-while-reading-response-header-from-upstream/168640 "2009-05-26T17:05:36Z")

</div>

nginx0.6.36+php5.2.9+php-fpm ab -n 2000 -c 2000 http://www.test.com/ i has many error 2009/05/23 16:00:30 24601#0: \*81788 upstream prematurely closed connection while reading response header from upstream, client: …

---

## [Change this nginx rewrite to apache htaccess](https://www.ruby-forum.com/t/change-this-nginx-rewrite-to-apache-htaccess/168845)

<div class="topic-metadata">

**Author:** [@millisami](https://www.ruby-forum.com/u/millisami)\
**Replies:** 0\
**Last updated:** [May 26, 2009, 4:48pm UTC](https://www.ruby-forum.com/t/change-this-nginx-rewrite-to-apache-htaccess/168845 "2009-05-26T16:48:00Z")

</div>

The following post explains about the page caching in rails with Nginx. http://blog.hasmanythrough.com/2008/1/30/segregated-page-cache-storage I like to implement this solution with my app but on Apache. So, the main …

---

## [Update from 0.6.32 to 0.7.59](https://www.ruby-forum.com/t/update-from-0-6-32-to-0-7-59/168828)

<div class="topic-metadata">

**Author:** [@grigory](https://www.ruby-forum.com/u/grigory)\
**Replies:** 3\
**Last updated:** [May 26, 2009, 3:38pm UTC](https://www.ruby-forum.com/t/update-from-0-6-32-to-0-7-59/168828 "2009-05-26T15:38:35Z")

</div>

Hi, I have installed nginx-0.6.32 and it works fine. I’ve been trying to install the new nginx (0.7.59) today but received some errors: ./configure --with-pcre=/usr/local/nginx/nginx-0.6.32/pcre-7.9 –with-zlib=/usr/l…

---

## [Compiling errors - 0.7.59](https://www.ruby-forum.com/t/compiling-errors-0-7-59/168818)

<div class="topic-metadata">

**Author:** [@bfouts](https://www.ruby-forum.com/u/bfouts)\
**Replies:** 8\
**Last updated:** [May 26, 2009, 2:48pm UTC](https://www.ruby-forum.com/t/compiling-errors-0-7-59/168818 "2009-05-26T14:48:03Z")

</div>

Hello , i got a dedi running fedora core 9 with the development tools bundle installed and i just cant compile it all the way. I had it downloaded then uncompressed,ran configure then make but it couldnt compile it a…

---

## [Incorrectly getting mime-type for flv files](https://www.ruby-forum.com/t/incorrectly-getting-mime-type-for-flv-files/168807)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 3\
**Last updated:** [May 26, 2009, 12:19pm UTC](https://www.ruby-forum.com/t/incorrectly-getting-mime-type-for-flv-files/168807 "2009-05-26T12:19:01Z")

</div>

Hi, I use Nginx in front of a Ruby on Rails application. When I upload an flv file that will be processed by Paperclip, I always get the mime-type as application/octet-stream although I have a mime.types file included …

---

## [How to track down an nginx crash](https://www.ruby-forum.com/t/how-to-track-down-an-nginx-crash/168525)

<div class="topic-metadata">

**Author:** [@Payam\_C](https://www.ruby-forum.com/u/Payam_C)\
**Replies:** 6\
**Last updated:** [May 26, 2009, 5:55am UTC](https://www.ruby-forum.com/t/how-to-track-down-an-nginx-crash/168525 "2009-05-26T05:55:59Z")

</div>

Hey guys, Nginx crashed 2 times on 2 of my proxy servers… no errors in logs and i cant figure out why the crash took place. I do see from my rrd files that there was about 20mbps of http traffic going to the box at t…

---

## [Hooking in to the nginx event loop with something other than TCP?](https://www.ruby-forum.com/t/hooking-in-to-the-nginx-event-loop-with-something-other-than-tcp/168788)

<div class="topic-metadata">

**Author:** [@Christopher\_Smith](https://www.ruby-forum.com/u/Christopher_Smith)\
**Replies:** 2\
**Last updated:** [May 26, 2009, 12:59am UTC](https://www.ruby-forum.com/t/hooking-in-to-the-nginx-event-loop-with-something-other-than-tcp/168788 "2009-05-26T00:59:39Z")

</div>

I am trying to have a filter module that would query a UDP network service before altering the output of an HTTP request. If the service was TCP based, I can see how I’d do this without blocking the worker thread (the…

---

## [Full SVN support](https://www.ruby-forum.com/t/full-svn-support/168782)

<div class="topic-metadata">

**Author:** [@teck](https://www.ruby-forum.com/u/teck)\
**Replies:** 10\
**Last updated:** [May 25, 2009, 11:54pm UTC](https://www.ruby-forum.com/t/full-svn-support/168782 "2009-05-25T23:54:45Z")

</div>

I intend to speak at the next Zendcon conference about Nginx and its advantages. However, the biggest turnoff for developers would be Nginx not being capable to fully support all SVN methods. Are there any plans rela…

---

## [301 Redirect Domain](https://www.ruby-forum.com/t/301-redirect-domain/168786)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 3\
**Last updated:** [May 25, 2009, 11:32pm UTC](https://www.ruby-forum.com/t/301-redirect-domain/168786 "2009-05-25T23:32:59Z")

</div>

Is there a way to redirect and old domain to a new one, For instance, all I did was change domains, the structure is all still the same. I just need to redirect xxxx.com to xxxy.com while still keeping the structure …

---

## [Good NewS!](https://www.ruby-forum.com/t/good-news/168768)

<div class="topic-metadata">

**Author:** [@fei](https://www.ruby-forum.com/u/fei)\
**Replies:** 0\
**Last updated:** [May 25, 2009, 3:55pm UTC](https://www.ruby-forum.com/t/good-news/168768 "2009-05-25T15:55:11Z")

</div>

I come from China.i Love Nginx.wait for 0.8…0.9…1.0!!! Posted at Nginx Forum:

---

## [Mail proxy-like HTTP proxy (delegating decisions to unix socket)](https://www.ruby-forum.com/t/mail-proxy-like-http-proxy-delegating-decisions-to-unix-socket/168713)

<div class="topic-metadata">

**Author:** [@Attila\_Nagy](https://www.ruby-forum.com/u/Attila_Nagy)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 10:26pm UTC](https://www.ruby-forum.com/t/mail-proxy-like-http-proxy-delegating-decisions-to-unix-socket/168713 "2009-05-24T22:26:44Z")

</div>

Hello, I wonder wether it is possible to use nginx as an intelligent HTTP reverse proxy, where the intelligence relies in an outside program. Currently there is the mail proxy module for IMAP and POP, which does some…

---

## [Basic-authentication and php?](https://www.ruby-forum.com/t/basic-authentication-and-php/168587)

<div class="topic-metadata">

**Author:** [@dcian](https://www.ruby-forum.com/u/dcian)\
**Replies:** 11\
**Last updated:** [May 23, 2009, 7:46am UTC](https://www.ruby-forum.com/t/basic-authentication-and-php/168587 "2009-05-23T07:46:20Z")

</div>

Hi all, I’m trying to set up basic authentication to protect an area of the website served by php. The critical bits of my server directive are. server ( listen 80; server\_name site.com www.site.com; root /var/w…

---

## [Symfony php configuration](https://www.ruby-forum.com/t/symfony-php-configuration/166798)

<div class="topic-metadata">

**Author:** [@shaktale](https://www.ruby-forum.com/u/shaktale)\
**Replies:** 11\
**Last updated:** [May 22, 2009, 10:04pm UTC](https://www.ruby-forum.com/t/symfony-php-configuration/166798 "2009-05-22T22:04:53Z")

</div>

Hi all. In a previous post, Igor says: “If you have “if ($uri” in configuration, this means that your configuraiton is far from optimal and has hidden agendas.” I’m using nginx + phpfpm + symfony framework and it’s …

---

## [Strange link on wiki.nginx.org](https://www.ruby-forum.com/t/strange-link-on-wiki-nginx-org/168590)

<div class="topic-metadata">

**Author:** [@Kurt\_Hansen](https://www.ruby-forum.com/u/Kurt_Hansen)\
**Replies:** 3\
**Last updated:** [May 22, 2009, 7:41pm UTC](https://www.ruby-forum.com/t/strange-link-on-wiki-nginx-org/168590 "2009-05-22T19:41:24Z")

</div>

Hello, There is an inaccurate link on the wiki. I’m not sure if it is in error or someone is trying to generate ad revenue. Here’s the wiki page: http://wiki.nginx.org/NginxResources If you click on the “Short Nginx…

---

## [Ignore 411 errors](https://www.ruby-forum.com/t/ignore-411-errors/168536)

<div class="topic-metadata">

**Author:** [@wannabe-coder](https://www.ruby-forum.com/u/wannabe-coder)\
**Replies:** 5\
**Last updated:** [May 22, 2009, 7:40pm UTC](https://www.ruby-forum.com/t/ignore-411-errors/168536 "2009-05-22T19:40:14Z")

</div>

Is there anyway to ignore 411 errors? I am trying to proxy requests to an upstream server and would like that server to deal with the 411’s rather than nginx. Is this possible? Thanks. -Joe

---

## [Ignore (or clear) too long cookie?](https://www.ruby-forum.com/t/ignore-or-clear-too-long-cookie/168582)

<div class="topic-metadata">

**Author:** [@teenage](https://www.ruby-forum.com/u/teenage)\
**Replies:** 4\
**Last updated:** [May 22, 2009, 6:06pm UTC](https://www.ruby-forum.com/t/ignore-or-clear-too-long-cookie/168582 "2009-05-22T18:06:23Z")

</div>

Hello, is there a way witch NginX to ignore or delete a too long cookie ? (which produce a return 400 Bad Request) Thanks, Olivier

---

## [Php-fpm: no updates from Andrei?](https://www.ruby-forum.com/t/php-fpm-no-updates-from-andrei/168578)

<div class="topic-metadata">

**Author:** [@teck](https://www.ruby-forum.com/u/teck)\
**Replies:** 0\
**Last updated:** [May 22, 2009, 4:50pm UTC](https://www.ruby-forum.com/t/php-fpm-no-updates-from-andrei/168578 "2009-05-22T16:50:37Z")

</div>

Hi all, I’m posting here because I got no responses from Andrei either from his email or newsgroups. Does anyone knows if the php-fpm development will be continued? Regards, Floren

---

## [Nginx slow load of php page](https://www.ruby-forum.com/t/nginx-slow-load-of-php-page/168534)

<div class="topic-metadata">

**Author:** [@yaax](https://www.ruby-forum.com/u/yaax)\
**Replies:** 1\
**Last updated:** [May 22, 2009, 1:18pm UTC](https://www.ruby-forum.com/t/nginx-slow-load-of-php-page/168534 "2009-05-22T13:18:30Z")

</div>

I am running nginx with php-fpm by fastcgi. All config settings are default. And since few days all php pages became very slow loading. Even simplest php script take about ONE minute to execute. Server is not loaded -…

---

## [FastCGI returning "No Input File" instead of 404](https://www.ruby-forum.com/t/fastcgi-returning-no-input-file-instead-of-404/168514)

<div class="topic-metadata">

**Author:** [@APseudoUtopia](https://www.ruby-forum.com/u/APseudoUtopia)\
**Replies:** 10\
**Last updated:** [May 22, 2009, 12:24pm UTC](https://www.ruby-forum.com/t/fastcgi-returning-no-input-file-instead-of-404/168514 "2009-05-22T12:24:01Z")

</div>

Hey everyone, This seems like it would be easily solved, but I’m not sure how. I just finished setting up PHP on my system. It runs fine. However, when I browse to a page like “http://domain.com/this-php-script-does-…

---

## [NGiNX as SSL Wrapper](https://www.ruby-forum.com/t/nginx-as-ssl-wrapper/168553)

<div class="topic-metadata">

**Author:** [@InterNetXSJSSS\_rg](https://www.ruby-forum.com/u/InterNetXSJSSS_rg)\
**Replies:** 3\
**Last updated:** [May 22, 2009, 10:19am UTC](https://www.ruby-forum.com/t/nginx-as-ssl-wrapper/168553 "2009-05-22T10:19:50Z")

</div>

Hello can Nginx be used as a SSL Wrapper in Front of some Apache Webservers? Thanks Juergen

---

## [Rewriting for revisioned URLs](https://www.ruby-forum.com/t/rewriting-for-revisioned-urls/168510)

<div class="topic-metadata">

**Author:** [@Brian\_Kirkbride](https://www.ruby-forum.com/u/Brian_Kirkbride)\
**Replies:** 8\
**Last updated:** [May 21, 2009, 9:02pm UTC](https://www.ruby-forum.com/t/rewriting-for-revisioned-urls/168510 "2009-05-21T21:02:08Z")

</div>

Hi all, I’m trying to switch us from LigHTTPD to NginX and have run into some issues. Any help is much appreciated. We use revisioned URLs to allow for far-future caching of resources (e.g. http://example.com/r12345…

---

## [Mongrel pids disappearing?](https://www.ruby-forum.com/t/mongrel-pids-disappearing/168494)

<div class="topic-metadata">

**Author:** [@narayan](https://www.ruby-forum.com/u/narayan)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 2:29pm UTC](https://www.ruby-forum.com/t/mongrel-pids-disappearing/168494 "2009-05-21T14:29:18Z")

</div>

I reinstalled mongrel on my Sun Solaris box and the problem disappeared.

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

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