# Server

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

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

---

## [ANNC: qrp - queueing reverse proxy](https://www.ruby-forum.com/t/annc-qrp-queueing-reverse-proxy/130016)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 6\
**Last updated:** [February 25, 2008, 5:53pm UTC](https://www.ruby-forum.com/t/annc-qrp-queueing-reverse-proxy/130016 "2008-02-25T17:53:13Z")

</div>

Hi, I’ve started a new project that uses Mongrel. It basically lets you defer requests to it until other Mongrels in your (Rails) pool becomes free. Rubyforge project page: http://rubyforge.org/projects/qrp/ gems, …

---

## [Post\_to\_static](https://www.ruby-forum.com/t/post-to-static/129880)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 6\
**Last updated:** [February 25, 2008, 3:01am UTC](https://www.ruby-forum.com/t/post-to-static/129880 "2008-02-25T03:01:22Z")

</div>

I’m going to commit capability to POST to static files, however, I’m not sure about directive name: post\_to\_static on|off static\_post on|off Are other variants ?

---

## [Mongrel\_rails not starting](https://www.ruby-forum.com/t/mongrel-rails-not-starting/127363)

<div class="topic-metadata">

**Author:** [@daffodil](https://www.ruby-forum.com/u/daffodil)\
**Replies:** 8\
**Last updated:** [February 24, 2008, 7:51pm UTC](https://www.ruby-forum.com/t/mongrel-rails-not-starting/127363 "2008-02-24T19:51:12Z")

</div>

Hi, Im a newbie to ruby and rails. I installed mongrel using the command: sudo gem install mongrel --include-dependencies When i try to start mongrel with mongrel\_rails start -d, its throwing the same error as it did…

---

## [Memcached module opens one connection per request](https://www.ruby-forum.com/t/memcached-module-opens-one-connection-per-request/129995)

<div class="topic-metadata">

**Author:** [@Joshua\_Sierles](https://www.ruby-forum.com/u/Joshua_Sierles)\
**Replies:** 1\
**Last updated:** [February 24, 2008, 8:53am UTC](https://www.ruby-forum.com/t/memcached-module-opens-one-connection-per-request/129995 "2008-02-24T08:53:33Z")

</div>

While testing out the nginx memcached module, I noticed that it opens a new connection to memcached for each request. Is there a way to make nginx reuse a single connection? This makes load testing complicated since t…

---

## [FastCGI and load-balancing](https://www.ruby-forum.com/t/fastcgi-and-load-balancing/129991)

<div class="topic-metadata">

**Author:** [@Yordan\_G](https://www.ruby-forum.com/u/Yordan_G)\
**Replies:** 1\
**Last updated:** [February 23, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/fastcgi-and-load-balancing/129991 "2008-02-23T22:43:41Z")

</div>

Hello every one, I wish use remote “fastcgi\_pass” But my result is: The page you are looking for is temporarily unavailable. Please try again later. My spawn-fcgi server work: s1 ~ # pstree -u init-±6\*\[agetty\] |-…

---

## [Trac is up](https://www.ruby-forum.com/t/trac-is-up/129854)

<div class="topic-metadata">

**Author:** [@evan](https://www.ruby-forum.com/u/evan)\
**Replies:** 1\
**Last updated:** [February 23, 2008, 5:57am UTC](https://www.ruby-forum.com/t/trac-is-up/129854 "2008-02-23T05:57:45Z")

</div>

Hello Mongrels, The official Mongrel website has finally been moved to Trac, as was discussed long ago on the list. http://mongrel.rubyforge.org The big benefits of this are a wiki, so that you guys can help keep th…

---

## [Directory based virtual host proxy](https://www.ruby-forum.com/t/directory-based-virtual-host-proxy/129874)

<div class="topic-metadata">

**Author:** [@bhoult](https://www.ruby-forum.com/u/bhoult)\
**Replies:** 2\
**Last updated:** [February 22, 2008, 10:16pm UTC](https://www.ruby-forum.com/t/directory-based-virtual-host-proxy/129874 "2008-02-22T22:16:55Z")

</div>

I would like to have several rails applications behind the same domain name. For example: my.domain.com/application\_1 my.domain.com/application\_2 my.domain.com/application\_3 These then need to be directed to the ap…

---

## [Configuring nginx for different rails apps under same domain](https://www.ruby-forum.com/t/configuring-nginx-for-different-rails-apps-under-same-domain/120861)

<div class="topic-metadata">

**Author:** [@archana](https://www.ruby-forum.com/u/archana)\
**Replies:** 7\
**Last updated:** [February 22, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/configuring-nginx-for-different-rails-apps-under-same-domain/120861 "2008-02-22T21:45:23Z")

</div>

i want to know how to configure nginx for different rails app under the same domain. for example: 1)Rails application 1 http://mydomain.com/app1 2)Rails application 2 http://mydomain.com/app2 Below is my enginx con…

---

## [How to transfer a normal HTTP request to HTTPS?](https://www.ruby-forum.com/t/how-to-transfer-a-normal-http-request-to-https/129891)

<div class="topic-metadata">

**Author:** [@tuta](https://www.ruby-forum.com/u/tuta)\
**Replies:** 4\
**Last updated:** [February 22, 2008, 4:00pm UTC](https://www.ruby-forum.com/t/how-to-transfer-a-normal-http-request-to-https/129891 "2008-02-22T16:00:17Z")

</div>

Hello all, I am using nginx/0.5.35 + FastCGI. I need to transfer a normal http request to ssl mode. For example; I own a bittorrent tracker and i need to work with ssl on announces. So then if someone trying to send …

---

## [Mongrel web site down?](https://www.ruby-forum.com/t/mongrel-web-site-down/129852)

<div class="topic-metadata">

**Author:** [@Charles\_McKnight](https://www.ruby-forum.com/u/Charles_McKnight)\
**Replies:** 2\
**Last updated:** [February 22, 2008, 2:20am UTC](https://www.ruby-forum.com/t/mongrel-web-site-down/129852 "2008-02-22T02:20:56Z")

</div>

Hi All, Is the web site down for a particular reason? :slight\_smile: Regards, Charles McKnight

---

## [Weird redirect](https://www.ruby-forum.com/t/weird-redirect/129813)

<div class="topic-metadata">

**Author:** [@Almir\_K](https://www.ruby-forum.com/u/Almir_K)\
**Replies:** 6\
**Last updated:** [February 21, 2008, 8:31pm UTC](https://www.ruby-forum.com/t/weird-redirect/129813 "2008-02-21T20:31:21Z")

</div>

location /~redduck666 { alias /home/redduck666/static\_html; } this is what i have, and it works as expected. than i add: location ~ .ogg$ { access\_log /var/log/nginx/ogg.log; } now, when…

---

## [400 errors caused by loadbalancer](https://www.ruby-forum.com/t/400-errors-caused-by-loadbalancer/127293)

<div class="topic-metadata">

**Author:** [@Jodok\_B](https://www.ruby-forum.com/u/Jodok_B)\
**Replies:** 2\
**Last updated:** [February 21, 2008, 7:17pm UTC](https://www.ruby-forum.com/t/400-errors-caused-by-loadbalancer/127293 "2008-02-21T19:17:40Z")

</div>

hi, my loadbalancer (big-ip) causes 400 errors in the logfile. if found http://wiki.codemongers.com/HWLoadbalancerCheckErrors but it doesn’t work for me. any idea? thanks jodok here is my config: http { … geo $l…

---

## [Errors are not getting loged](https://www.ruby-forum.com/t/errors-are-not-getting-loged/129808)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 21, 2008, 6:37pm UTC](https://www.ruby-forum.com/t/errors-are-not-getting-loged/129808 "2008-02-21T18:37:50Z")

</div>

this is my virtual server configuration. the access log is working, but the error log is empty and errors are not getting logged how to fix this? thanks server { server\_name XX.YY.com; listen 8070; acces…

---

## [User with ssl-proxy, nginx problem](https://www.ruby-forum.com/t/user-with-ssl-proxy-nginx-problem/129744)

<div class="topic-metadata">

**Author:** [@GSSSSbor\_Farkas](https://www.ruby-forum.com/u/GSSSSbor_Farkas)\
**Replies:** 4\
**Last updated:** [February 21, 2008, 3:23pm UTC](https://www.ruby-forum.com/t/user-with-ssl-proxy-nginx-problem/129744 "2008-02-21T15:23:22Z")

</div>

hi, i’m facing a strange problem here, maybe someone had experience with this before… i have an nginx server, which server some files using HTTPS, and http-basic-auth. because nginx had ssl-problems in the past, in …

---

## [Error\_page on 0.5.35](https://www.ruby-forum.com/t/error-page-on-0-5-35/129753)

<div class="topic-metadata">

**Author:** [@jamiequint](https://www.ruby-forum.com/u/jamiequint)\
**Replies:** 6\
**Last updated:** [February 21, 2008, 11:25am UTC](https://www.ruby-forum.com/t/error-page-on-0-5-35/129753 "2008-02-21T11:25:01Z")

</div>

I have this under http in my nginx.conf file: error\_page 404 /var/www/apps/myapp/templates/404.html; error\_page 502 503 504 /var/www/apps/myapp/templates/500.html; I can access these at myapp.com/500.htm…

---

## [Help with location](https://www.ruby-forum.com/t/help-with-location/129614)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [February 21, 2008, 7:15am UTC](https://www.ruby-forum.com/t/help-with-location/129614 "2008-02-21T07:15:55Z")

</div>

i want /userupload /userwebupload /uploadvideo etc, any url with ‘upload’ in it to get served by a specific backend, i can use fastcgi\_pass for the backend part… how do i specify location for this ? something lik…

---

## [Certificate issue on two IP-addresses with same port](https://www.ruby-forum.com/t/certificate-issue-on-two-ip-addresses-with-same-port/129646)

<div class="topic-metadata">

**Author:** [@Martin\_SchSSSSttler](https://www.ruby-forum.com/u/Martin_SchSSSSttler)\
**Replies:** 2\
**Last updated:** [February 21, 2008, 6:27am UTC](https://www.ruby-forum.com/t/certificate-issue-on-two-ip-addresses-with-same-port/129646 "2008-02-21T06:27:50Z")

</div>

I need to run two web applications (Ruby on Rails) on one server over SSL. Both applications shall run on port 443 (other wise we get firewall problems). What I did: I got two IP-addresses (85.214.47.37, 85.214.56.1…

---

## [Multiple vhosts with wildcards?](https://www.ruby-forum.com/t/multiple-vhosts-with-wildcards/129645)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 3\
**Last updated:** [February 20, 2008, 2:52pm UTC](https://www.ruby-forum.com/t/multiple-vhosts-with-wildcards/129645 "2008-02-20T14:52:09Z")

</div>

Hi At the moment we’re using lighttpd, but its proving to be a little flaky with php-fcgi. I’d like to know whether its possible to get the following set-up working so I can replace lighttpd with nginx. We use a lot …

---

## [Transfer-Encoding: Chunked](https://www.ruby-forum.com/t/transfer-encoding-chunked/129264)

<div class="topic-metadata">

**Author:** [@Zachary\_R](https://www.ruby-forum.com/u/Zachary_R)\
**Replies:** 10\
**Last updated:** [February 20, 2008, 1:53pm UTC](https://www.ruby-forum.com/t/transfer-encoding-chunked/129264 "2008-02-20T13:53:25Z")

</div>

I’m working with someone who is having issues with a Transfer- Encoding: Chunked upload. With out a content-length set in the request, everything is treating the content length as 0 and the file is more or less gettin…

---

## [Rewrite POST into GET?](https://www.ruby-forum.com/t/rewrite-post-into-get/129109)

<div class="topic-metadata">

**Author:** [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Replies:** 5\
**Last updated:** [February 20, 2008, 11:50am UTC](https://www.ruby-forum.com/t/rewrite-post-into-get/129109 "2008-02-20T11:50:09Z")

</div>

I’m working on a facebook application built using Rails. This is my first time deploying a Rails site, and I’m setting up Capistrano to do the heavy lifting. I’ve got it creating a “down for maintenance” file that I w…

---

## [URL encoding and other hackery](https://www.ruby-forum.com/t/url-encoding-and-other-hackery/129345)

<div class="topic-metadata">

**Author:** [@adamdorsey](https://www.ruby-forum.com/u/adamdorsey)\
**Replies:** 7\
**Last updated:** [February 19, 2008, 11:29am UTC](https://www.ruby-forum.com/t/url-encoding-and-other-hackery/129345 "2008-02-19T11:29:54Z")

</div>

Hi. First, let me just say that I love nginx. Thanks for creating and maintaining it - we appreciate it. I am using nginx as the front end to a rails cluster. When rails generates a page I write the page to disk, wher…

---

## [Parser files not compatible with ragel 6.0](https://www.ruby-forum.com/t/parser-files-not-compatible-with-ragel-6-0/129499)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 3:51am UTC](https://www.ruby-forum.com/t/parser-files-not-compatible-with-ragel-6-0/129499 "2008-02-19T03:51:16Z")

</div>

I’m getting errors running the ragel task - unrecognized write command “eof”. I’m on OS X with ragel version 6.0 from MacPorts. It appears 6.0 has some breaking changes. Has anyone tried ragel 6.0 with the current \*.r…

---

## [Trailing / problem](https://www.ruby-forum.com/t/trailing-problem/129411)

<div class="topic-metadata">

**Author:** [@just\_starting](https://www.ruby-forum.com/u/just_starting)\
**Replies:** 5\
**Last updated:** [February 18, 2008, 1:27pm UTC](https://www.ruby-forum.com/t/trailing-problem/129411 "2008-02-18T13:27:12Z")

</div>

hi, When I dont put a trailing ‘/’, the testsite is redirecting me to localhost. conf file snippet: location /testsite/ { root /usr/local/nginx/html; index index.html view.html /view.html; error\_page 404 = @jetty; …

---

## [Disable keepalive for internet-explorer?](https://www.ruby-forum.com/t/disable-keepalive-for-internet-explorer/129209)

<div class="topic-metadata">

**Author:** [@GSSSSbor\_Farkas](https://www.ruby-forum.com/u/GSSSSbor_Farkas)\
**Replies:** 3\
**Last updated:** [February 18, 2008, 11:50am UTC](https://www.ruby-forum.com/t/disable-keepalive-for-internet-explorer/129209 "2008-02-18T11:50:40Z")

</div>

Hi, is there a way to do this in nginx: if the browser is internet-explorer (any version), don’t do keepalive? i found the $msie variable, but the keepalive\_timeout cannot be used in an “if()” construct… so i do not …

---

## [If file not found redirect to proxy](https://www.ruby-forum.com/t/if-file-not-found-redirect-to-proxy/129404)

<div class="topic-metadata">

**Author:** [@just\_starting](https://www.ruby-forum.com/u/just_starting)\
**Replies:** 2\
**Last updated:** [February 18, 2008, 10:12am UTC](https://www.ruby-forum.com/t/if-file-not-found-redirect-to-proxy/129404 "2008-02-18T10:12:13Z")

</div>

hi, I am using nginx to serve static files and proxying to jetty for dynamic pages. What I generally do is build the .war file, put it on jetty and also put the static files on nginx for nginx to serve. Now, can I …

---

## [Mongrel does not restart after cap deploy](https://www.ruby-forum.com/t/mongrel-does-not-restart-after-cap-deploy/128798)

<div class="topic-metadata">

**Author:** [@Nate\_Vick](https://www.ruby-forum.com/u/Nate_Vick)\
**Replies:** 4\
**Last updated:** [February 16, 2008, 9:33am UTC](https://www.ruby-forum.com/t/mongrel-does-not-restart-after-cap-deploy/128798 "2008-02-16T09:33:53Z")

</div>

I get the following error when I try to deploy my first application. /usr/lib/ruby/gems/1.8/gems/mongrel-1.1/bin/mongrel\_rails:18: uninitialized constant Mongrel::GemPlugin (NameError) I have a script in /etc/init.d …

---

## [Memory leak?](https://www.ruby-forum.com/t/memory-leak/127351)

<div class="topic-metadata">

**Author:** [@Bostjan\_Potocnik](https://www.ruby-forum.com/u/Bostjan_Potocnik)\
**Replies:** 2\
**Last updated:** [February 16, 2008, 4:02am UTC](https://www.ruby-forum.com/t/memory-leak/127351 "2008-02-16T04:02:50Z")

</div>

Hi all, my mongrel cluster worked as charm for last 3 months, but in last days some processes are taking all available memory. It goes up to 440Mb per process. Few hours after restart memory usage starts to climb up a…

---

## [Socket read returned insufficient data](https://www.ruby-forum.com/t/socket-read-returned-insufficient-data/129230)

<div class="topic-metadata">

**Author:** [@Ezra\_Freedman](https://www.ruby-forum.com/u/Ezra_Freedman)\
**Replies:** 1\
**Last updated:** [February 16, 2008, 4:01am UTC](https://www.ruby-forum.com/t/socket-read-returned-insufficient-data/129230 "2008-02-16T04:01:11Z")

</div>

In the several months I’ve been using Mongrel, I’ve experienced two crashes. Both were immediately following a “Socket read returned insufficient data” error from HTTPRequest. Both times, the mongrel process would h…

---

## [One mongrel request seems to block cluster](https://www.ruby-forum.com/t/one-mongrel-request-seems-to-block-cluster/129122)

<div class="topic-metadata">

**Author:** [@evronm](https://www.ruby-forum.com/u/evronm)\
**Replies:** 3\
**Last updated:** [February 15, 2008, 1:26pm UTC](https://www.ruby-forum.com/t/one-mongrel-request-seems-to-block-cluster/129122 "2008-02-15T13:26:21Z")

</div>

Hello - I’m new to setting up a mongrel cluster and ran into a question while doing some simple performance testing. I’m using Apache 2.2 as a proxy/load balancer to multiple mongrel instances (for this test on the…

---

## [Rotating mongrel production logs](https://www.ruby-forum.com/t/rotating-mongrel-production-logs/129134)

<div class="topic-metadata">

**Author:** [@seanb](https://www.ruby-forum.com/u/seanb)\
**Replies:** 4\
**Last updated:** [February 14, 2008, 9:50pm UTC](https://www.ruby-forum.com/t/rotating-mongrel-production-logs/129134 "2008-02-14T21:50:33Z")

</div>

In another thread, I had posted that we rotate our mongrel production logs once a week as a means to keep the performance degradations that happen with large log files at bay. A few of you asked me to post how we do …

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

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