# Server

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

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

---

## [Bug in listen in 0.6.{32,35}?](https://www.ruby-forum.com/t/bug-in-listen-in-0-6-32-35/165615)

<div class="topic-metadata">

**Author:** [@mikew](https://www.ruby-forum.com/u/mikew)\
**Replies:** 5\
**Last updated:** [April 15, 2009, 8:58pm UTC](https://www.ruby-forum.com/t/bug-in-listen-in-0-6-32-35/165615 "2009-04-15T20:58:07Z")

</div>

Hey All, We’re extremely happily using nginx 0.5.blah for much hosting. 0.5.x isn’t broke, so we have no plans to “fix” it in the forseable future. However, we have a good use for gzip\_static, so have to move to 0.6.…

---

## [Batcache, Wordpress and nginx?!](https://www.ruby-forum.com/t/batcache-wordpress-and-nginx/165467)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 6\
**Last updated:** [April 15, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/batcache-wordpress-and-nginx/165467 "2009-04-15T17:20:29Z")

</div>

Im using Wordpress for my blog and its running on a Xen VPS with nginx 0.7.51, php-fpm and the lastest memcache daemon with memcache extension in php. Everything works fine, but I would like to speed up the blog so I …

---

## [Re: Centralized logging for multiple servers](https://www.ruby-forum.com/t/re-centralized-logging-for-multiple-servers/165590)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 3:41pm UTC](https://www.ruby-forum.com/t/re-centralized-logging-for-multiple-servers/165590 "2009-04-15T15:41:48Z")

</div>

Yes I already used it. But it seems taking too much resources Is there any other way that we can merge this logs?

---

## [Re: Centralized logging for multiple servers](https://www.ruby-forum.com/t/re-centralized-logging-for-multiple-servers/165586)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 3:30pm UTC](https://www.ruby-forum.com/t/re-centralized-logging-for-multiple-servers/165586 "2009-04-15T15:30:33Z")

</div>

Then how can we join those logs that’s sent to central host?

---

## [Will nginx support HTTP Etag?](https://www.ruby-forum.com/t/will-nginx-support-http-etag/165478)

<div class="topic-metadata">

**Author:** [@Xia\_Q](https://www.ruby-forum.com/u/Xia_Q)\
**Replies:** 5\
**Last updated:** [April 15, 2009, 5:03am UTC](https://www.ruby-forum.com/t/will-nginx-support-http-etag/165478 "2009-04-15T05:03:43Z")

</div>

Hi, After reading http://wiki.nginx.org, I find out that nginx has not the offical support for the HTTP Etag, HTTP/1.1: Header Field Definitions . I want to know whether the future version of nginx will add this fea…

---

## [Another rewrite question http://www.domain.com/co/](https://www.ruby-forum.com/t/another-rewrite-question-http-www-domain-com-co/165425)

<div class="topic-metadata">

**Author:** [@devin](https://www.ruby-forum.com/u/devin)\
**Replies:** 4\
**Last updated:** [April 15, 2009, 2:11am UTC](https://www.ruby-forum.com/t/another-rewrite-question-http-www-domain-com-co/165425 "2009-04-15T02:11:41Z")

</div>

I have tried tons of combinations without any luck: I want to get this rule: http://www.domain.com/uk/ → index.php?country=uk From Apache: RewriteRule ^({2,}/)$ index.php?country=$1 RewriteRule ^({2,})$ index.php?co…

---

## [Cache forever header](https://www.ruby-forum.com/t/cache-forever-header/165443)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [April 14, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/cache-forever-header/165443 "2009-04-14T21:39:51Z")

</div>

Is it possible to add a cache forever header in nginx for static files thanks

---

## [Releasing Open Source Software](https://www.ruby-forum.com/t/releasing-open-source-software/165485)

<div class="topic-metadata">

**Author:** [@larios](https://www.ruby-forum.com/u/larios)\
**Replies:** 0\
**Last updated:** [April 14, 2009, 2:16pm UTC](https://www.ruby-forum.com/t/releasing-open-source-software/165485 "2009-04-14T14:16:19Z")

</div>

http://www.dwheeler.com/blog/2009/04/13#releasing-floss-software

---

## [Php-fastcgi stalling](https://www.ruby-forum.com/t/php-fastcgi-stalling/165271)

<div class="topic-metadata">

**Author:** [@Kiril\_A](https://www.ruby-forum.com/u/Kiril_A)\
**Replies:** 13\
**Last updated:** [April 14, 2009, 1:48pm UTC](https://www.ruby-forum.com/t/php-fastcgi-stalling/165271 "2009-04-14T13:48:38Z")

</div>

Ok, here is a problem I had before but did not pay enough attention. I have php-cgi spawned with a simple init.d script. 10 child processed. I send one request to a PHP script let’s say sloooooow.php, so the browser w…

---

## [For the life of me I cannot find reference to "if" condition syntax](https://www.ruby-forum.com/t/for-the-life-of-me-i-cannot-find-reference-to-if-condition-syntax/165447)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [April 14, 2009, 3:37am UTC](https://www.ruby-forum.com/t/for-the-life-of-me-i-cannot-find-reference-to-if-condition-syntax/165447 "2009-04-14T03:37:11Z")

</div>

What is equals to, not equals to, regex, etc, etc. \*~ != ^~ etc etc. Specifically for the “if” statement. i.e. if ($remote\_addr NOT EQUALS TO 1.2.3.4) { } is that an option?

---

## [Phpmyadmin and nginx](https://www.ruby-forum.com/t/phpmyadmin-and-nginx/164561)

<div class="topic-metadata">

**Author:** [@uros678](https://www.ruby-forum.com/u/uros678)\
**Replies:** 14\
**Last updated:** [April 14, 2009, 1:29am UTC](https://www.ruby-forum.com/t/phpmyadmin-and-nginx/164561 "2009-04-14T01:29:07Z")

</div>

Hello, I’m new to this forum and nginx, so please go easy on me. I have a question about setting up a server for phpmyadmin. I’m using debian lenny. Oh, and did I mention that I don’t have “a lot” of web experience a…

---

## [Default virtual server & server sequence in nginx.conf](https://www.ruby-forum.com/t/default-virtual-server-server-sequence-in-nginx-conf/165395)

<div class="topic-metadata">

**Author:** [@alf](https://www.ruby-forum.com/u/alf)\
**Replies:** 2\
**Last updated:** [April 13, 2009, 8:46pm UTC](https://www.ruby-forum.com/t/default-virtual-server-server-sequence-in-nginx-conf/165395 "2009-04-13T20:46:06Z")

</div>

Hello :slight\_smile: I have been trying to wrap my head around this, read a lot of docs, but I just cant seem to understand, so if anyone could enlighten me. My example: I want to set up a default virtual server (vho…

---

## [Nginx-0.7.51](https://www.ruby-forum.com/t/nginx-0-7-51/165326)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 3\
**Last updated:** [April 13, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/nginx-0-7-51/165326 "2009-04-13T12:53:48Z")

</div>

Changes with nginx 0.7.51 12 Apr 2009 \*) Feature: the "try\_files" directive supports a response code in the fallback parameter. \*) Feature: now any response code can be used i…

---

## [Prevent hotlinking](https://www.ruby-forum.com/t/prevent-hotlinking/165336)

<div class="topic-metadata">

**Author:** [@max](https://www.ruby-forum.com/u/max)\
**Replies:** 8\
**Last updated:** [April 12, 2009, 10:15pm UTC](https://www.ruby-forum.com/t/prevent-hotlinking/165336 "2009-04-12T22:15:02Z")

</div>

Hello all, I tried to use the following code to prevent hotlinking. But it blockes myself as well, anyone got any idea? location ~\* (.jpg|.png|.css)$ { valid\_referers blocked domain.com \*.domain.com; if ($invalid\_re…

---

## [Reverse proxy and URL rewrite](https://www.ruby-forum.com/t/reverse-proxy-and-url-rewrite/165316)

<div class="topic-metadata">

**Author:** [@gefafwisp](https://www.ruby-forum.com/u/gefafwisp)\
**Replies:** 2\
**Last updated:** [April 12, 2009, 8:53pm UTC](https://www.ruby-forum.com/t/reverse-proxy-and-url-rewrite/165316 "2009-04-12T20:53:04Z")

</div>

Hi all, I have a Python twisted server running behind nginx. The twisted server expects to be deployed to serve results relative to / However, I actually want it deployed at /buildbot. Is there a way to mangle the re…

---

## [Is nginx support webdav?](https://www.ruby-forum.com/t/is-nginx-support-webdav/165328)

<div class="topic-metadata">

**Author:** [@howard\_chen](https://www.ruby-forum.com/u/howard_chen)\
**Replies:** 2\
**Last updated:** [April 12, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/is-nginx-support-webdav/165328 "2009-04-12T19:08:57Z")

</div>

Hey, In the website it said it support PUT, DELETE, MKCOL, COPY and MOVE methods; So it that mean nginx support webdav? Thanks.

---

## [Question on module user context](https://www.ruby-forum.com/t/question-on-module-user-context/165295)

<div class="topic-metadata">

**Author:** [@Delta\_Y](https://www.ruby-forum.com/u/Delta_Y)\
**Replies:** 3\
**Last updated:** [April 11, 2009, 9:58pm UTC](https://www.ruby-forum.com/t/question-on-module-user-context/165295 "2009-04-11T21:58:15Z")

</div>

Hi , If I set a context to a module with ngx\_http\_set\_ctx(r, c, module) Is this context valid only for current http request? Should I set the context for each new http request? BR, DeltaY

---

## [Would "root" allow for captures?](https://www.ruby-forum.com/t/would-root-allow-for-captures/165212)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [April 11, 2009, 7:36pm UTC](https://www.ruby-forum.com/t/would-root-allow-for-captures/165212 "2009-04-11T19:36:33Z")

</div>

i’d like to do something like: server { listen 80; server\_name \*.user.foo.com; root /home/user/web/$1; } this would be basically required too: server { listen 80; server\_name \*.user.foo.com; root /home/user/web…

---

## [Nginx + caching of static files](https://www.ruby-forum.com/t/nginx-caching-of-static-files/164897)

<div class="topic-metadata">

**Author:** [@Payam\_C](https://www.ruby-forum.com/u/Payam_C)\
**Replies:** 20\
**Last updated:** [April 11, 2009, 6:09am UTC](https://www.ruby-forum.com/t/nginx-caching-of-static-files/164897 "2009-04-11T06:09:55Z")

</div>

Hi Guys, I was hoping someone could point out a document where it can teach me how to setup nginx + caching. I know that traditionally nginx did not have a native caching and it required you to run ncache or cachemem …

---

## [403 Forbidden Mediawiki](https://www.ruby-forum.com/t/403-forbidden-mediawiki/165257)

<div class="topic-metadata">

**Author:** [@SSSlippy](https://www.ruby-forum.com/u/SSSlippy)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 10:42pm UTC](https://www.ruby-forum.com/t/403-forbidden-mediawiki/165257 "2009-04-10T22:42:19Z")

</div>

This is my config file however when going to http://ssslippy.com/wiki/ it gives me a 403 error. I cant figure out for the life of me why. Anyone got an idea? In the error logs I see 2009/04/10 16:27:44 6421#0: \*1 “…

---

## [Fastcgi timeout at big requests](https://www.ruby-forum.com/t/fastcgi-timeout-at-big-requests/165235)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 9\
**Last updated:** [April 10, 2009, 8:55pm UTC](https://www.ruby-forum.com/t/fastcgi-timeout-at-big-requests/165235 "2009-04-10T20:55:43Z")

</div>

I have nginx 0.6.36 with php-fastcgi. Im using SquirrelMail and have a mail that is 25M, no attachement, just a text mail so big. Im trying to read it, but fastcgi ends-up in 2009/04/10 13:55:35 \[error\] 22626#0: \*537 …

---

## [Nested SSI statements?](https://www.ruby-forum.com/t/nested-ssi-statements/165193)

<div class="topic-metadata">

**Author:** [@Edward\_Stow](https://www.ruby-forum.com/u/Edward_Stow)\
**Replies:** 1\
**Last updated:** [April 10, 2009, 12:48pm UTC](https://www.ruby-forum.com/t/nested-ssi-statements/165193 "2009-04-10T12:48:06Z")

</div>

Hi, AFAICT nginx does not support nested ssi statement: Is this correct – or am I doing something wrong. header.html.inc contains among other html – Edward Stow

---

## [Logging embedded Perl return value](https://www.ruby-forum.com/t/logging-embedded-perl-return-value/165104)

<div class="topic-metadata">

**Author:** [@davidc](https://www.ruby-forum.com/u/davidc)\
**Replies:** 3\
**Last updated:** [April 10, 2009, 12:48pm UTC](https://www.ruby-forum.com/t/logging-embedded-perl-return-value/165104 "2009-04-10T12:48:06Z")

</div>

I’m testing the embedded perl module. Is it possible to log the return value? i.e. can I set $return to capture the return value of the handler in this example? log\_format main ‘Return value is $return’; access\_log …

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/165219)

<div class="topic-metadata">

**Author:** [@Laurent\_Thevenet](https://www.ruby-forum.com/u/Laurent_Thevenet)\
**Replies:** 2\
**Last updated:** [April 10, 2009, 10:32am UTC](https://www.ruby-forum.com/t/no-subject/165219 "2009-04-10T10:32:47Z")

</div>

unsubscribe nginx removed\_email\_address@domain.invalid

---

## [How to proxy a webdav request](https://www.ruby-forum.com/t/how-to-proxy-a-webdav-request/165108)

<div class="topic-metadata">

**Author:** [@iravana](https://www.ruby-forum.com/u/iravana)\
**Replies:** 2\
**Last updated:** [April 10, 2009, 9:13am UTC](https://www.ruby-forum.com/t/how-to-proxy-a-webdav-request/165108 "2009-04-10T09:13:44Z")

</div>

All, I am trying to proxy a PROPFIND request to a webdav server. So essentially I am trying to send any requests made to https://localhost/webdav to another server https://my.webdavserver.com. I tried to do this by s…

---

## [All request is redirected to one port if there is multiple listen in default server section](https://www.ruby-forum.com/t/all-request-is-redirected-to-one-port-if-there-is-multiple-listen-in-default-server-section/165203)

<div class="topic-metadata">

**Author:** [@Delta\_Y](https://www.ruby-forum.com/u/Delta_Y)\
**Replies:** 2\
**Last updated:** [April 10, 2009, 8:56am UTC](https://www.ruby-forum.com/t/all-request-is-redirected-to-one-port-if-there-is-multiple-listen-in-default-server-section/165203 "2009-04-10T08:56:12Z")

</div>

I use the following config: server { listen 192.168.1.102:80; listen 192.168.1.102:81; server\_name \_; #default return 444; } #upstream cfg upstream web\_upstream0 { server 192.168.39.100:81 max\_fails=3 f…

---

## [Can nginx hide port number and rewrites for virtualhost?](https://www.ruby-forum.com/t/can-nginx-hide-port-number-and-rewrites-for-virtualhost/165196)

<div class="topic-metadata">

**Author:** [@sdotsen](https://www.ruby-forum.com/u/sdotsen)\
**Replies:** 1\
**Last updated:** [April 10, 2009, 8:19am UTC](https://www.ruby-forum.com/t/can-nginx-hide-port-number-and-rewrites-for-virtualhost/165196 "2009-04-10T08:19:22Z")

</div>

I’m running Oracle Collab Suite on port 7777 and 7778. Oracle installed its own Apache and hacking it has proven to be difficult. For one thing, I can’t seem to get VirtualHost to work correctly. Since it doesnt use p…

---

## [Pop3 server](https://www.ruby-forum.com/t/pop3-server/165093)

<div class="topic-metadata">

**Author:** [@androo](https://www.ruby-forum.com/u/androo)\
**Replies:** 2\
**Last updated:** [April 9, 2009, 6:47pm UTC](https://www.ruby-forum.com/t/pop3-server/165093 "2009-04-09T18:47:48Z")

</div>

Can nginx act as a pop3 server or only as a pop3 proxy server? In other words, can I use it to fetch e-mail directly from my maildir folders, or do I need to be running something like Dovecot, Cyrus, or Courier as wel…

---

## [Lots of connections on TIME\_WAIT state](https://www.ruby-forum.com/t/lots-of-connections-on-time-wait-state/164940)

<div class="topic-metadata">

**Author:** [@Deepan\_C](https://www.ruby-forum.com/u/Deepan_C)\
**Replies:** 10\
**Last updated:** [April 9, 2009, 11:22am UTC](https://www.ruby-forum.com/t/lots-of-connections-on-time-wait-state/164940 "2009-04-09T11:22:45Z")

</div>

Hi, I am using nginx with fast-cgi . When I run $netstat -np | grep 127.0.0.1:9000 I find lot of connections in TIME\_WAIT state. Is this because of high keepalive\_timeout value ? When lot of people use (5 requests…

---

## [Add support for chunked input encoding in nginx](https://www.ruby-forum.com/t/add-support-for-chunked-input-encoding-in-nginx/133547)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 4\
**Last updated:** [April 9, 2009, 11:13am UTC](https://www.ruby-forum.com/t/add-support-for-chunked-input-encoding-in-nginx/133547 "2009-04-09T11:13:52Z")

</div>

Hi. How hard is to add support for chunked input encoding in Nginx? I’m not talking about generic support, but only support for a very specialized module I’m planning to write. Reading the sources I see this: if (r-\>…

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

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