# Server

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

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

---

## [Php-fpm patch](https://www.ruby-forum.com/t/php-fpm-patch/155460)

<div class="topic-metadata">

**Author:** [@Francisco\_Valladoli](https://www.ruby-forum.com/u/Francisco_Valladoli)\
**Replies:** 1\
**Last updated:** [December 12, 2008, 2:37am UTC](https://www.ruby-forum.com/t/php-fpm-patch/155460 "2008-12-12T02:37:28Z")

</div>

Hi, The current patch apply only to the 5.2.6 version, my current version of php is the 5.2.8, existe one new ? Regards.

---

## [Nginx proxy zope/webdav, canÂ´t see files](https://www.ruby-forum.com/t/nginx-proxy-zope-webdav-cana-t-see-files/155278)

<div class="topic-metadata">

**Author:** [@mictlan\_tecutli](https://www.ruby-forum.com/u/mictlan_tecutli)\
**Replies:** 7\
**Last updated:** [December 11, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/nginx-proxy-zope-webdav-cana-t-see-files/155278 "2008-12-11T21:13:12Z")

</div>

hi, iÂ´m trying to use nginx to proxy to the zope webdav interface. iÂ´m using davfs2 for webdav client. and it works well when i connect directly to the zope/webdav server. but when i proxy using nginx something stra…

---

## [Logging forum user names/id](https://www.ruby-forum.com/t/logging-forum-user-names-id/155365)

<div class="topic-metadata">

**Author:** [@KT\_Walrus](https://www.ruby-forum.com/u/KT_Walrus)\
**Replies:** 4\
**Last updated:** [December 11, 2008, 8:24am UTC](https://www.ruby-forum.com/t/logging-forum-user-names-id/155365 "2008-12-11T08:24:03Z")

</div>

I’m hosting a forum. I’d like to log the forum user name/id into nginx access\_log. What is the best way to do this? Should I have forum php code set a header with this user name/id and somehow get this into an nginx…

---

## [Need help with rewrite](https://www.ruby-forum.com/t/need-help-with-rewrite/155371)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 3\
**Last updated:** [December 11, 2008, 8:17am UTC](https://www.ruby-forum.com/t/need-help-with-rewrite/155371 "2008-12-11T08:17:37Z")

</div>

Hi Can someone help me in translating this rewrite into nginx? RewriteCond %{REQUEST\_URI} ^(/component/option,com) \[NC,OR\] ##optional - see notes## RewriteCond %{REQUEST\_URI} (/|\\.htm|\\.php|\\.html|/\[^.\]\*)$ \[NC\] Rew…

---

## [Nginx.conf ok - but want to redirect numeric IP to sitename](https://www.ruby-forum.com/t/nginx-conf-ok-but-want-to-redirect-numeric-ip-to-sitename/155287)

<div class="topic-metadata">

**Author:** [@stefans](https://www.ruby-forum.com/u/stefans)\
**Replies:** 3\
**Last updated:** [December 10, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/nginx-conf-ok-but-want-to-redirect-numeric-ip-to-sitename/155287 "2008-12-10T20:27:50Z")

</div>

Hi - I installed nginx + PHP-FPM, and set up multiple Drupal sites using the “more secure” directory layout following the instructions from Justin Hileman: http://justinhileman.info/blog/2007/06/a-more-secure-drupal-…

---

## [Feature Request: Supporting variables in fastcgi\_pass](https://www.ruby-forum.com/t/feature-request-supporting-variables-in-fastcgi-pass/155133)

<div class="topic-metadata">

**Author:** [@Samuel\_Vogel](https://www.ruby-forum.com/u/Samuel_Vogel)\
**Replies:** 3\
**Last updated:** [December 10, 2008, 7:54pm UTC](https://www.ruby-forum.com/t/feature-request-supporting-variables-in-fastcgi-pass/155133 "2008-12-10T19:54:59Z")

</div>

Hey guys, About two months ago I tried to use variables in the fastcgi\_pass directive. This didn’t work and Igor pointed out that it is not supported yet, but will be in the future. I really would like to know how t…

---

## [Want to run 3 sites, but only 1 will run](https://www.ruby-forum.com/t/want-to-run-3-sites-but-only-1-will-run/155319)

<div class="topic-metadata">

**Author:** [@reddvinylene](https://www.ruby-forum.com/u/reddvinylene)\
**Replies:** 0\
**Last updated:** [December 10, 2008, 3:50pm UTC](https://www.ruby-forum.com/t/want-to-run-3-sites-but-only-1-will-run/155319 "2008-12-10T15:50:55Z")

</div>

Hey y’all, I’m trying to run 3 sites (or virtual hosts) here, but only one of them will run. Out of site 1, site 2 and site 3 in http://pastie.org/335739 only site 3 seems to make it. When I try to visit site 1 and si…

---

## [Want to run 3 sites, but only 1 will run](https://www.ruby-forum.com/t/want-to-run-3-sites-but-only-1-will-run/155315)

<div class="topic-metadata">

**Author:** [@reddvinylene](https://www.ruby-forum.com/u/reddvinylene)\
**Replies:** 0\
**Last updated:** [December 10, 2008, 3:33pm UTC](https://www.ruby-forum.com/t/want-to-run-3-sites-but-only-1-will-run/155315 "2008-12-10T15:33:50Z")

</div>

Hey y’all, I’m trying to run 3 sites (or virtual hosts) here, but only one of them will run. Out of site1.ru, site2.ru and site3.ru in http://pastie.org/335739 only site3.ru seems to make it. When I try to visit site1…

---

## [Nginx for other protocol load balancer](https://www.ruby-forum.com/t/nginx-for-other-protocol-load-balancer/155296)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 1\
**Last updated:** [December 10, 2008, 11:51am UTC](https://www.ruby-forum.com/t/nginx-for-other-protocol-load-balancer/155296 "2008-12-10T11:51:39Z")

</div>

Hi there, Is nginx will develop to work as other protocol load balancer, such as rtmp, rtsp etc?

---

## [What gzip\_types are recommended?](https://www.ruby-forum.com/t/what-gzip-types-are-recommended/155262)

<div class="topic-metadata">

**Author:** [@KT\_Walrus](https://www.ruby-forum.com/u/KT_Walrus)\
**Replies:** 6\
**Last updated:** [December 10, 2008, 8:19am UTC](https://www.ruby-forum.com/t/what-gzip-types-are-recommended/155262 "2008-12-10T08:19:07Z")

</div>

What gzip\_types are safe to compress with most browsers? Can javascript and css be safely compressed? http://wiki.codemongers.com/NginxHttpGzipModule#gzip\_types Might be nice to update the link above with the answer…

---

## [Re: virtual include authorization using proxy\_pass and X-Accel-Redirect](https://www.ruby-forum.com/t/re-virtual-include-authorization-using-proxy-pass-and-x-accel-redirect/155250)

<div class="topic-metadata">

**Author:** [@Hannes\_Haug](https://www.ruby-forum.com/u/Hannes_Haug)\
**Replies:** 0\
**Last updated:** [December 9, 2008, 9:07pm UTC](https://www.ruby-forum.com/t/re-virtual-include-authorization-using-proxy-pass-and-x-accel-redirect/155250 "2008-12-09T21:07:56Z")

</div>

On Mon, Dec 08, 2008 at 11:03:14AM +0100, Igor S. wrote: You should use some other prefix in virtual include to pass it to the application\_server:port as “/internal/…” goes directly to location /internal/. That’s e…

---

## [The best way to setup php apps](https://www.ruby-forum.com/t/the-best-way-to-setup-php-apps/155228)

<div class="topic-metadata">

**Author:** [@Francisco\_Valladoli](https://www.ruby-forum.com/u/Francisco_Valladoli)\
**Replies:** 1\
**Last updated:** [December 9, 2008, 8:56pm UTC](https://www.ruby-forum.com/t/the-best-way-to-setup-php-apps/155228 "2008-12-09T20:56:13Z")

</div>

Hi folks. I want to know which are the best way to configure PHP apps, I´m using php-fastcgi, and spawn-fcgi (from lighttpd), in the last dates, I hear about the php-fm, but how can setup it.? Which are the primary a…

---

## [Virtual include authorization using proxy\_pass and X-Accel-Redirect](https://www.ruby-forum.com/t/virtual-include-authorization-using-proxy-pass-and-x-accel-redirect/155160)

<div class="topic-metadata">

**Author:** [@Hannes\_Haug](https://www.ruby-forum.com/u/Hannes_Haug)\
**Replies:** 1\
**Last updated:** [December 9, 2008, 12:17pm UTC](https://www.ruby-forum.com/t/virtual-include-authorization-using-proxy-pass-and-x-accel-redirect/155160 "2008-12-09T12:17:23Z")

</div>

Hi all I’d like to implement authorization using proxy\_pass and X-Accel-Redirect like # Pass all requests to the application server. # This performs access control and returns either # X-Accel-Redirect: /internal/... …

---

## [Increasing timeouts causes browser to endlessly wait for a response](https://www.ruby-forum.com/t/increasing-timeouts-causes-browser-to-endlessly-wait-for-a-response/155181)

<div class="topic-metadata">

**Author:** [@Cocoa\_G](https://www.ruby-forum.com/u/Cocoa_G)\
**Replies:** 1\
**Last updated:** [December 9, 2008, 2:34am UTC](https://www.ruby-forum.com/t/increasing-timeouts-causes-browser-to-endlessly-wait-for-a-response/155181 "2008-12-09T02:34:44Z")

</div>

Hi, I’m running nginx 0.7.24 along with Mongrel. On an admin, non public facing site, I have tasks that involve lots of computation and can take up to 15-30 minutes to run. I’ve configured nginx to wait a long while …

---

## [Nginx-0.7.26](https://www.ruby-forum.com/t/nginx-0-7-26/155154)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 1\
**Last updated:** [December 8, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/nginx-0-7-26/155154 "2008-12-08T20:27:17Z")

</div>

Changes with nginx 0.7.26 08 Dec 2008 \*) Bugfix: in subrequest processing; the bug had appeared in 0.7.25.

---

## [How can I stop nginx from modifying an upstream URL?](https://www.ruby-forum.com/t/how-can-i-stop-nginx-from-modifying-an-upstream-url/155148)

<div class="topic-metadata">

**Author:** [@WSandrew\_L](https://www.ruby-forum.com/u/WSandrew_L)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/how-can-i-stop-nginx-from-modifying-an-upstream-url/155148 "2008-12-08T18:49:31Z")

</div>

I’m having trouble convincing nginx to stop manipulating my already url encoded path. I want to X-Accel-Redirect to a path that is encoded, and its re-encoding the existing characters. Nginx encodes the % signs in the…

---

## [Nginx-0.7.25](https://www.ruby-forum.com/t/nginx-0-7-25/155135)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 1\
**Last updated:** [December 8, 2008, 5:06pm UTC](https://www.ruby-forum.com/t/nginx-0-7-25/155135 "2008-12-08T17:06:10Z")

</div>

Changes with nginx 0.7.25 08 Dec 2008 \*) Change: in subrequest processing. \*) Change: now POSTs without "Content-Length" header line are allowed. \*) Bugfix: now the "limit\_req…

---

## [Nginx to serve static content in cpanel server](https://www.ruby-forum.com/t/nginx-to-serve-static-content-in-cpanel-server/155063)

<div class="topic-metadata">

**Author:** [@Anoop\_A](https://www.ruby-forum.com/u/Anoop_A)\
**Replies:** 0\
**Last updated:** [December 7, 2008, 8:24am UTC](https://www.ruby-forum.com/t/nginx-to-serve-static-content-in-cpanel-server/155063 "2008-12-07T08:24:57Z")

</div>

Hello, I have a cpanel server and wish to serve static content using nginx configured as proxy Now to be compatible with cpanel traffic accounting i need nginx to write to the cpanel byteslog in the following format…

---

## [Constness of key in ngx\_hash\_find\_](https://www.ruby-forum.com/t/constness-of-key-in-ngx-hash-find/151247)

<div class="topic-metadata">

**Author:** [@Arvind\_Jayaprakash](https://www.ruby-forum.com/u/Arvind_Jayaprakash)\
**Replies:** 4\
**Last updated:** [December 7, 2008, 7:15am UTC](https://www.ruby-forum.com/t/constness-of-key-in-ngx-hash-find/151247 "2008-12-07T07:15:24Z")

</div>

I was wondering if the “name” argument and also “hash” in the following functions should be const void \*ngx\_hash\_find(ngx\_hash\_t \*hash, ngx\_uint\_t key, u\_char \*name, size\_t len); void \*ngx\_hash\_find\_wc\_head(ngx\_hash\_…

---

## [Log config - can I ignore requests from a certain IP?](https://www.ruby-forum.com/t/log-config-can-i-ignore-requests-from-a-certain-ip/154666)

<div class="topic-metadata">

**Author:** [@yannimac](https://www.ruby-forum.com/u/yannimac)\
**Replies:** 2\
**Last updated:** [December 6, 2008, 3:24pm UTC](https://www.ruby-forum.com/t/log-config-can-i-ignore-requests-from-a-certain-ip/154666 "2008-12-06T15:24:38Z")

</div>

I have a load balancer in front of nginx that performs health checks every 2 seconds by requesting a html file from nginx. This is filling up my access log. Can nginx be configured so that it does not log requests…

---

## [Nginx with phpmyadmin 3.1.0](https://www.ruby-forum.com/t/nginx-with-phpmyadmin-3-1-0/154987)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 4\
**Last updated:** [December 6, 2008, 12:32am UTC](https://www.ruby-forum.com/t/nginx-with-phpmyadmin-3-1-0/154987 "2008-12-06T00:32:23Z")

</div>

Hello, I just install the new phpmyadmin and Im using nginx 0.6.32 with php-fpm. Everything works fine, when I login, but I noticed that for some reason this happens to the URL: mysql.example.org./index.php?token=ead4…

---

## [Reminder: Nginx 0.7.24 for Windows](https://www.ruby-forum.com/t/reminder-nginx-0-7-24-for-windows/154981)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [December 5, 2008, 9:05pm UTC](https://www.ruby-forum.com/t/reminder-nginx-0-7-24-for-windows/154981 "2008-12-05T21:05:01Z")

</div>

Hello all, In case you missed the announcement, I released my windows port of Nginx 0.7.24 earlier this week. Check it out here: http://cli.gs/n4w0724p Feel free to leave feedback there too. Thanks, Kevin

---

## [Nginx verify backend](https://www.ruby-forum.com/t/nginx-verify-backend/154961)

<div class="topic-metadata">

**Author:** [@AndrSSSS\_Cruz](https://www.ruby-forum.com/u/AndrSSSS_Cruz)\
**Replies:** 0\
**Last updated:** [December 5, 2008, 5:05pm UTC](https://www.ruby-forum.com/t/nginx-verify-backend/154961 "2008-12-05T17:05:51Z")

</div>

Hello. Perlbal has a nice feature called verify\_backend that what it does is send an OPTIONS request each time a new connection to a backend is made to ensure that it has the backend’s atention. With persistent backe…

---

## [Nginx module to use PAM for simple http authentication](https://www.ruby-forum.com/t/nginx-module-to-use-pam-for-simple-http-authentication/148835)

<div class="topic-metadata">

**Author:** [@Sergio\_Talens-Oliag](https://www.ruby-forum.com/u/Sergio_Talens-Oliag)\
**Replies:** 7\
**Last updated:** [December 5, 2008, 3:19pm UTC](https://www.ruby-forum.com/t/nginx-module-to-use-pam-for-simple-http-authentication/148835 "2008-12-05T15:19:54Z")

</div>

Hello everybody, I just wrote my first nginx module and thought it was not a bad idea to share it with the people on this list. The module is used to do HTTP Basic Authentication agains PAM instead of using an htpa…

---

## [Nginx + haproxy + mongrel - issue persists](https://www.ruby-forum.com/t/nginx-haproxy-mongrel-issue-persists/154817)

<div class="topic-metadata">

**Author:** [@Asif\_A](https://www.ruby-forum.com/u/Asif_A)\
**Replies:** 2\
**Last updated:** [December 4, 2008, 6:32pm UTC](https://www.ruby-forum.com/t/nginx-haproxy-mongrel-issue-persists/154817 "2008-12-04T18:32:15Z")

</div>

We have configured nginx + haproxy + mongrels \[ more than 150 instances\]. While it works perfectly fine for small configuration, a larger set of mongrels - fail completely. I have attached the configuration file for…

---

## [Problem on installing ngnix](https://www.ruby-forum.com/t/problem-on-installing-ngnix/154525)

<div class="topic-metadata">

**Author:** [@Stephen\_Liu](https://www.ruby-forum.com/u/Stephen_Liu)\
**Replies:** 4\
**Last updated:** [December 4, 2008, 8:01am UTC](https://www.ruby-forum.com/t/problem-on-installing-ngnix/154525 "2008-12-04T08:01:25Z")

</div>

Hi folks, OS - Debina Etch Problem on installing nginx apt-get install nginx … Errors were encountered while processing: nginx E: Sub-process /usr/bin/dpkg returned an error code (1) Fail. But I can’t uninstall …

---

## [How to make two sequential requests](https://www.ruby-forum.com/t/how-to-make-two-sequential-requests/154734)

<div class="topic-metadata">

**Author:** [@ycheng](https://www.ruby-forum.com/u/ycheng)\
**Replies:** 1\
**Last updated:** [December 4, 2008, 12:37am UTC](https://www.ruby-forum.com/t/how-to-make-two-sequential-requests/154734 "2008-12-04T00:37:12Z")

</div>

Hi all, when a client request arrives I have to do two requests to two different real servers(A, B) in order. The second request, which is to B, is created based on A’s response on the fly. Any ideas? Thanks very m…

---

## [Question about variables](https://www.ruby-forum.com/t/question-about-variables/154791)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 1\
**Last updated:** [December 3, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/question-about-variables/154791 "2008-12-03T23:54:29Z")

</div>

I’m going to try this myself - but I’m not sure it can be done. Our website is structured as /en-us/stuff /ru-ru/stuff etc. However, the underlying filesystem does not have these virtual locale paths. It basically …

---

## [Ngx\_http\_accesskey\_module error](https://www.ruby-forum.com/t/ngx-http-accesskey-module-error/150986)

<div class="topic-metadata">

**Author:** [@lhmwzy](https://www.ruby-forum.com/u/lhmwzy)\
**Replies:** 7\
**Last updated:** [December 3, 2008, 9:17pm UTC](https://www.ruby-forum.com/t/ngx-http-accesskey-module-error/150986 "2008-12-03T21:17:09Z")

</div>

I follow http://wiki.codemongers.com/NginxHttpAccessKeyModule#accesskey to install the ngx\_http\_accesskey\_module,but get an error: 2008/10/15 22:48:56 \[emerg\] 31870#0: unknown directive “accesskey” in /usr/local/nginx…

---

## [Cycling through only one worker](https://www.ruby-forum.com/t/cycling-through-only-one-worker/154741)

<div class="topic-metadata">

**Author:** [@Ulrik\_Sandberg](https://www.ruby-forum.com/u/Ulrik_Sandberg)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 1:49pm UTC](https://www.ruby-forum.com/t/cycling-through-only-one-worker/154741 "2008-12-03T13:49:13Z")

</div>

I had an interesting experience just now. Setup: nginx proxies a portal server, which uses an underlying app server to render some contents. Problem: When displaying a portal page containing content from an app serv…

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

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