# Server

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

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

---

## [Mongrel, monit, and the many, many messages](https://www.ruby-forum.com/t/mongrel-monit-and-the-many-many-messages/125430)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 9\
**Last updated:** [January 9, 2008, 10:56pm UTC](https://www.ruby-forum.com/t/mongrel-monit-and-the-many-many-messages/125430 "2008-01-09T22:56:55Z")

</div>

Monit 4.9, Mongrel 1.0.1, Rails 1.2.6, Mac OS X 10.4.11 (PPC) I don’t know whether this is a mongrel issue or a monit issue. I’m trying to poke my way around a system set up by someone else. I have no more experience …

---

## [Zope/plone cache rewrite rules?](https://www.ruby-forum.com/t/zope-plone-cache-rewrite-rules/125367)

<div class="topic-metadata">

**Author:** [@Alexis\_Torres\_Garni](https://www.ruby-forum.com/u/Alexis_Torres_Garni)\
**Replies:** 2\
**Last updated:** [January 9, 2008, 8:29pm UTC](https://www.ruby-forum.com/t/zope-plone-cache-rewrite-rules/125367 "2008-01-09T20:29:21Z")

</div>

Tnks for your answer Aleksandar L., I was slow to respond because a problem in the squid configuration, Im trying this configuration based in your: location /ultimas/ { #proxy\_pass http://132.247.1.32…

---

## [Suggestions for a custom module, looking for a developer](https://www.ruby-forum.com/t/suggestions-for-a-custom-module-looking-for-a-developer/125493)

<div class="topic-metadata">

**Author:** [@adrian](https://www.ruby-forum.com/u/adrian)\
**Replies:** 2\
**Last updated:** [January 9, 2008, 6:16pm UTC](https://www.ruby-forum.com/t/suggestions-for-a-custom-module-looking-for-a-developer/125493 "2008-01-09T18:16:44Z")

</div>

Hello, I’m testing nginx and like it very much. To make it perfect for my needs I am thinking about having someone code a “third-party” module for me. If I get this done I’m obviously going to share it with the commu…

---

## [SSI forwards request method](https://www.ruby-forum.com/t/ssi-forwards-request-method/125407)

<div class="topic-metadata">

**Author:** [@Larrytheliquid](https://www.ruby-forum.com/u/Larrytheliquid)\
**Replies:** 3\
**Last updated:** [January 9, 2008, 4:32pm UTC](https://www.ruby-forum.com/t/ssi-forwards-request-method/125407 "2008-01-09T16:32:11Z")

</div>

I’ve noticed that when using server side includes, the original document’s request method is used for the includes of the subsequent documents. I would think that includes should be GET requests, regardless of the or…

---

## [Ask About Framework-Nginx](https://www.ruby-forum.com/t/ask-about-framework-nginx/124274)

<div class="topic-metadata">

**Author:** [@dika](https://www.ruby-forum.com/u/dika)\
**Replies:** 6\
**Last updated:** [January 9, 2008, 12:43pm UTC](https://www.ruby-forum.com/t/ask-about-framework-nginx/124274 "2008-01-09T12:43:56Z")

</div>

Dear All, Im a System Admin from Indonesia. I have a little trouble with Engine-X (nginx). My server can recognize PHP & FCGI well, but a trouble appear when I use a FuseBox frame work in my server. I assume that th…

---

## [Https-fix in nginx version, confused](https://www.ruby-forum.com/t/https-fix-in-nginx-version-confused/125471)

<div class="topic-metadata">

**Author:** [@GSSSSbor\_Farkas](https://www.ruby-forum.com/u/GSSSSbor_Farkas)\
**Replies:** 1\
**Last updated:** [January 9, 2008, 12:18pm UTC](https://www.ruby-forum.com/t/https-fix-in-nginx-version-confused/125471 "2008-01-09T12:18:39Z")

</div>

hi, first thing: thanks a lot for nginx-0.5.35, i see that the https “bad write retry” bug is fixed in it. but there is a problem for me with it: the bugfix first appeared in 0.6.23. but then, on the same day, 0.6.2…

---

## [Limiting user access to static files](https://www.ruby-forum.com/t/limiting-user-access-to-static-files/125433)

<div class="topic-metadata">

**Author:** [@blasfamous](https://www.ruby-forum.com/u/blasfamous)\
**Replies:** 1\
**Last updated:** [January 9, 2008, 12:09pm UTC](https://www.ruby-forum.com/t/limiting-user-access-to-static-files/125433 "2008-01-09T12:09:13Z")

</div>

Hello, I am looking forward to use nginx for serving my static contents. I want to limit the number of accesses to any static file (# of open file handles to these files) to 1 so that only 1 access is allowed at a tim…

---

## [Nginx-0.6.25](https://www.ruby-forum.com/t/nginx-0-6-25/125351)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 4\
**Last updated:** [January 9, 2008, 9:29am UTC](https://www.ruby-forum.com/t/nginx-0-6-25/125351 "2008-01-09T09:29:38Z")

</div>

Changes with nginx 0.6.25 08 Jan 2008 \*) Change: now the "server\_name\_in\_redirect" directive is used instead of the “server\_name” directive’s special “\*” parameter. \*) Change:…

---

## [Nginx-0.5.35](https://www.ruby-forum.com/t/nginx-0-5-35/125384)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [January 8, 2008, 6:55pm UTC](https://www.ruby-forum.com/t/nginx-0-5-35/125384 "2008-01-08T18:55:27Z")

</div>

Changes with nginx 0.5.35 08 Jan 2008 \*) Change: now the ngx\_http\_userid\_module adds start time microseconds to the cookie field contains a pid value. \*) Change: now the uname…

---

## [Variables in proxy\_method](https://www.ruby-forum.com/t/variables-in-proxy-method/125324)

<div class="topic-metadata">

**Author:** [@Jed\_Schmidt](https://www.ruby-forum.com/u/Jed_Schmidt)\
**Replies:** 0\
**Last updated:** [January 8, 2008, 8:52am UTC](https://www.ruby-forum.com/t/variables-in-proxy-method/125324 "2008-01-08T08:52:56Z")

</div>

Hello all, Is there any chance that proxy\_method could be modified to allow variables? I’d like to proxy all incoming POST requests using PUT (for use with Amazon S3) like this: set $s3\_method $request\_method; i…

---

## [Build fails on ubuntu 7.10](https://www.ruby-forum.com/t/build-fails-on-ubuntu-7-10/125148)

<div class="topic-metadata">

**Author:** [@Arash\_F](https://www.ruby-forum.com/u/Arash_F)\
**Replies:** 2\
**Last updated:** [January 8, 2008, 3:33am UTC](https://www.ruby-forum.com/t/build-fails-on-ubuntu-7-10/125148 "2008-01-08T03:33:19Z")

</div>

any ideas? :/tmp/nginx-0.5.34# make install make -f objs/Makefile install make\[1\]: Entering directory /tmp/nginx-0.5.34' gcc -c -O -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-…

---

## [409 Proxy Authentication required](https://www.ruby-forum.com/t/409-proxy-authentication-required/125306)

<div class="topic-metadata">

**Author:** [@Pete\_DeLaurentis](https://www.ruby-forum.com/u/Pete_DeLaurentis)\
**Replies:** 0\
**Last updated:** [January 8, 2008, 3:07am UTC](https://www.ruby-forum.com/t/409-proxy-authentication-required/125306 "2008-01-08T03:07:21Z")

</div>

Hi there, We’re in the process of switching to nginx (from lighttpd) for some of our customer services. One of our customers is experiencing a “409 Proxy Authentication required” when contacting our nginx based web-s…

---

## [Optimizing the SSI module for better caching support](https://www.ruby-forum.com/t/optimizing-the-ssi-module-for-better-caching-support/125240)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 1:08pm UTC](https://www.ruby-forum.com/t/optimizing-the-ssi-module-for-better-caching-support/125240 "2008-01-07T13:08:14Z")

</div>

Hi. I’m very interested in the optimization method described in this article: http://blog.kovyrin.net/2007/08/05/using-nginx-ssi-and-memcache-to-make-your-web-applications-faster/ However there is a problem, IMHO: th…

---

## [Does Nginx support these two lighttpd features?](https://www.ruby-forum.com/t/does-nginx-support-these-two-lighttpd-features/125228)

<div class="topic-metadata">

**Author:** [@plane](https://www.ruby-forum.com/u/plane)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 9:43am UTC](https://www.ruby-forum.com/t/does-nginx-support-these-two-lighttpd-features/125228 "2008-01-07T09:43:48Z")

</div>

Hi everyone, I’m considering switch to nginx but I’m totally new about it and know nothing. Personally, I like and prefer nginx over my lighttpd because I heard that there is no memory leak and faster. http://trac.li…

---

## [Rewrite rule for nginx image?](https://www.ruby-forum.com/t/rewrite-rule-for-nginx-image/125186)

<div class="topic-metadata">

**Author:** [@teck](https://www.ruby-forum.com/u/teck)\
**Replies:** 3\
**Last updated:** [January 7, 2008, 9:13am UTC](https://www.ruby-forum.com/t/rewrite-rule-for-nginx-image/125186 "2008-01-07T09:13:48Z")

</div>

Hi all, I have a small image that I’ve downloaded from nginx.net and use it a logo for the 404 pages. What would be the code I need to insert into nginx.conf, in order to automatically point the image location to a …

---

## [Robots.txt rewrite for many second-level domains](https://www.ruby-forum.com/t/robots-txt-rewrite-for-many-second-level-domains/125194)

<div class="topic-metadata">

**Author:** [@Martin\_Minka](https://www.ruby-forum.com/u/Martin_Minka)\
**Replies:** 1\
**Last updated:** [January 6, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/robots-txt-rewrite-for-many-second-level-domains/125194 "2008-01-06T21:56:00Z")

</div>

Hello, how to use “rewrite” and “set” in nginx to use different robots.txt for different second-level domains. My idea: if ($server\_name ~\* XXX) { set secondlevel $2 } rewrite ^/robots.txt$ /robots-$secondlevel.tx…

---

## [Handling many redirects](https://www.ruby-forum.com/t/handling-many-redirects/125191)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 1\
**Last updated:** [January 6, 2008, 9:18pm UTC](https://www.ruby-forum.com/t/handling-many-redirects/125191 "2008-01-06T21:18:54Z")

</div>

Hi. I need to migrate a site to a new URL scheme. Each page have a different url, and I want the old url to be still accessible, but redirected (with a 301 HTTP status code) to the new url. With the rewrite module I …

---

## [Syntax to use for documenting directives](https://www.ruby-forum.com/t/syntax-to-use-for-documenting-directives/125168)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 2\
**Last updated:** [January 6, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/syntax-to-use-for-documenting-directives/125168 "2008-01-06T20:07:19Z")

</div>

Hi. There seems to be not uniform syntax rules for documenting nginx directives. As an example, for the http proxy module we have: syntax: proxy\_buffering on|off syntax: proxy\_ignore\_client\_abort \[on|off\] Since a v…

---

## [X-Forwarded-Host support](https://www.ruby-forum.com/t/x-forwarded-host-support/125102)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 5\
**Last updated:** [January 6, 2008, 12:07pm UTC](https://www.ruby-forum.com/t/x-forwarded-host-support/125102 "2008-01-06T12:07:47Z")

</div>

Hi. Igor, do you plan to add support to the X-Forwarded-Host in nginx? This can be used in the same way X-Forwarded-For is used in the realip module. Thanks Manlio P.

---

## [Fastthread no longer needed?](https://www.ruby-forum.com/t/fastthread-no-longer-needed/124738)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 20\
**Last updated:** [January 5, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/fastthread-no-longer-needed/124738 "2008-01-05T20:17:01Z")

</div>

I’m confused. Wasn’t threading fixed in 1.8.6, negating the need for fastthread? Why is fastthread still a requirement of Mongrel? Just curious. :slight\_smile:

---

## [Zope/plone cache rewrite rules?](https://www.ruby-forum.com/t/zope-plone-cache-rewrite-rules/124671)

<div class="topic-metadata">

**Author:** [@Alexis\_Torres\_Garni](https://www.ruby-forum.com/u/Alexis_Torres_Garni)\
**Replies:** 3\
**Last updated:** [January 5, 2008, 6:40pm UTC](https://www.ruby-forum.com/t/zope-plone-cache-rewrite-rules/124671 "2008-01-05T18:40:57Z")

</div>

Hi guys, I have problems porting this apache mod\_rewrite rules to nginx rewrite rules, I have a zope server who talk with squid (configured like a reverse proxy), infront the squi we have apache2, the arch is this: pe…

---

## [Nginix 0.5.34 returns 499's for proxied content](https://www.ruby-forum.com/t/nginix-0-5-34-returns-499s-for-proxied-content/124776)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 5\
**Last updated:** [January 5, 2008, 3:58am UTC](https://www.ruby-forum.com/t/nginix-0-5-34-returns-499s-for-proxied-content/124776 "2008-01-05T03:58:03Z")

</div>

Hi, I just noticed something in our AWStats analysis, a small percentage (1.7% by awstats’ count) of requests are being returned 499. 71.104.220.183 - - \[03/Jan/2008:00:45:56 +1100\] “GET /people/dairygirl/ art/506041…

---

## [Access key module](https://www.ruby-forum.com/t/access-key-module/124548)

<div class="topic-metadata">

**Author:** [@Evan\_M](https://www.ruby-forum.com/u/Evan_M)\
**Replies:** 21\
**Last updated:** [January 4, 2008, 5:28pm UTC](https://www.ruby-forum.com/t/access-key-module/124548 "2008-01-04T17:28:37Z")

</div>

In October, Mykola Grechukh announced his new ngx\_http\_accesskey\_module to the Russian listserver.\[1\] The module lets you give access keys to specific IP addresses, which is useful for restricting downloads to certain…

---

## [Ngx\_os\_specific\_status on Linux and access permission to /proc/sys](https://www.ruby-forum.com/t/ngx-os-specific-status-on-linux-and-access-permission-to-proc-sys/125015)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 2\
**Last updated:** [January 4, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/ngx-os-specific-status-on-linux-and-access-permission-to-proc-sys/125015 "2008-01-04T16:50:25Z")

</div>

Hi. I’m testing mod\_wsgi on an Italian hosting company and they reported me that the Linux kernel they use does not allow the access to /proc/sys. Now, as far as I can see the information from /proc/sys is used for i…

---

## [Howto write a mongrel handler for a CGI app using CGIWrapper](https://www.ruby-forum.com/t/howto-write-a-mongrel-handler-for-a-cgi-app-using-cgiwrapper/124984)

<div class="topic-metadata">

**Author:** [@simonr](https://www.ruby-forum.com/u/simonr)\
**Replies:** 1\
**Last updated:** [January 4, 2008, 10:51am UTC](https://www.ruby-forum.com/t/howto-write-a-mongrel-handler-for-a-cgi-app-using-cgiwrapper/124984 "2008-01-04T10:51:42Z")

</div>

Hello, Just for further reference in case of someone else want to do the same : I wanted to write a mongrel for a CGI app : \[\[\[ require ‘cgi’ require ‘foo’ cgi = CGI.new if !cgi\[‘uri’\] || (cgi\[‘uri’\] == ‘’) Foo.e…

---

## [Interresting Changeset for Rails Trunk](https://www.ruby-forum.com/t/interresting-changeset-for-rails-trunk/124907)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 2\
**Last updated:** [January 3, 2008, 11:50pm UTC](https://www.ruby-forum.com/t/interresting-changeset-for-rails-trunk/124907 "2008-01-03T23:50:45Z")

</div>

From http://blog.codefront.net/2008/01/02/whats-new-on-edge-rails-the-pilot/ A native Mongrel handler has been introduced. This is so that it can be worked on independent of MongrelÂ’s release cycle (the Rails handle…

---

## [Too many open files errors](https://www.ruby-forum.com/t/too-many-open-files-errors/124839)

<div class="topic-metadata">

**Author:** [@tuta](https://www.ruby-forum.com/u/tuta)\
**Replies:** 4\
**Last updated:** [January 3, 2008, 11:26pm UTC](https://www.ruby-forum.com/t/too-many-open-files-errors/124839 "2008-01-03T23:26:45Z")

</div>

Hello all , nice to see a nginx topic on here :slight\_smile: also greetings to mail-listers! I have problem with nginx+fast-cgi. Sometimes CPU useage getting higher then %100. I checked error.log and found something. …

---

## [Fastcgi\_pass inheritance](https://www.ruby-forum.com/t/fastcgi-pass-inheritance/124547)

<div class="topic-metadata">

**Author:** [@Ben\_Maurer](https://www.ruby-forum.com/u/Ben_Maurer)\
**Replies:** 21\
**Last updated:** [January 3, 2008, 11:16pm UTC](https://www.ruby-forum.com/t/fastcgi-pass-inheritance/124547 "2008-01-03T23:16:05Z")

</div>

Hi, I’ve been trying to get a setup like this to work: location /fastcgi { fastcgi\_pass …; } location /fastcgi/specialscript { error\_page 500 …; } However, the existance of a location directive seems to make fas…

---

## [SSL FD Leak](https://www.ruby-forum.com/t/ssl-fd-leak/124604)

<div class="topic-metadata">

**Author:** [@Ben\_Maurer](https://www.ruby-forum.com/u/Ben_Maurer)\
**Replies:** 5\
**Last updated:** [January 3, 2008, 6:46pm UTC](https://www.ruby-forum.com/t/ssl-fd-leak/124604 "2008-01-03T18:46:36Z")

</div>

Hi, On a server that has quite a few SSL connections, I started to notice that FDs were leaking. I set the load balancer in front of nginx to stop sending new requests to one server for a few minutes (to let the keep…

---

## [Re: Mongrel stops to loading the page in browser](https://www.ruby-forum.com/t/re-mongrel-stops-to-loading-the-page-in-browser/124908)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 0\
**Last updated:** [January 3, 2008, 6:07pm UTC](https://www.ruby-forum.com/t/re-mongrel-stops-to-loading-the-page-in-browser/124908 "2008-01-03T18:07:06Z")

</div>

Looks like the user Mongrel is running as (www) does not have permission to access the files:

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

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