# Server

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

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

---

## [Loading nginx on 64bit os](https://www.ruby-forum.com/t/loading-nginx-on-64bit-os/126490)

<div class="topic-metadata">

**Author:** [@Stefanita\_rares\_D](https://www.ruby-forum.com/u/Stefanita_rares_D)\
**Replies:** 8\
**Last updated:** [January 20, 2008, 10:01pm UTC](https://www.ruby-forum.com/t/loading-nginx-on-64bit-os/126490 "2008-01-20T22:01:47Z")

</div>

hi, i have a problem here. in php, apache i am able to define the libdir for my 64bit centos. nginx doesn’t have this configuration option. it just hit me. i am trying nginx 0.6.25. if anyone got it to work on 64bit…

---

## [Ssl\_verify\_client memory usage](https://www.ruby-forum.com/t/ssl-verify-client-memory-usage/126638)

<div class="topic-metadata">

**Author:** [@corey](https://www.ruby-forum.com/u/corey)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/ssl-verify-client-memory-usage/126638 "2008-01-20T20:38:19Z")

</div>

Hi, We’re using SSL with client side certificates through nginx. When enabling “ssl\_verify\_client”, memory usage increases drammatically (and continues to grow). When “ssl\_verify\_client” is disabled, memory usage sta…

---

## [Escape characters in log files](https://www.ruby-forum.com/t/escape-characters-in-log-files/126042)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 5\
**Last updated:** [January 20, 2008, 1:26pm UTC](https://www.ruby-forum.com/t/escape-characters-in-log-files/126042 "2008-01-20T13:26:45Z")

</div>

nginx does not escape logged variables. This makes it impossible to reliably parse log entries. This is what Apache does: For security reasons, starting with version 2.0.46, non-printable and other special character…

---

## [Patches "repository"](https://www.ruby-forum.com/t/patches-repository/126612)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 1:20pm UTC](https://www.ruby-forum.com/t/patches-repository/126612 "2008-01-20T13:20:17Z")

</div>

I have added a new section in http://wiki.codemongers.com/NginxModules, where to collect patches for Nginx. Let’s use this page to keep patches ordered and well documented (so that they are easy to review). If possib…

---

## [Ngx\_http\_auth\_digest\_user](https://www.ruby-forum.com/t/ngx-http-auth-digest-user/126611)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 1:10pm UTC](https://www.ruby-forum.com/t/ngx-http-auth-digest-user/126611 "2008-01-20T13:10:19Z")

</div>

Hi. Igor, do you plan to add a function for retrieving the username from a HTTP Digest Authorization header? I’m implementing HTTP Digest authentication in a Python module, but I would like to be able to log the remo…

---

## [Add support for real\_ip\_header to use any variable](https://www.ruby-forum.com/t/add-support-for-real-ip-header-to-use-any-variable/126512)

<div class="topic-metadata">

**Author:** [@Joaquin\_Cuenca\_Abel](https://www.ruby-forum.com/u/Joaquin_Cuenca_Abel)\
**Replies:** 0\
**Last updated:** [January 18, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/add-support-for-real-ip-header-to-use-any-variable/126512 "2008-01-18T22:00:09Z")

</div>

Hi, I want to use the realip module, but I have the real IP at a different header (X-User-IP) and I can’t change it. I thus added support to real\_ip\_header to use any variable, instead of just the headers X-Real-IP a…

---

## [Vacation](https://www.ruby-forum.com/t/vacation/125748)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 6\
**Last updated:** [January 18, 2008, 9:03pm UTC](https://www.ruby-forum.com/t/vacation/125748 "2008-01-18T21:03:47Z")

</div>

12.01-19.01 I will be on vacation in Austria.

---

## [Upstream Timed Out Errors](https://www.ruby-forum.com/t/upstream-timed-out-errors/124950)

<div class="topic-metadata">

**Author:** [@tuta](https://www.ruby-forum.com/u/tuta)\
**Replies:** 2\
**Last updated:** [January 18, 2008, 6:29pm UTC](https://www.ruby-forum.com/t/upstream-timed-out-errors/124950 "2008-01-18T18:29:51Z")

</div>

Hello all , Centos 5 64bit with nginx+php-cgi . Worker processes 4,active php-cgi limit 100 and i am getting that error time to time. While err time CPU loads high and http gives 404. I am willing to pay for a good c…

---

## [Use of allow behind a load balancer](https://www.ruby-forum.com/t/use-of-allow-behind-a-load-balancer/126442)

<div class="topic-metadata">

**Author:** [@Joaquin\_Cuenca\_Abel](https://www.ruby-forum.com/u/Joaquin_Cuenca_Abel)\
**Replies:** 2\
**Last updated:** [January 18, 2008, 6:04pm UTC](https://www.ruby-forum.com/t/use-of-allow-behind-a-load-balancer/126442 "2008-01-18T18:04:46Z")

</div>

Hi, I want to restrict access to a particular URL to some IPs, but my nginx is behind a load balancer, and the user IP is stored in a header. Is there any way to make “allow” act on the value of an http header instea…

---

## [Http, https issue](https://www.ruby-forum.com/t/http-https-issue/126389)

<div class="topic-metadata">

**Author:** [@acras](https://www.ruby-forum.com/u/acras)\
**Replies:** 4\
**Last updated:** [January 18, 2008, 11:36am UTC](https://www.ruby-forum.com/t/http-https-issue/126389 "2008-01-18T11:36:36Z")

</div>

Hello, I am setting up my rails app to work with ginx and cluster mongrel. Everything seems to be fine. But sometimes I get an error. Investigating, the error ocurred always when something redirects to a https:// lik…

---

## [Rewrite obfuscated](https://www.ruby-forum.com/t/rewrite-obfuscated/126236)

<div class="topic-metadata">

**Author:** [@matteo-nodari](https://www.ruby-forum.com/u/matteo-nodari)\
**Replies:** 2\
**Last updated:** [January 17, 2008, 4:07pm UTC](https://www.ruby-forum.com/t/rewrite-obfuscated/126236 "2008-01-17T16:07:29Z")

</div>

Hi all, I need help with nginx rewrite. Basically, I need to write a rewrite like this: location /try/ { rewrite ^(.\*)$ http://www.foo.com/index.php=?1 last; } But, if it’s possible, without rewrite the url on brow…

---

## [Does Nginx support cookie which acts as a load balance?](https://www.ruby-forum.com/t/does-nginx-support-cookie-which-acts-as-a-load-balance/124912)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 7\
**Last updated:** [January 17, 2008, 2:40pm UTC](https://www.ruby-forum.com/t/does-nginx-support-cookie-which-acts-as-a-load-balance/124912 "2008-01-17T14:40:28Z")

</div>

Hi All I setup a load balance by using Nginx, there have several Linux boxes running PHP+MySQL as the backend servers, they’re all for Blog service. -------±------±----±----±----±– | | | | | ±-±-+ …

---

## [Mod\_parsed\_vars](https://www.ruby-forum.com/t/mod-parsed-vars/126282)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 0\
**Last updated:** [January 16, 2008, 11:36pm UTC](https://www.ruby-forum.com/t/mod-parsed-vars/126282 "2008-01-16T23:36:22Z")

</div>

Hi. I’m pleased to announce a new module for nginx: mod\_parsed\_vars. The module development has been sponsorized by David Cancel - Lookery.com http://lookery.com/. As usual, the module can be found on my Mercurial re…

---

## [Reading HTTP Request parameters](https://www.ruby-forum.com/t/reading-http-request-parameters/125976)

<div class="topic-metadata">

**Author:** [@abir84](https://www.ruby-forum.com/u/abir84)\
**Replies:** 3\
**Last updated:** [January 15, 2008, 1:56am UTC](https://www.ruby-forum.com/t/reading-http-request-parameters/125976 "2008-01-15T01:56:01Z")

</div>

Hello I’ve a client which send this request to a mongrel HTTPHandler : res=Net::HTTP.post\_form(URI.parse(‘http://localhost:3000/test’),{“a”=\>1,“b”=\>2}) But in the handler I can’t read the parameters one by one, I can …

---

## [Php file with no extension](https://www.ruby-forum.com/t/php-file-with-no-extension/125775)

<div class="topic-metadata">

**Author:** [@Stefanita\_rares\_D](https://www.ruby-forum.com/u/Stefanita_rares_D)\
**Replies:** 13\
**Last updated:** [January 14, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/php-file-with-no-extension/125775 "2008-01-14T18:20:32Z")

</div>

hi, i have ANOTHER issue :slight\_smile: sorry for this. we have a file, called ‘get’ which should be treated as PHP. does anyone know how to make nginx send that specific file or … all requests that go throught that …

---

## [Reverse proxy with lotus webmail](https://www.ruby-forum.com/t/reverse-proxy-with-lotus-webmail/126013)

<div class="topic-metadata">

**Author:** [@testctn](https://www.ruby-forum.com/u/testctn)\
**Replies:** 0\
**Last updated:** [January 14, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/reverse-proxy-with-lotus-webmail/126013 "2008-01-14T18:05:14Z")

</div>

I’am a newbie and I’m trying to configure nginx as a reverse proxy on 443 to 443 port of an internal domino server but It doesn’t work. I can reach the login page and if I use wrong credentials I have an error from do…

---

## [Nginx "rewrite" question](https://www.ruby-forum.com/t/nginx-rewrite-question/125994)

<div class="topic-metadata">

**Author:** [@Alessandro\_De\_Filip](https://www.ruby-forum.com/u/Alessandro_De_Filip)\
**Replies:** 0\
**Last updated:** [January 14, 2008, 3:37pm UTC](https://www.ruby-forum.com/t/nginx-rewrite-question/125994 "2008-01-14T15:37:54Z")

</div>

I need a “special” configuration for nginx. I have a VHOST (ie.:test.pippo.net) with its document root. For better google indicization I need to forward and masquerade (better with rewrite rule) all http request for t…

---

## [KeepAlive on Apache backend](https://www.ruby-forum.com/t/keepalive-on-apache-backend/125922)

<div class="topic-metadata">

**Author:** [@Martin\_Minka](https://www.ruby-forum.com/u/Martin_Minka)\
**Replies:** 1\
**Last updated:** [January 14, 2008, 5:43am UTC](https://www.ruby-forum.com/t/keepalive-on-apache-backend/125922 "2008-01-14T05:43:23Z")

</div>

Hello, is it adviced to use “KeepAlive off” on Apache backend servers ? Sincerely, Martin Minka

---

## [Mongrel + apache 2.2 + proxy error](https://www.ruby-forum.com/t/mongrel-apache-2-2-proxy-error/118916)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 6\
**Last updated:** [January 14, 2008, 4:34am UTC](https://www.ruby-forum.com/t/mongrel-apache-2-2-proxy-error/118916 "2008-01-14T04:34:25Z")

</div>

Hi, I have a setup with apache 2.2.6 proxying requests to a cluster of 5 mongrels. Occassionally, I receive the following error in the logs: \[Tue Oct 30 12:00:28 2007\] \[error\] (70007)The timeout specified has expire…

---

## [NginxHttpMainModule](https://www.ruby-forum.com/t/nginxhttpmainmodule/125756)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 5\
**Last updated:** [January 13, 2008, 10:31pm UTC](https://www.ruby-forum.com/t/nginxhttpmainmodule/125756 "2008-01-13T22:31:34Z")

</div>

Hi. I just realized that there is an error in the name of the main module. It should not be NginxHttpMainModule, but NginxMainModule, since it is the “real” main module (http is just a module). I have not modified th…

---

## [Mongrel doesn't start under Rails 2.0.2/Win XP](https://www.ruby-forum.com/t/mongrel-doesnt-start-under-rails-2-0-2-win-xp/125696)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 26\
**Last updated:** [January 12, 2008, 9:38pm UTC](https://www.ruby-forum.com/t/mongrel-doesnt-start-under-rails-2-0-2-win-xp/125696 "2008-01-12T21:38:03Z")

</div>

All, Mongrel 1.1.3 Rails 2.0.2 Ruby 1.8.6 Windows XP SP2 When I issue the command “ruby script/server” from any of my Rails projects on v. 2.0.2, I get a Windows dialog with the error: “The application has failed …

---

## [WordpresssMU and NginX](https://www.ruby-forum.com/t/wordpresssmu-and-nginx/125809)

<div class="topic-metadata">

**Author:** [@dika](https://www.ruby-forum.com/u/dika)\
**Replies:** 1\
**Last updated:** [January 12, 2008, 7:31am UTC](https://www.ruby-forum.com/t/wordpresssmu-and-nginx/125809 "2008-01-12T07:31:12Z")

</div>

Dear all, I’ve installed WP-MU on my NginX machine, and I got an error log like this: 2008/01/12 13:03:00 \[crit\] 6082#0: \*61 stat() “/home/dika/wp/wp-content/themes/home/images/kubrickbgwide.jpg” failed (13: Permiss…

---

## [Proxy dynamic requests to apache](https://www.ruby-forum.com/t/proxy-dynamic-requests-to-apache/125734)

<div class="topic-metadata">

**Author:** [@Stefanita\_rares\_D](https://www.ruby-forum.com/u/Stefanita_rares_D)\
**Replies:** 5\
**Last updated:** [January 11, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/proxy-dynamic-requests-to-apache/125734 "2008-01-11T22:11:45Z")

</div>

hi guys, this is my server config, that should pass dynamic requests, eg: php pages, to apache listening to localhost. i know i did it good and working in the past, but now i am missing something and i don’t know wha…

---

## [Nginx proxy\_pass problem](https://www.ruby-forum.com/t/nginx-proxy-pass-problem/125755)

<div class="topic-metadata">

**Author:** [@Alessandro\_De\_Filip](https://www.ruby-forum.com/u/Alessandro_De_Filip)\
**Replies:** 1\
**Last updated:** [January 11, 2008, 7:34pm UTC](https://www.ruby-forum.com/t/nginx-proxy-pass-problem/125755 "2008-01-11T19:34:12Z")

</div>

I need a “special” configuration for nginx. I have a VHOST (ie.:test.pippo.net) with its document root. For better google indicization I need to forward and masquerade (with proxy\_pass?) all http request for test.pipp…

---

## [More permissive ngx\_http\_variables\_init\_vars](https://www.ruby-forum.com/t/more-permissive-ngx-http-variables-init-vars/125737)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 0\
**Last updated:** [January 11, 2008, 4:21pm UTC](https://www.ruby-forum.com/t/more-permissive-ngx-http-variables-init-vars/125737 "2008-01-11T16:21:40Z")

</div>

Hi. I have written a module that make available some “undeclared” variables, using the same method used for http\_, sent\_http\_ and upstream\_http\_ variables. These variables have prefix cookie\_ and args\_. As an exampl…

---

## [Nginx mod\_wsgi production config](https://www.ruby-forum.com/t/nginx-mod-wsgi-production-config/125704)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [January 11, 2008, 11:50am UTC](https://www.ruby-forum.com/t/nginx-mod-wsgi-production-config/125704 "2008-01-11T11:50:35Z")

</div>

http://hg.mperillo.ath.cx/nginx/mod\_wsgi/file/tip/README Hey guys we are using nginx + fastcgi with webpy with reasonable success but as of late we are see load issues and was hoping mod\_wsgi will be faster anythoug…

---

## [Evented mongrel question - maybe for Kirk](https://www.ruby-forum.com/t/evented-mongrel-question-maybe-for-kirk/125637)

<div class="topic-metadata">

**Author:** [@Eire\_A](https://www.ruby-forum.com/u/Eire_A)\
**Replies:** 0\
**Last updated:** [January 10, 2008, 9:19pm UTC](https://www.ruby-forum.com/t/evented-mongrel-question-maybe-for-kirk/125637 "2008-01-10T21:19:36Z")

</div>

hi i am setting up evented mongrels on one of my servers and i am running into a little confusion. i understand that there is a few diff ways to set this up. one being using the swiftiply gem, setting the env variab…

---

## [Integration of Mongrel with RHEL, Fedora and derivatives](https://www.ruby-forum.com/t/integration-of-mongrel-with-rhel-fedora-and-derivatives/123745)

<div class="topic-metadata">

**Author:** [@pcapriotti](https://www.ruby-forum.com/u/pcapriotti)\
**Replies:** 1\
**Last updated:** [January 10, 2008, 1:08am UTC](https://www.ruby-forum.com/t/integration-of-mongrel-with-rhel-fedora-and-derivatives/123745 "2008-01-10T01:08:48Z")

</div>

Hi gurus, here at Scuola IaD we have some Rails applications in production, I’m the sysadmin so I made a script for governing mongrel instances via the service command and integrating their management in a RHEL envir…

---

## [Nginx virtualhosts](https://www.ruby-forum.com/t/nginx-virtualhosts/125366)

<div class="topic-metadata">

**Author:** [@Stefanita\_rares\_D](https://www.ruby-forum.com/u/Stefanita_rares_D)\
**Replies:** 16\
**Last updated:** [January 10, 2008, 12:18am UTC](https://www.ruby-forum.com/t/nginx-virtualhosts/125366 "2008-01-10T00:18:41Z")

</div>

hi guys, i am having some issues with virtualhosting in nginx: the config below: i want to make both host1.com and host2.com work, and serve static content directly. http { include mime.types; default\_type a…

---

## [Deployment survey](https://www.ruby-forum.com/t/deployment-survey/124921)

<div class="topic-metadata">

**Author:** [@evan](https://www.ruby-forum.com/u/evan)\
**Replies:** 23\
**Last updated:** [January 10, 2008, 12:06am UTC](https://www.ruby-forum.com/t/deployment-survey/124921 "2008-01-10T00:06:48Z")

</div>

Hello Mongrels, Building on the last messages about Fastthread, can we get a detailed survey of the different ways people are deploying their applications? It will help with near-future Mongrel development. Please in…

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

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