# Server

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

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

---

## [Mongrel\_upload\_progress and attachment\_fu](https://www.ruby-forum.com/t/mongrel-upload-progress-and-attachment-fu/121699)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 1\
**Last updated:** [December 15, 2007, 2:03am UTC](https://www.ruby-forum.com/t/mongrel-upload-progress-and-attachment-fu/121699 "2007-12-15T02:03:42Z")

</div>

Can one use mongrel\_upload\_progress in combination with attachment\_fu (db\_file)? I wan’t to store uploaded files directly in a mysql-database - not in the filesystem. Is there a way to use mongrel\_upload\_progress to …

---

## [Using ngx\_http\_access\_module behind a load balancer](https://www.ruby-forum.com/t/using-ngx-http-access-module-behind-a-load-balancer/123176)

<div class="topic-metadata">

**Author:** [@Joaquin\_Cuenca\_Abel](https://www.ruby-forum.com/u/Joaquin_Cuenca_Abel)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/using-ngx-http-access-module-behind-a-load-balancer/123176 "2007-12-14T17:54:52Z")

</div>

Hi guys, I’m using nginx behind a load balancer, and I receive the user IP in X-Client-IP. I would like to setup some rules with ngx\_http\_access\_module, and I would like to know if it’s possible to make nginx use X-C…

---

## [X-Accel-Redirect and Content-Type](https://www.ruby-forum.com/t/x-accel-redirect-and-content-type/123135)

<div class="topic-metadata">

**Author:** [@GSSSSbor\_Farkas](https://www.ruby-forum.com/u/GSSSSbor_Farkas)\
**Replies:** 1\
**Last updated:** [December 14, 2007, 10:11am UTC](https://www.ruby-forum.com/t/x-accel-redirect-and-content-type/123135 "2007-12-14T10:11:41Z")

</div>

hi, i have set up an X-Accel-Redirect based solution. the usual thing. there are 2 locations, one is proxied to an other webserver, which basically does the authentication, and the second location is marked as “int…

---

## [New entry in the english Wiki: Installing recent versions from Debian Repositories (testing and sid)](https://www.ruby-forum.com/t/new-entry-in-the-english-wiki-installing-recent-versions-from-debian-repositories-testing-and-sid/123040)

<div class="topic-metadata">

**Author:** [@AnSSS\_bal\_Rojas](https://www.ruby-forum.com/u/AnSSS_bal_Rojas)\
**Replies:** 7\
**Last updated:** [December 13, 2007, 11:19pm UTC](https://www.ruby-forum.com/t/new-entry-in-the-english-wiki-installing-recent-versions-from-debian-repositories-testing-and-sid/123040 "2007-12-13T23:19:02Z")

</div>

Hello, I just added a new entry in the wiki regarding how to track “recent” Nginx packages trough the Debian repositories. A lot of people install from sources because stable package is frozen at 0.4.13, and that’s …

---

## [Setups two rails app in different location](https://www.ruby-forum.com/t/setups-two-rails-app-in-different-location/122950)

<div class="topic-metadata">

**Author:** [@Francisco\_Valladoli](https://www.ruby-forum.com/u/Francisco_Valladoli)\
**Replies:** 7\
**Last updated:** [December 13, 2007, 10:17pm UTC](https://www.ruby-forum.com/t/setups-two-rails-app-in-different-location/122950 "2007-12-13T22:17:51Z")

</div>

Hi. I have two different rails app under the same server, using the same IP. How can do it? my primary web site is working correctly but the second one no. this is my config.

---

## [About 0.6](https://www.ruby-forum.com/t/about-0-6/123080)

<div class="topic-metadata">

**Author:** [@AnSSS\_bal\_Rojas](https://www.ruby-forum.com/u/AnSSS_bal_Rojas)\
**Replies:** 0\
**Last updated:** [December 13, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/about-0-6/123080 "2007-12-13T22:14:18Z")

</div>

Hello, A friend of mine is in charge of packaging Nginx for Debian. He asked me about 0.6 version roadmap, I told him I was going to ask in the list. Where is 0.6 going? Will there be a 0.7? Will this changes be me…

---

## [Re: Mongrel install problem](https://www.ruby-forum.com/t/re-mongrel-install-problem/122865)

<div class="topic-metadata">

**Author:** [@rob\_lucas](https://www.ruby-forum.com/u/rob_lucas)\
**Replies:** 2\
**Last updated:** [December 13, 2007, 6:15pm UTC](https://www.ruby-forum.com/t/re-mongrel-install-problem/122865 "2007-12-13T18:15:04Z")

</div>

(apologies for double-posting this. I just realised that the original had the digest title, and thus broke the thread.) Thanks for the help Sean. I managed to get the install fixed, but I’m still having problems. When…

---

## [Problem with FCGI\_STDERR,](https://www.ruby-forum.com/t/problem-with-fcgi-stderr/123053)

<div class="topic-metadata">

**Author:** [@RafaSSSSSZawadzki](https://www.ruby-forum.com/u/RafaSSSSSZawadzki)\
**Replies:** 1\
**Last updated:** [December 13, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/problem-with-fcgi-stderr/123053 "2007-12-13T18:05:42Z")

</div>

Hello. I am using nginx version: nginx/0.5.33 + flup 1.0 + django framework. Actually i have problem, that I don’t know how to tell nginx to save FCGI\_STDERR in error\_log. Is there any special config option? Cheers,

---

## [Weird Mongrel error: Not starting](https://www.ruby-forum.com/t/weird-mongrel-error-not-starting/123026)

<div class="topic-metadata">

**Author:** [@Nii\_amon\_D](https://www.ruby-forum.com/u/Nii_amon_D)\
**Replies:** 4\
**Last updated:** [December 13, 2007, 3:36pm UTC](https://www.ruby-forum.com/t/weird-mongrel-error-not-starting/123026 "2007-12-13T15:36:11Z")

</div>

Hi list, I have a problem with Mongrel which is really bugging me. I would really appreciate any help that anyone can provide to help me in solving this problem. My setup: Apache front\_end with mod\_proxy\_balancer i…

---

## [Nginx-0.5.34](https://www.ruby-forum.com/t/nginx-0-5-34/123008)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [December 13, 2007, 12:06pm UTC](https://www.ruby-forum.com/t/nginx-0-5-34/123008 "2007-12-13T12:06:00Z")

</div>

Changes with nginx 0.5.34 13 Dec 2007 \*) Change: now the full request line instead of URI only is written to error\_log. \*) Feature: Cygwin compatibility. Thanks to Vladimir…

---

## [Mod\_proxy\_balancer mod\_rewrite permission issue](https://www.ruby-forum.com/t/mod-proxy-balancer-mod-rewrite-permission-issue/122979)

<div class="topic-metadata">

**Author:** [@SS\_SSSSSSSSSS](https://www.ruby-forum.com/u/SS_SSSSSSSSSS)\
**Replies:** 1\
**Last updated:** [December 13, 2007, 8:39am UTC](https://www.ruby-forum.com/t/mod-proxy-balancer-mod-rewrite-permission-issue/122979 "2007-12-13T08:39:00Z")

</div>

I started the mongrel\_cluster and tried to use the RewriteRule to forward the requests to proxy\_balancer just as the http://mongrel.rubyforge.org/docs/apache.html said. When I visited my site from a remote computer, …

---

## [Mongrel install problem](https://www.ruby-forum.com/t/mongrel-install-problem/122783)

<div class="topic-metadata">

**Author:** [@rob\_lucas](https://www.ruby-forum.com/u/rob_lucas)\
**Replies:** 2\
**Last updated:** [December 13, 2007, 2:28am UTC](https://www.ruby-forum.com/t/mongrel-install-problem/122783 "2007-12-13T02:28:27Z")

</div>

Hi, I’m having difficulties getting mongrel running on my Debian Etch machine. It seems to install and is listed with my other gems, but things like… “mongrel\_rails start …” … are not recognised. Perhaps this is so…

---

## [Upgrading from Mongrel 1.0.1 and Mongrel cluster 0.2.1](https://www.ruby-forum.com/t/upgrading-from-mongrel-1-0-1-and-mongrel-cluster-0-2-1/122859)

<div class="topic-metadata">

**Author:** [@bguan](https://www.ruby-forum.com/u/bguan)\
**Replies:** 3\
**Last updated:** [December 12, 2007, 11:47pm UTC](https://www.ruby-forum.com/t/upgrading-from-mongrel-1-0-1-and-mongrel-cluster-0-2-1/122859 "2007-12-12T23:47:26Z")

</div>

I am considering upgrading to either Mongrel 1.1.1 or 1.0.4, and Mongrel-cluster to 1.0.5. Are there any gotchas or issues I need to be aware of? Also where can I find the release notes for the various releases? (The …

---

## [Possible bug in the range filter](https://www.ruby-forum.com/t/possible-bug-in-the-range-filter/122848)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 7\
**Last updated:** [December 12, 2007, 10:58pm UTC](https://www.ruby-forum.com/t/possible-bug-in-the-range-filter/122848 "2007-12-12T22:58:03Z")

</div>

Hi. I’m trying to add support for the nginx range filter in mod\_wsgi but I have found some problems. When I try to resume a file download (using wget) I get a: 2007/12/11 22:07:55 \[crit\] 26054#0: \*2 writev() failed (…

---

## [Logger & debug level](https://www.ruby-forum.com/t/logger-debug-level/122870)

<div class="topic-metadata">

**Author:** [@johnpetterson](https://www.ruby-forum.com/u/johnpetterson)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/logger-debug-level/122870 "2007-12-12T20:13:17Z")

</div>

greetings, i am getting the below error message in my mongrel log and I want to turn that 22 levels into a full trace. but i am unsure where or how to configure the debug level for mongrel. any advice? thanks - joh…

---

## [SSL Strangeness](https://www.ruby-forum.com/t/ssl-strangeness/121592)

<div class="topic-metadata">

**Author:** [@Curtis\_Spencer](https://www.ruby-forum.com/u/Curtis_Spencer)\
**Replies:** 9\
**Last updated:** [December 12, 2007, 7:15pm UTC](https://www.ruby-forum.com/t/ssl-strangeness/121592 "2007-12-12T19:15:50Z")

</div>

Hi, I am running 4 mongrels behind nginx with two servers blocks (one ssl enabled). I have a public facing app that 20-30 users go through each day (non ssl) and administrative SSL controllers in the app that people…

---

## [Mongrel and http 1.1 OPTIONS keyword](https://www.ruby-forum.com/t/mongrel-and-http-1-1-options-keyword/122838)

<div class="topic-metadata">

**Author:** [@Yves\_DSAstous](https://www.ruby-forum.com/u/Yves_DSAstous)\
**Replies:** 3\
**Last updated:** [December 12, 2007, 7:03pm UTC](https://www.ruby-forum.com/t/mongrel-and-http-1-1-options-keyword/122838 "2007-12-12T19:03:46Z")

</div>

Hello. I just seen some errors in my mongrel application log: It seems related to the httpd OPTIONS keyword Example: Processing LoginController#login (for .30.5.208 at 2007-12-10 09:00:23) \[OPTIONS\] and our ruby ap…

---

## [Mongrel not starting: \`initialize\_without\_backlog': Cannot assign requested address - bind(2) (Errno](https://www.ruby-forum.com/t/mongrel-not-starting-initialize-without-backlog-cannot-assign-requested-address-bind-2-errno/122861)

<div class="topic-metadata">

**Author:** [@Nii\_amon\_D](https://www.ruby-forum.com/u/Nii_amon_D)\
**Replies:** 2\
**Last updated:** [December 12, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/mongrel-not-starting-initialize-without-backlog-cannot-assign-requested-address-bind-2-errno/122861 "2007-12-12T18:59:31Z")

</div>

Hi I have a rather strange problem with mongrel and I would be grateful if anyone could assist me with resolving. I have an application running mongrel 1.1.1 and rails 1.2.5 with ruby 1.8.6. It was all working fine …

---

## [Set-Cookie and Content-Disposition in upstream.c](https://www.ruby-forum.com/t/set-cookie-and-content-disposition-in-upstream-c/122844)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/set-cookie-and-content-disposition-in-upstream-c/122844 "2007-12-12T18:58:54Z")

</div>

Hi. I’m not sure to understand this code in ngx\_http\_upstream.c: { ngx\_string("Set-Cookie"), ngx\_http\_upstream\_ignore\_header\_line, 0, ngx\_http\_upstream\_copy\_header\_line, 0, 1 }, { ngx\_str…

---

## [Ngx\_http\_clear\_last\_modified in addition\_filter\_module](https://www.ruby-forum.com/t/ngx-http-clear-last-modified-in-addition-filter-module/122849)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 2\
**Last updated:** [December 12, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/ngx-http-clear-last-modified-in-addition-filter-module/122849 "2007-12-12T18:58:16Z")

</div>

Hi Igor, I have noted that in the addition\_filter\_module the last\_modified field is not cleared, like it is done in ssi and sub filter modules. What is the reason? Thanks Manlio P.

---

## ["range in overlapped buffers" in range filter](https://www.ruby-forum.com/t/range-in-overlapped-buffers-in-range-filter/122842)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 3\
**Last updated:** [December 12, 2007, 6:52pm UTC](https://www.ruby-forum.com/t/range-in-overlapped-buffers-in-range-filter/122842 "2007-12-12T18:52:52Z")

</div>

I’m testing range support with a WSGI application that reads a file in chunk, writing each chunk to the client. http://hg.mperillo.ath.cx/nginx/mod\_wsgi/file/tip/examples/nginx-file.py I get this error: range in over…

---

## [Fail to build Nginx 0.6.21 from source to support OpenSSL](https://www.ruby-forum.com/t/fail-to-build-nginx-0-6-21-from-source-to-support-openssl/122788)

<div class="topic-metadata">

**Author:** [@vnjug](https://www.ruby-forum.com/u/vnjug)\
**Replies:** 1\
**Last updated:** [December 12, 2007, 6:47pm UTC](https://www.ruby-forum.com/t/fail-to-build-nginx-0-6-21-from-source-to-support-openssl/122788 "2007-12-12T18:47:27Z")

</div>

Hi all, I have a hard time to build Nginx 0.6.21 from source code with OpenSSQL support. My configuration is as follows: ./configure --prefix=/user/local/nginx/ –with-http\_stub\_status\_module –with-openssl=/usr/lib…

---

## [Possible bug with location parse order](https://www.ruby-forum.com/t/possible-bug-with-location-parse-order/122558)

<div class="topic-metadata">

**Author:** [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Replies:** 1\
**Last updated:** [December 9, 2007, 11:05am UTC](https://www.ruby-forum.com/t/possible-bug-with-location-parse-order/122558 "2007-12-09T11:05:02Z")

</div>

Hello, I’m running 0.5.32. I’ve noticed that regex locations are matched against the request URI before string based locations regardless of the order they are defined in the configuration. Example: location /foo {} …

---

## [Server running time in status](https://www.ruby-forum.com/t/server-running-time-in-status/122527)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [December 8, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/server-running-time-in-status/122527 "2007-12-08T20:52:29Z")

</div>

hi, it will be great to have the running time of the server or the time of server start in status module http://wiki.codemongers.com/NginxStubStatusModule

---

## [Location help](https://www.ruby-forum.com/t/location-help/122520)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [December 8, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/location-help/122520 "2007-12-08T19:43:58Z")

</div>

is there a way i can combine this into one location : location ~ ^/\[^/\]+\\.ico$ { root /home/mark/work/pop/static; } location ~ ^/\[^/\]+\\.xml$ { root /home/mark/work/pop/static; } l…

---

## [Url rewrite help](https://www.ruby-forum.com/t/url-rewrite-help/122519)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [December 8, 2007, 7:25pm UTC](https://www.ruby-forum.com/t/url-rewrite-help/122519 "2007-12-08T19:25:48Z")

</div>

hi i am moving from lighttpd to nginx, and I had this rewrite in lighttd. how do i do this in nginx? “^/\[^/\]+.xml$” =\> “/static$0”, i tried and dint work rewrite ^/\[^/\]+.xml$ /static$1; how do i fix this? tha…

---

## [Nginx config virtual hosts](https://www.ruby-forum.com/t/nginx-config-virtual-hosts/122489)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [December 8, 2007, 6:38pm UTC](https://www.ruby-forum.com/t/nginx-config-virtual-hosts/122489 "2007-12-08T18:38:11Z")

</div>

I have this config and, www.domain2.com goes to domain1.com What do I set in server\_name so that all sub-domain requests go to that server? xxx.domain2.com-\> domain2 thanks server { listen 80; server\_n…

---

## [What is the best way to rotate NGINX log files?](https://www.ruby-forum.com/t/what-is-the-best-way-to-rotate-nginx-log-files/122235)

<div class="topic-metadata">

**Author:** [@Mansoor\_P](https://www.ruby-forum.com/u/Mansoor_P)\
**Replies:** 4\
**Last updated:** [December 8, 2007, 2:52pm UTC](https://www.ruby-forum.com/t/what-is-the-best-way-to-rotate-nginx-log-files/122235 "2007-12-08T14:52:30Z")

</div>

Hello Igor, I have a question. What’s the best way to rotate the NGINX log file ? We run NGINX as a Mail Proxy, and the log file grows quite large because we don’t restart it very frequently. Are there any alternativ…

---

## [Extending the make install rules](https://www.ruby-forum.com/t/extending-the-make-install-rules/122471)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/extending-the-make-install-rules/122471 "2007-12-07T21:35:28Z")

</div>

Hi. In mod\_wsgi I need to install the file wsgi\_params in NGX\_CONF\_PATH and ngx\_wsgi.py\[1\] in NGX\_SBIN\_PATH. Unfortunately it seems that the installation phase is not configurable via the addons config file. Igor, d…

---

## [Handling multiple requests at once](https://www.ruby-forum.com/t/handling-multiple-requests-at-once/122425)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/handling-multiple-requests-at-once/122425 "2007-12-07T15:26:21Z")

</div>

Hi, I’m trying to write a custom handler for mongrel. My understanding is that whilst rails is not multithreaded, mongrel is - does this mean it should be able to handle multiple requests at once? I’ve written the fo…

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

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