# Server

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

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

---

## [Compilation of Nginx on Solris 10 as 64bit](https://www.ruby-forum.com/t/compilation-of-nginx-on-solris-10-as-64bit/176836)

<div class="topic-metadata">

**Author:** [@arin](https://www.ruby-forum.com/u/arin)\
**Replies:** 9\
**Last updated:** [March 20, 2010, 12:49pm UTC](https://www.ruby-forum.com/t/compilation-of-nginx-on-solris-10-as-64bit/176836 "2010-03-20T12:49:56Z")

</div>

Hi All I have a problem with compilation of nginx 0.7.62 on solaris 10 I use the sun studio 12 for compilation I constantly have the following error ( with or without pcre support) ld: fatal: file objs/src/core/nginx…

---

## [Change HTTP method of Sub request](https://www.ruby-forum.com/t/change-http-method-of-sub-request/185383)

<div class="topic-metadata">

**Author:** [@WSandrew\_L](https://www.ruby-forum.com/u/WSandrew_L)\
**Replies:** 7\
**Last updated:** [March 19, 2010, 6:41pm UTC](https://www.ruby-forum.com/t/change-http-method-of-sub-request/185383 "2010-03-19T18:41:24Z")

</div>

I have a Rails app that receives a POST and I would like to X-Accel-Redirect a file back to the client, but the fileserver is receiving a POST. Can I rewrite the HTTP method internally? I cannot find the documentation…

---

## [The request buffer in Nginx Http FcgiModule](https://www.ruby-forum.com/t/the-request-buffer-in-nginx-http-fcgimodule/185296)

<div class="topic-metadata">

**Author:** [@li\_zJay](https://www.ruby-forum.com/u/li_zJay)\
**Replies:** 8\
**Last updated:** [March 19, 2010, 6:39pm UTC](https://www.ruby-forum.com/t/the-request-buffer-in-nginx-http-fcgimodule/185296 "2010-03-19T18:39:04Z")

</div>

Hello everybody: When working with Fast CGI Module, I find that Nginx buffers the whole request content before send it to the FastCGI Server. For example, the client uploads a file of 10MB to Nginx, I notice that th…

---

## [Dynamically change reverse proxy mappings](https://www.ruby-forum.com/t/dynamically-change-reverse-proxy-mappings/185361)

<div class="topic-metadata">

**Author:** [@metamind](https://www.ruby-forum.com/u/metamind)\
**Replies:** 5\
**Last updated:** [March 19, 2010, 6:14pm UTC](https://www.ruby-forum.com/t/dynamically-change-reverse-proxy-mappings/185361 "2010-03-19T18:14:29Z")

</div>

Hi, I am wanting to reverse proxy to a number of servers running on different ports on one machine. These servers will come and go. Is it possible to dynamically change the nginx mappings without having to bounce the…

---

## [Re: Dynamically change reverse proxy mappings](https://www.ruby-forum.com/t/re-dynamically-change-reverse-proxy-mappings/185417)

<div class="topic-metadata">

**Author:** [@Alexander\_Vogt](https://www.ruby-forum.com/u/Alexander_Vogt)\
**Replies:** 0\
**Last updated:** [March 19, 2010, 2:30pm UTC](https://www.ruby-forum.com/t/re-dynamically-change-reverse-proxy-mappings/185417 "2010-03-19T14:30:14Z")

</div>

It sounds like dynamic upstream management is exactly what I’m after. It would be great if anyone has any news on any work that is happening in that area. sounds good to me as well. what would be on my wishlist is…

---

## [How many worker\_process do you like?](https://www.ruby-forum.com/t/how-many-worker-process-do-you-like/185385)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [March 19, 2010, 8:57am UTC](https://www.ruby-forum.com/t/how-many-worker-process-do-you-like/185385 "2010-03-19T08:57:44Z")

</div>

The number of worker\_process seems to be relative with amount of CPUs? – Ren Xiaolei

---

## [Nginx as reverse caching proxy for CentOS repositories](https://www.ruby-forum.com/t/nginx-as-reverse-caching-proxy-for-centos-repositories/185120)

<div class="topic-metadata">

**Author:** [@Wouter\_Schoot](https://www.ruby-forum.com/u/Wouter_Schoot)\
**Replies:** 8\
**Last updated:** [March 18, 2010, 7:30pm UTC](https://www.ruby-forum.com/t/nginx-as-reverse-caching-proxy-for-centos-repositories/185120 "2010-03-18T19:30:35Z")

</div>

Dear list, In an attempt to create an offline copy for my homenetwork to quickly install CentOS I wanted to use nginx as a reverse caching proxy so that nginx stores all the files the that the CentOS installer request…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/185357)

<div class="topic-metadata">

**Author:** [@Adam\_Landry](https://www.ruby-forum.com/u/Adam_Landry)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 6:07pm UTC](https://www.ruby-forum.com/t/unsubscribe/185357 "2010-03-18T18:07:59Z")

</div>

Adam Landry Infrastructure Engineer csn|stores Prudential Tower 800 Boylston Street, Suite 1600 Boston, MA 02199 \*617.880.8487 removed\_email\_address@domain.invalidmailto:removed\_email\_address@domain.invalid

---

## [Work-around for upstream\_fair bug?](https://www.ruby-forum.com/t/work-around-for-upstream-fair-bug/185350)

<div class="topic-metadata">

**Author:** [@russellneufeld](https://www.ruby-forum.com/u/russellneufeld)\
**Replies:** 2\
**Last updated:** [March 18, 2010, 6:05pm UTC](https://www.ruby-forum.com/t/work-around-for-upstream-fair-bug/185350 "2010-03-18T18:05:03Z")

</div>

Hi all, We have nginx set up to reverse proxy to a couple of apache instances. Every so often apache takes longer than 60 seconds to respond, and then nginx pulls that server out of rotation and does not add it back i…

---

## [Not work in Antikesh nginx version: nginx/0.7.65](https://www.ruby-forum.com/t/not-work-in-antikesh-nginx-version-nginx-0-7-65/185343)

<div class="topic-metadata">

**Author:** [@gloomen](https://www.ruby-forum.com/u/gloomen)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 1:18pm UTC](https://www.ruby-forum.com/t/not-work-in-antikesh-nginx-version-nginx-0-7-65/185343 "2010-03-18T13:18:10Z")

</div>

Posted at Nginx Forum:

---

## [Can I bulid the Nginx on an embedded system?](https://www.ruby-forum.com/t/can-i-bulid-the-nginx-on-an-embedded-system/185269)

<div class="topic-metadata">

**Author:** [@ericchiang87](https://www.ruby-forum.com/u/ericchiang87)\
**Replies:** 2\
**Last updated:** [March 18, 2010, 7:10am UTC](https://www.ruby-forum.com/t/can-i-bulid-the-nginx-on-an-embedded-system/185269 "2010-03-18T07:10:34Z")

</div>

I need to build a web server on an embedded system with ARM Linux and 128MB RAM. I would like to ask if it possible to bulid the Nginx server on it? Thanks Posted at Nginx Forum:

---

## [Htpasswd protection prompts for index.php download](https://www.ruby-forum.com/t/htpasswd-protection-prompts-for-index-php-download/185315)

<div class="topic-metadata">

**Author:** [@ppnx](https://www.ruby-forum.com/u/ppnx)\
**Replies:** 2\
**Last updated:** [March 18, 2010, 1:23am UTC](https://www.ruby-forum.com/t/htpasswd-protection-prompts-for-index-php-download/185315 "2010-03-18T01:23:29Z")

</div>

I could not find the information on the web or in the wiki, so I try this list. I am the user of a free hosting service using nginx. So I cannot acces or edit conf files myself, but I can ask the admin and he will do …

---

## [Nginx pop imap and ldap](https://www.ruby-forum.com/t/nginx-pop-imap-and-ldap/143937)

<div class="topic-metadata">

**Author:** [@Leveau\_Stanislas](https://www.ruby-forum.com/u/Leveau_Stanislas)\
**Replies:** 6\
**Last updated:** [March 18, 2010, 1:22am UTC](https://www.ruby-forum.com/t/nginx-pop-imap-and-ldap/143937 "2010-03-18T01:22:15Z")

</div>

hi I would like to know if it’s possible to configure Nginx as Perdition with ldap. Because i have one Webmail IMP/HORDE and two store with mailbox. I want to be able to choose a back-end server based on the user’s …

---

## [Rewrite to HTTPS?](https://www.ruby-forum.com/t/rewrite-to-https/185290)

<div class="topic-metadata">

**Author:** [@Guillaume\_F](https://www.ruby-forum.com/u/Guillaume_F)\
**Replies:** 1\
**Last updated:** [March 17, 2010, 4:01pm UTC](https://www.ruby-forum.com/t/rewrite-to-https/185290 "2010-03-17T16:01:04Z")

</div>

Hi all, I’d like to make a rewrite rule to redirect the client to an HTTPS page, so that a user is redirected from: http://host.name/p/A2010/TExfDqN5cPi/b7i8UDhqgx3rmXlc+yv+T7hmxuykWGENpg== to: https://my.host.name/…

---

## [Bug: invalid HTTP responses on invalid data](https://www.ruby-forum.com/t/bug-invalid-http-responses-on-invalid-data/185278)

<div class="topic-metadata">

**Author:** [@david\_lodge](https://www.ruby-forum.com/u/david_lodge)\
**Replies:** 4\
**Last updated:** [March 17, 2010, 1:32pm UTC](https://www.ruby-forum.com/t/bug-invalid-http-responses-on-invalid-data/185278 "2010-03-17T13:32:21Z")

</div>

Nginx seems to offer some strange behaviour when it receives invalid tokens in the HTTP request. If an unexpected character is sent then the stream will immediately terminate, returning an HTML page for the 400 error.…

---

## [Response have a HTTP header for request which can not correctly parse the HTTP version](https://www.ruby-forum.com/t/response-have-a-http-header-for-request-which-can-not-correctly-parse-the-http-version/185281)

<div class="topic-metadata">

**Author:** [@Kirill\_ASKorinskiy](https://www.ruby-forum.com/u/Kirill_ASKorinskiy)\
**Replies:** 0\
**Last updated:** [March 17, 2010, 1:12pm UTC](https://www.ruby-forum.com/t/response-have-a-http-header-for-request-which-can-not-correctly-parse-the-http-version/185281 "2010-03-17T13:12:27Z")

</div>

From: Kirill A. Korinskiy removed\_email\_address@domain.invalid Thanks for bugreport David Lodge src/http/ngx\_http\_header\_filter\_module.c | 2 ± 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/http…

---

## [Can I use memcache with eval for imap](https://www.ruby-forum.com/t/can-i-use-memcache-with-eval-for-imap/185280)

<div class="topic-metadata">

**Author:** [@ramprasad\_ap](https://www.ruby-forum.com/u/ramprasad_ap)\
**Replies:** 0\
**Last updated:** [March 17, 2010, 1:01pm UTC](https://www.ruby-forum.com/t/can-i-use-memcache-with-eval-for-imap/185280 "2010-03-17T13:01:19Z")

</div>

I am using ngnix as a Load balancer for two imap servers. I want to store the userlist in a memcache and look it up through nginx.conf How do I do this ? Thanks Ram Posted at Nginx Forum:

---

## [504 Timeout when running PHP script](https://www.ruby-forum.com/t/504-timeout-when-running-php-script/185223)

<div class="topic-metadata">

**Author:** [@djeyewater](https://www.ruby-forum.com/u/djeyewater)\
**Replies:** 2\
**Last updated:** [March 17, 2010, 12:58pm UTC](https://www.ruby-forum.com/t/504-timeout-when-running-php-script/185223 "2010-03-17T12:58:24Z")

</div>

I have a PHP script that processes a folder of images, it takes quite a while to do this, but should produce output as it goes along. But when running this script I get a 504 Timeout, probably after 60s. The script al…

---

## [Modules programming. Several questions. $variables, URI rewriting](https://www.ruby-forum.com/t/modules-programming-several-questions-variables-uri-rewriting/185261)

<div class="topic-metadata">

**Author:** [@mriadus](https://www.ruby-forum.com/u/mriadus)\
**Replies:** 1\
**Last updated:** [March 17, 2010, 11:18am UTC](https://www.ruby-forum.com/t/modules-programming-several-questions-variables-uri-rewriting/185261 "2010-03-17T11:18:54Z")

</div>

I can set a handler to one of several “phases”, like: “NGX\_HTTP\_REWRITE\_PHASE”, “NGX\_HTTP\_CONTENT\_PHASE” and other. How to define an order the handlers will be called inside the same “phase”? Lets suppose i bond sev…

---

## [Postponing responses to requests](https://www.ruby-forum.com/t/postponing-responses-to-requests/185182)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 17, 2010, 10:39am UTC](https://www.ruby-forum.com/t/postponing-responses-to-requests/185182 "2010-03-17T10:39:40Z")

</div>

I’m trying to figure out how to get some code working in an NGINX module we are writing. The basic idea is that requests come in to our module, and we make callouts from the module to both some external code and to a…

---

## [Error\_page can redirect to other url with original args?](https://www.ruby-forum.com/t/error-page-can-redirect-to-other-url-with-original-args/185220)

<div class="topic-metadata">

**Author:** [@wangbin579](https://www.ruby-forum.com/u/wangbin579)\
**Replies:** 1\
**Last updated:** [March 16, 2010, 10:12am UTC](https://www.ruby-forum.com/t/error-page-can-redirect-to-other-url-with-original-args/185220 "2010-03-16T10:12:20Z")

</div>

if all upstream servers are all down,then nginx disposes 502 and the original args is empty. if I want to redirect 502 to other handler with original args, how can I do? Posted at Nginx Forum:

---

## [Content-type after proxy\_pass](https://www.ruby-forum.com/t/content-type-after-proxy-pass/184678)

<div class="topic-metadata">

**Author:** [@dannynoonan](https://www.ruby-forum.com/u/dannynoonan)\
**Replies:** 2\
**Last updated:** [March 16, 2010, 12:02am UTC](https://www.ruby-forum.com/t/content-type-after-proxy-pass/184678 "2010-03-16T00:02:35Z")

</div>

In servicing a request for: /foo.jpg which actually lives out in a mogilefs backend as /00/00/01.fid or something like that. I’ve configured nginx to peform proxy\_pass → fastcgi\_pass → python app → X-Accel-Redirect →…

---

## [How does nginx know about FastCGI's stderr?](https://www.ruby-forum.com/t/how-does-nginx-know-about-fastcgis-stderr/185144)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 15, 2010, 2:31pm UTC](https://www.ruby-forum.com/t/how-does-nginx-know-about-fastcgis-stderr/185144 "2010-03-15T14:31:12Z")

</div>

nginx’s error.log says: 2010/03/15 11:13:15 \[error\] 10978#0: \*10642 FastCGI sent in stderr: "PHP Deprecated: Function ereg() is deprecated in /usr/local/cacti/lib/rrd.php on line 734 PHP Deprecated: Function ereg()…

---

## [Perl fastcgi buffering problem](https://www.ruby-forum.com/t/perl-fastcgi-buffering-problem/185130)

<div class="topic-metadata">

**Author:** [@iamstef](https://www.ruby-forum.com/u/iamstef)\
**Replies:** 1\
**Last updated:** [March 15, 2010, 1:03pm UTC](https://www.ruby-forum.com/t/perl-fastcgi-buffering-problem/185130 "2010-03-15T13:03:58Z")

</div>

Hi, Im trying to see how certain Perl CGI scripts will work on nginx. Im using nginx stable on Solaris 10 x86. My configuration: Perl CGI support: nginx-fcgi-0.4.3 nginx.conf: location ~ ^/cgi-bin/.\*.cgi$ { gzip…

---

## [Proxy\_cache\_purge for nginx/0.8.34](https://www.ruby-forum.com/t/proxy-cache-purge-for-nginx-0-8-34/184758)

<div class="topic-metadata">

**Author:** [@skynet](https://www.ruby-forum.com/u/skynet)\
**Replies:** 15\
**Last updated:** [March 15, 2010, 6:45am UTC](https://www.ruby-forum.com/t/proxy-cache-purge-for-nginx-0-8-34/184758 "2010-03-15T06:45:53Z")

</div>

Can somebody confirm that proxy\_cache\_purge is working with nginx/0.8.34. I have this config and cannot get it to delete anything from the cache, I just get a 404: location / { proxy\_pass http://127.0.0.1:8000; …

---

## [Nginx on Windows: Problem with leading slash on root path (GetFileAttributesEx() fails because of wr](https://www.ruby-forum.com/t/nginx-on-windows-problem-with-leading-slash-on-root-path-getfileattributesex-fails-because-of-wr/185129)

<div class="topic-metadata">

**Author:** [@Alexander\_Vogt](https://www.ruby-forum.com/u/Alexander_Vogt)\
**Replies:** 0\
**Last updated:** [March 14, 2010, 5:29pm UTC](https://www.ruby-forum.com/t/nginx-on-windows-problem-with-leading-slash-on-root-path-getfileattributesex-fails-because-of-wr/185129 "2010-03-14T17:29:59Z")

</div>

Hi everyone, i want to run nginx+php on windows for development purposes. Im using the nginx-0.8.34 native build from the nginx download page (no cygwin ports). PHP and static files are served, although the following …

---

## [Document root problem?](https://www.ruby-forum.com/t/document-root-problem/185075)

<div class="topic-metadata">

**Author:** [@flash](https://www.ruby-forum.com/u/flash)\
**Replies:** 3\
**Last updated:** [March 13, 2010, 1:45am UTC](https://www.ruby-forum.com/t/document-root-problem/185075 "2010-03-13T01:45:12Z")

</div>

I am running a wordpress setup with nginx and I have an error that I haven’t been able to track down. In my log files I’m getting a lot of errors like this: " 17434#0: \*140 open() “/home/tcb/public\_htmlon” failed (2: …

---

## [Help about how proxy\_cache to store differet cache file by http header vary Accept-Encoding like squ](https://www.ruby-forum.com/t/help-about-how-proxy-cache-to-store-differet-cache-file-by-http-header-vary-accept-encoding-like-squ/184511)

<div class="topic-metadata">

**Author:** [@yangchunyu](https://www.ruby-forum.com/u/yangchunyu)\
**Replies:** 5\
**Last updated:** [March 12, 2010, 5:08pm UTC](https://www.ruby-forum.com/t/help-about-how-proxy-cache-to-store-differet-cache-file-by-http-header-vary-accept-encoding-like-squ/184511 "2010-03-12T17:08:21Z")

</div>

We use nginx as reserve proxy server and want use proxy\_cache to replace squid. There are apache servers behind nginx, we use deflate module to compress text/html pages. The problem is if proxy\_cache has cached the c…

---

## [Nginx Issue](https://www.ruby-forum.com/t/nginx-issue/184561)

<div class="topic-metadata">

**Author:** [@gmk.jaga](https://www.ruby-forum.com/u/gmk.jaga)\
**Replies:** 5\
**Last updated:** [March 12, 2010, 1:28pm UTC](https://www.ruby-forum.com/t/nginx-issue/184561 "2010-03-12T13:28:51Z")

</div>

My nginx is taking more memory. kindly advice me soon By Thanks Posted at Nginx Forum:

---

## [Auth request module](https://www.ruby-forum.com/t/auth-request-module/184273)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 6\
**Last updated:** [March 12, 2010, 9:14am UTC](https://www.ruby-forum.com/t/auth-request-module/184273 "2010-03-12T09:14:47Z")

</div>

Hello! Here is auth request module, it allows authorization based on subrequest result. It works at access phase and therefore may be nicely combined with other access modules (access, auth\_basic) via satisfy direct…

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

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