# Server

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

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

---

## [Fastthread error](https://www.ruby-forum.com/t/fastthread-error/159968)

<div class="topic-metadata">

**Author:** [@leojoesdb](https://www.ruby-forum.com/u/leojoesdb)\
**Replies:** 1\
**Last updated:** [February 10, 2009, 3:13pm UTC](https://www.ruby-forum.com/t/fastthread-error/159968 "2009-02-10T15:13:30Z")

</div>

Is anybody testing mongrel on ruby 1.9.1 I just tried installing mongrel and got this error \[root@mysql02 fastthread-1.0.1\]# gem install mongrel Building native extensions. This could take a while… /usr/local/lib/ru…

---

## [Nginx not responding to some SYN packets](https://www.ruby-forum.com/t/nginx-not-responding-to-some-syn-packets/159397)

<div class="topic-metadata">

**Author:** [@Radek\_Burkat](https://www.ruby-forum.com/u/Radek_Burkat)\
**Replies:** 7\
**Last updated:** [February 10, 2009, 9:23am UTC](https://www.ruby-forum.com/t/nginx-not-responding-to-some-syn-packets/159397 "2009-02-10T09:23:49Z")

</div>

Have a machine running the latest devel version nginx-0.7.33 (tried 0.6.35 with same results) for serving small (less than 10K images) and am seeing on tcpdump that some SYN packets are not responded to right away.Th…

---

## [Going live!](https://www.ruby-forum.com/t/going-live/159866)

<div class="topic-metadata">

**Author:** [@Andreas\_Andersson](https://www.ruby-forum.com/u/Andreas_Andersson)\
**Replies:** 1\
**Last updated:** [February 9, 2009, 4:30pm UTC](https://www.ruby-forum.com/t/going-live/159866 "2009-02-09T16:30:09Z")

</div>

Hi! We just turned on nginx and started directing our customers through it and it seems to be working fine. However, I have some questions. I started monitor the error.log as soon as we started and I get loads of st…

---

## [Migrate from apache mod\_rewrite](https://www.ruby-forum.com/t/migrate-from-apache-mod-rewrite/159869)

<div class="topic-metadata">

**Author:** [@Andreas\_Lehr](https://www.ruby-forum.com/u/Andreas_Lehr)\
**Replies:** 1\
**Last updated:** [February 9, 2009, 4:27pm UTC](https://www.ruby-forum.com/t/migrate-from-apache-mod-rewrite/159869 "2009-02-09T16:27:12Z")

</div>

Hi guys, I\`m trying to migrate one of our external programmed tools to nginx from traditional apache. But unfortunately I screw things up on migrating apache mod\_rewrite to nginx mod\_rewrite! Would be great, if one …

---

## [One ip. one file, one download at time - how?](https://www.ruby-forum.com/t/one-ip-one-file-one-download-at-time-how/159855)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 1\
**Last updated:** [February 9, 2009, 2:32pm UTC](https://www.ruby-forum.com/t/one-ip-one-file-one-download-at-time-how/159855 "2009-02-09T14:32:21Z")

</div>

hello, i would like to limit transfer on my server: one ip for one file at the time. how i can do this? thanks!

---

## [Mod\_cgi for nginx - anyone?](https://www.ruby-forum.com/t/mod-cgi-for-nginx-anyone/159677)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 24\
**Last updated:** [February 9, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/mod-cgi-for-nginx-anyone/159677 "2009-02-09T14:10:24Z")

</div>

Igor, et al: Is there a reason that there has not been an attempt to directly call CGI programs (compiled CGI, perl CGI, whatever) in nginx? I would love to take out proxying to apache if I could. Is there a blocking…

---

## [Unknown directive "set" in .../nginx.conf](https://www.ruby-forum.com/t/unknown-directive-set-in-nginx-conf/159853)

<div class="topic-metadata">

**Author:** [@Eugene\_Bragin](https://www.ruby-forum.com/u/Eugene_Bragin)\
**Replies:** 0\
**Last updated:** [February 9, 2009, 1:20pm UTC](https://www.ruby-forum.com/t/unknown-directive-set-in-nginx-conf/159853 "2009-02-09T13:20:11Z")

</div>

Hello, I’m trying to configure nginx to be working with memcached, as shown here: http://wiki.codemongers.com/NginxHttpMemcachedModule my server config looks like this: … location / { set $memcached\_key $uri; …

---

## [Nginx memcached module and strange characters](https://www.ruby-forum.com/t/nginx-memcached-module-and-strange-characters/131864)

<div class="topic-metadata">

**Author:** [@Laurent\_Thevenet](https://www.ruby-forum.com/u/Laurent_Thevenet)\
**Replies:** 6\
**Last updated:** [February 9, 2009, 12:11pm UTC](https://www.ruby-forum.com/t/nginx-memcached-module-and-strange-characters/131864 "2009-02-09T12:11:41Z")

</div>

Hi, When retrieving data via the mecached module, there is some strange characters appearing. It looks like that kind of encoding issue between utf8 and iso8859-1. Data is encoded by a rails app (via a mongrel cluste…

---

## ["reaper" is not picking up new changes to my application?](https://www.ruby-forum.com/t/reaper-is-not-picking-up-new-changes-to-my-application/159829)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 0\
**Last updated:** [February 9, 2009, 9:28am UTC](https://www.ruby-forum.com/t/reaper-is-not-picking-up-new-changes-to-my-application/159829 "2009-02-09T09:28:13Z")

</div>

Hi, Can anyone shed any light on why “reaper” (whilst seemingly working re restarting my mongrel ruby process) does not pick up changes to my application? (e.g. changing a title in a view for example). It’s like t…

---

## [Oot](https://www.ruby-forum.com/t/oot/159820)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 0\
**Last updated:** [February 9, 2009, 7:42am UTC](https://www.ruby-forum.com/t/oot/159820 "2009-02-09T07:42:43Z")

</div>

Is nginx.net still using an older version of nginx? Rather than the newest stable version? Just OOT, http://www.lumanau.web.id/2009/02/06/nginxnet-version.html

---

## [Mail module: auth cram-md5 does not work](https://www.ruby-forum.com/t/mail-module-auth-cram-md5-does-not-work/159573)

<div class="topic-metadata">

**Author:** [@Miguel\_Beccari](https://www.ruby-forum.com/u/Miguel_Beccari)\
**Replies:** 9\
**Last updated:** [February 7, 2009, 11:44am UTC](https://www.ruby-forum.com/t/mail-module-auth-cram-md5-does-not-work/159573 "2009-02-07T11:44:50Z")

</div>

Hi list, I am using nginx as a mail proxy. It works good but I experienced some errors with cram-md5 smtp auth. This is my SMTP TCP log 20 my\_host ESMTP ready EHLO macbook-pro-di-miguel-beccari.local 250-my\_host 2…

---

## [Does nginx support connect method?](https://www.ruby-forum.com/t/does-nginx-support-connect-method/159606)

<div class="topic-metadata">

**Author:** [@Delta\_Y](https://www.ruby-forum.com/u/Delta_Y)\
**Replies:** 4\
**Last updated:** [February 7, 2009, 11:13am UTC](https://www.ruby-forum.com/t/does-nginx-support-connect-method/159606 "2009-02-07T11:13:11Z")

</div>

I want to set up an http proxy and I want to know does nginx support connect method?

---

## [Perl help](https://www.ruby-forum.com/t/perl-help/159503)

<div class="topic-metadata">

**Author:** [@Kingsley\_F](https://www.ruby-forum.com/u/Kingsley_F)\
**Replies:** 6\
**Last updated:** [February 7, 2009, 11:07am UTC](https://www.ruby-forum.com/t/perl-help/159503 "2009-02-07T11:07:18Z")

</div>

Hi guys, I just need a quick hand with a rewrite rule im have issues with i need to have a url like so http://blah.com/text.php?bitstart=21000 i need to use the bitstart=21200 and using that to add the header Conte…

---

## [How to bypass http auth for certain IPs?](https://www.ruby-forum.com/t/how-to-bypass-http-auth-for-certain-ips/159686)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 1\
**Last updated:** [February 7, 2009, 8:34am UTC](https://www.ruby-forum.com/t/how-to-bypass-http-auth-for-certain-ips/159686 "2009-02-07T08:34:34Z")

</div>

Hey all, I want to impose an auth\_basic for people connecting from outsite but for people connecting from localhost they should be able to bypass the auth, the authentication should not be required to them, any idea h…

---

## [SVN with Nginx?](https://www.ruby-forum.com/t/svn-with-nginx/158696)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 3\
**Last updated:** [February 6, 2009, 7:38pm UTC](https://www.ruby-forum.com/t/svn-with-nginx/158696 "2009-02-06T19:38:18Z")

</div>

So we just started using SVN and would like to use it to update our production server running nginx. What needs to be installed / configured? Thanks

---

## [Problems with Mongrel \> 1.1 and OS X](https://www.ruby-forum.com/t/problems-with-mongrel-1-1-and-os-x/150967)

<div class="topic-metadata">

**Author:** [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Replies:** 1\
**Last updated:** [February 6, 2009, 4:35pm UTC](https://www.ruby-forum.com/t/problems-with-mongrel-1-1-and-os-x/150967 "2009-02-06T16:35:17Z")

</div>

I’ve having issues with some part of Mongrel start up process stalling with versions of Mongrel greater than 1.1 Using Mongrel Gem version 1.1 both ./script/server and ./merb boot fine But from gem version 1.1.1 b…

---

## [Bugreport - connection broke on slow clients in proxy mode](https://www.ruby-forum.com/t/bugreport-connection-broke-on-slow-clients-in-proxy-mode/159633)

<div class="topic-metadata">

**Author:** [@TomSSSSSSSS\_HSSSSla](https://www.ruby-forum.com/u/TomSSSSSSSS_HSSSSla)\
**Replies:** 2\
**Last updated:** [February 6, 2009, 4:02pm UTC](https://www.ruby-forum.com/t/bugreport-connection-broke-on-slow-clients-in-proxy-mode/159633 "2009-02-06T16:02:10Z")

</div>

Hello, we use nginx as reverse proxy to apache server and if we use proxy\_max\_temp\_file\_size directive to limit the size of files buffering, downloading larger files with slow connection is always be broken and it is…

---

## [Server optimizations for php](https://www.ruby-forum.com/t/server-optimizations-for-php/158414)

<div class="topic-metadata">

**Author:** [@Atif\_G](https://www.ruby-forum.com/u/Atif_G)\
**Replies:** 10\
**Last updated:** [February 6, 2009, 3:23pm UTC](https://www.ruby-forum.com/t/server-optimizations-for-php/158414 "2009-02-06T15:23:51Z")

</div>

Dear all, Hi, I am planning to move a 16 node php cluster to a couple of machines. The current machines have 2 GB RAM and they do the task of nginx plus they do the task of php. Each machine is running 5 php proce…

---

## [The two slashes issue - or how to append a constant to a parameter](https://www.ruby-forum.com/t/the-two-slashes-issue-or-how-to-append-a-constant-to-a-parameter/159621)

<div class="topic-metadata">

**Author:** [@dcian](https://www.ruby-forum.com/u/dcian)\
**Replies:** 2\
**Last updated:** [February 6, 2009, 1:57pm UTC](https://www.ruby-forum.com/t/the-two-slashes-issue-or-how-to-append-a-constant-to-a-parameter/159621 "2009-02-06T13:57:20Z")

</div>

Hi I have a situation that I have had to fix using set… # handle directory names by adding /index.htm location ~ ^(.\*)/$ { # matches directories set $path index.htm; fastcgi\_…

---

## [Missing $uri when performing proxy\_pass?](https://www.ruby-forum.com/t/missing-uri-when-performing-proxy-pass/159585)

<div class="topic-metadata">

**Author:** [@Thomas\_Mangin](https://www.ruby-forum.com/u/Thomas_Mangin)\
**Replies:** 2\
**Last updated:** [February 6, 2009, 10:21am UTC](https://www.ruby-forum.com/t/missing-uri-when-performing-proxy-pass/159585 "2009-02-06T10:21:09Z")

</div>

Hello, I think I hit a bug (and found a workaround) however as I may be mistaken, I would appreciate if someone could review this and let me know if the behaviour observed is normal or not. I am going to use NGINX to…

---

## [Rewrite from proxy backend with java applet](https://www.ruby-forum.com/t/rewrite-from-proxy-backend-with-java-applet/159491)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 2\
**Last updated:** [February 5, 2009, 3:12pm UTC](https://www.ruby-forum.com/t/rewrite-from-proxy-backend-with-java-applet/159491 "2009-02-05T15:12:34Z")

</div>

I am having a proxy issue that seems to be a java problem… We have a config that listens on port 10000 https and then proxies https to the backend on port 443. This works fine until I try and bring up a java applet wh…

---

## [Windows installation - setting root](https://www.ruby-forum.com/t/windows-installation-setting-root/154953)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [February 5, 2009, 8:04am UTC](https://www.ruby-forum.com/t/windows-installation-setting-root/154953 "2009-02-05T08:04:13Z")

</div>

I’m trying out the Windows port, but don’t see much in the way of documentation. How would one specify a Windows path in the nginx.conf file? For example, if I wanted to specify my root directory, which is, e.g. ‘C:\\M…

---

## [Accesslog into sql](https://www.ruby-forum.com/t/accesslog-into-sql/159444)

<div class="topic-metadata">

**Author:** [@Zoltan\_HERPAI](https://www.ruby-forum.com/u/Zoltan_HERPAI)\
**Replies:** 12\
**Last updated:** [February 4, 2009, 11:46pm UTC](https://www.ruby-forum.com/t/accesslog-into-sql/159444 "2009-02-04T23:46:46Z")

</div>

Hello, I would like to know if a module is available with which I can write my accesslogs directly into mysql, postgresql or any other rdbms. I’m using 0.6.34 currently, but would go to 0.7.x branch if such module is …

---

## [Problems compiling nginx-0.7.33, AIX, gcc](https://www.ruby-forum.com/t/problems-compiling-nginx-0-7-33-aix-gcc/159451)

<div class="topic-metadata">

**Author:** [@LOCSEIS\_Gabor](https://www.ruby-forum.com/u/LOCSEIS_Gabor)\
**Replies:** 3\
**Last updated:** [February 4, 2009, 8:45pm UTC](https://www.ruby-forum.com/t/problems-compiling-nginx-0-7-33-aix-gcc/159451 "2009-02-04T20:45:42Z")

</div>

Hello, I would like to report my efforts to compile nginx in the following environment: AIX 6.1, gcc 4.2.4 ./configure --prefix=/usr/local --user=nginx --group=nginx –without-http\_rewrite\_module --with-openssl=/usr/l…

---

## [Nginx not completly http/1.1 compliant?](https://www.ruby-forum.com/t/nginx-not-completly-http-1-1-compliant/159448)

<div class="topic-metadata">

**Author:** [@Marlon\_de\_Boer](https://www.ruby-forum.com/u/Marlon_de_Boer)\
**Replies:** 5\
**Last updated:** [February 4, 2009, 8:18pm UTC](https://www.ruby-forum.com/t/nginx-not-completly-http-1-1-compliant/159448 "2009-02-04T20:18:05Z")

</div>

Hi list, If I request the following url GET ?var=something HTTP/1.1 host: somehost.com Nginx returns an error saying 400 Bad Request. According to HTTP/1.1: Request “Note that the absolute path cannot be empty; if…

---

## [Rewrite URI include "&" problem](https://www.ruby-forum.com/t/rewrite-uri-include-problem/159443)

<div class="topic-metadata">

**Author:** [@lhmwzy](https://www.ruby-forum.com/u/lhmwzy)\
**Replies:** 2\
**Last updated:** [February 4, 2009, 5:30pm UTC](https://www.ruby-forum.com/t/rewrite-uri-include-problem/159443 "2009-02-04T17:30:25Z")

</div>

I have a rewirte rule: if (-f $request\_filename ) { rewrite ^/(./)(.)$ /file.php?path=$1$2&filename=$2 last; } if a URI include “&”,the file.php will not function normally. For example: request /1&2/test.txt the …

---

## [Separate access log for vhost?](https://www.ruby-forum.com/t/separate-access-log-for-vhost/159392)

<div class="topic-metadata">

**Author:** [@max](https://www.ruby-forum.com/u/max)\
**Replies:** 3\
**Last updated:** [February 4, 2009, 7:33am UTC](https://www.ruby-forum.com/t/separate-access-log-for-vhost/159392 "2009-02-04T07:33:26Z")

</div>

Hello, My conf file is something like this: server { listen 12.12.12.1:80; listen 12.12.12.2:80; listen 12.12.12.3:80; server\_name \_\*; All my sites are pointed to the same directory (I us…

---

## [Nginx to load balance application servers](https://www.ruby-forum.com/t/nginx-to-load-balance-application-servers/159321)

<div class="topic-metadata">

**Author:** [@zimbirti\_zimbirti](https://www.ruby-forum.com/u/zimbirti_zimbirti)\
**Replies:** 1\
**Last updated:** [February 4, 2009, 4:59am UTC](https://www.ruby-forum.com/t/nginx-to-load-balance-application-servers/159321 "2009-02-04T04:59:37Z")

</div>

I have a blog system with seperate subdomain and domains and want to use nginx to load balance application servers. I want to give total number of servers available for example 5 and want to redirect all requests to …

---

## [How to hack a mongrel cluster to restart in an alternating manner?](https://www.ruby-forum.com/t/how-to-hack-a-mongrel-cluster-to-restart-in-an-alternating-manner/159382)

<div class="topic-metadata">

**Author:** [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Replies:** 1\
**Last updated:** [February 4, 2009, 2:23am UTC](https://www.ruby-forum.com/t/how-to-hack-a-mongrel-cluster-to-restart-in-an-alternating-manner/159382 "2009-02-04T02:23:24Z")

</div>

Hello, I’ve been trying (unsuccessfully) to hack my mongrel\_cluster to re-ststart in an alternating manner. Specifically, this soluiton: http://blog.carlmercier.com/2007/09/07/a-better-approach-to-restarting-a-mongr…

---

## [Returning a different response if memcache key is set](https://www.ruby-forum.com/t/returning-a-different-response-if-memcache-key-is-set/159380)

<div class="topic-metadata">

**Author:** [@Atif\_G](https://www.ruby-forum.com/u/Atif_G)\
**Replies:** 1\
**Last updated:** [February 4, 2009, 1:42am UTC](https://www.ruby-forum.com/t/returning-a-different-response-if-memcache-key-is-set/159380 "2009-02-04T01:42:19Z")

</div>

Dear all, A day ago, we had a DDOS attack. To remedy that we have put some logic on the php application to check number of access on php per minute and if certain limit is matched do something like “print ‘please tr…

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

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