# Server

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

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

---

## [Nginx + memcached + xcache - faster or not?](https://www.ruby-forum.com/t/nginx-memcached-xcache-faster-or-not/175013)

<div class="topic-metadata">

**Author:** [@SE7EN](https://www.ruby-forum.com/u/SE7EN)\
**Replies:** 1\
**Last updated:** [September 5, 2009, 9:53pm UTC](https://www.ruby-forum.com/t/nginx-memcached-xcache-faster-or-not/175013 "2009-09-05T21:53:39Z")

</div>

Hi I installed xcache on my server, I just wondering if installing memcached would speed up things. I think not but an expert opinion of someone more experienced would help.So, nginx+xcache / nginx+memcached or nginx …

---

## [General question about number of connections](https://www.ruby-forum.com/t/general-question-about-number-of-connections/174978)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 1\
**Last updated:** [September 5, 2009, 6:55am UTC](https://www.ruby-forum.com/t/general-question-about-number-of-connections/174978 "2009-09-05T06:55:00Z")

</div>

Hi All, I finally figured out how to read the “stats” that nginx provides, although they are basic, its awesome. Our web server CPU and load get high when our traffic spikes and I’m just curious if someone could gi…

---

## [Right way to get form variables (POST) in c module?](https://www.ruby-forum.com/t/right-way-to-get-form-variables-post-in-c-module/196993)

<div class="topic-metadata">

**Author:** [@Ranier\_Vilela](https://www.ruby-forum.com/u/Ranier_Vilela)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 9:57pm UTC](https://www.ruby-forum.com/t/right-way-to-get-form-variables-post-in-c-module/196993 "2009-09-04T21:57:06Z")

</div>

Hello all, What right way to get form variables (POST) in c module? Thanks. Ranier Vilela

---

## [Mongrel Timeout for System Calls](https://www.ruby-forum.com/t/mongrel-timeout-for-system-calls/174966)

<div class="topic-metadata">

**Author:** [@jmadtech](https://www.ruby-forum.com/u/jmadtech)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/mongrel-timeout-for-system-calls/174966 "2009-09-04T21:45:36Z")

</div>

I’ve got a problem with timing out a C RFC call. Essentially, I’ve got code that initializes and executes an RFC to a remote server that, depending on the server, could take a significant amount of time to return a re…

---

## [Right way to get form variables (POST) in c module?](https://www.ruby-forum.com/t/right-way-to-get-form-variables-post-in-c-module/174962)

<div class="topic-metadata">

**Author:** [@Ranier\_Vilela](https://www.ruby-forum.com/u/Ranier_Vilela)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 7:36pm UTC](https://www.ruby-forum.com/t/right-way-to-get-form-variables-post-in-c-module/174962 "2009-09-04T19:36:00Z")

</div>

Hello all, What right way to get form variables (POST) in c module? Thanks. Ranier Vilela

---

## [Proxy or fastcgi for python app](https://www.ruby-forum.com/t/proxy-or-fastcgi-for-python-app/174732)

<div class="topic-metadata">

**Author:** [@William\_Dode](https://www.ruby-forum.com/u/William_Dode)\
**Replies:** 7\
**Last updated:** [September 4, 2009, 6:50pm UTC](https://www.ruby-forum.com/t/proxy-or-fastcgi-for-python-app/174732 "2009-09-04T18:50:55Z")

</div>

Hi, I’m going to try nginx with somes python apps. Thanks to wsgi i can easily choose between fastcgi or proxy. How can i choose ? I don’t care if one is a little bit more or less fast. My problem is to run on a sma…

---

## [Help: cache or not by cookie](https://www.ruby-forum.com/t/help-cache-or-not-by-cookie/170662)

<div class="topic-metadata">

**Author:** [@tonyy](https://www.ruby-forum.com/u/tonyy)\
**Replies:** 6\
**Last updated:** [September 4, 2009, 6:08pm UTC](https://www.ruby-forum.com/t/help-cache-or-not-by-cookie/170662 "2009-09-04T18:08:46Z")

</div>

The requirement is: When a cookie exist, not return cached file and not cache the response, if the cookie not exist, return cached file and . cache the response. In the past, we use a standalone cacheserver, the confi…

---

## [SSI goes to backend](https://www.ruby-forum.com/t/ssi-goes-to-backend/174914)

<div class="topic-metadata">

**Author:** [@zepolen](https://www.ruby-forum.com/u/zepolen)\
**Replies:** 10\
**Last updated:** [September 4, 2009, 5:59pm UTC](https://www.ruby-forum.com/t/ssi-goes-to-backend/174914 "2009-09-04T17:59:59Z")

</div>

In the html for the backend app server is: Going to directly to http://www.domain.com/ssi/base.html in a browser shows the file ok However if it gets loaded as ssi, the request seems to go to the backend (which says…

---

## [Not opening default site page via FastCGI and try\_files](https://www.ruby-forum.com/t/not-opening-default-site-page-via-fastcgi-and-try-files/174946)

<div class="topic-metadata">

**Author:** [@personxxl](https://www.ruby-forum.com/u/personxxl)\
**Replies:** 3\
**Last updated:** [September 4, 2009, 3:09pm UTC](https://www.ruby-forum.com/t/not-opening-default-site-page-via-fastcgi-and-try-files/174946 "2009-09-04T15:09:34Z")

</div>

Hi, I use FastCGI and try\_files with Nginx. FastCGI catches all url patterns and render appropriate page. It works well for urls like site.com/some-page site.com/index.htm site.com/any-page.htm site.com/any-wildca…

---

## [When will nginx support persistent proxied connection](https://www.ruby-forum.com/t/when-will-nginx-support-persistent-proxied-connection/174937)

<div class="topic-metadata">

**Author:** [@ZhangSTony](https://www.ruby-forum.com/u/ZhangSTony)\
**Replies:** 2\
**Last updated:** [September 4, 2009, 1:17pm UTC](https://www.ruby-forum.com/t/when-will-nginx-support-persistent-proxied-connection/174937 "2009-09-04T13:17:46Z")

</div>

Hi when will nginx support persistent proxied connection? I think I have asked this question before, I am really looking forward this feature Thx Jie Tony ZHANG Tudou.com - Tech - OP - Site Email: removed\_email\_ad…

---

## [Fastcgi causing 502 errors?](https://www.ruby-forum.com/t/fastcgi-causing-502-errors/174908)

<div class="topic-metadata">

**Author:** [@Nuno\_MagalhSSSSes](https://www.ruby-forum.com/u/Nuno_MagalhSSSSes)\
**Replies:** 6\
**Last updated:** [September 4, 2009, 3:27am UTC](https://www.ruby-forum.com/t/fastcgi-causing-502-errors/174908 "2009-09-04T03:27:04Z")

</div>

I’m running nginx/0.8.10 and PHP 5.2.10 on Debian Sid with a 2.6.30-1-amd64 kernel. This is my desktop machine, mainly for testing and screwing around with configurations (although screwing up also comes to mind). I’v…

---

## [Unable to build](https://www.ruby-forum.com/t/unable-to-build/174891)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 15\
**Last updated:** [September 3, 2009, 9:11pm UTC](https://www.ruby-forum.com/t/unable-to-build/174891 "2009-09-03T21:11:11Z")

</div>

This configure worked on Ubuntu 8.04 with 7.13 but on 7.61 I am getting an error. I have treid with and without the slash and even ln -s /usr /usr/openssl to appease the compiler but nothing seems to work. Can …

---

## [Balancing by IP rather than by request?](https://www.ruby-forum.com/t/balancing-by-ip-rather-than-by-request/174830)

<div class="topic-metadata">

**Author:** [@hydrow](https://www.ruby-forum.com/u/hydrow)\
**Replies:** 2\
**Last updated:** [September 3, 2009, 8:51pm UTC](https://www.ruby-forum.com/t/balancing-by-ip-rather-than-by-request/174830 "2009-09-03T20:51:16Z")

</div>

Hello. Looking a way to bind IPs to specific upstream. Like load balancing to work for new IPs only. Like known clients sent to upstream used at their first connection. Any ideas? Thanks. Posted at Nginx Forum:

---

## [Memcached problems](https://www.ruby-forum.com/t/memcached-problems/174711)

<div class="topic-metadata">

**Author:** [@gromminger](https://www.ruby-forum.com/u/gromminger)\
**Replies:** 11\
**Last updated:** [September 3, 2009, 4:45pm UTC](https://www.ruby-forum.com/t/memcached-problems/174711 "2009-09-03T16:45:54Z")

</div>

Hallo folks again, i try to configure nginx to deliver swf files etc, and wanted to cache them within memcached. but until now i didnt have much success with that. what i already did: include/excluded parts of the c…

---

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

<div class="topic-metadata">

**Author:** [@Tomasz\_P](https://www.ruby-forum.com/u/Tomasz_P)\
**Replies:** 9\
**Last updated:** [September 3, 2009, 4:40pm UTC](https://www.ruby-forum.com/t/location-question/174872 "2009-09-03T16:40:38Z")

</div>

I have a request: http://test.dev/imgheaders/\<img\_hash\>/\<img\_serialize\> What I want to achieve is, get from location \<img\_hash\>, and check if file exists, if it exists then serve the file. if file not exists pass \<i…

---

## [Re: Security Anouncments and Stable Updates](https://www.ruby-forum.com/t/re-security-anouncments-and-stable-updates/174889)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 4:32pm UTC](https://www.ruby-forum.com/t/re-security-anouncments-and-stable-updates/174889 "2009-09-03T16:32:26Z")

</div>

That forum is for Forum announcements. Igor makes nginx announcements and they are posted to the mailing list and its integrated forum. If and when another mailing list is created then it will be included as a separat…

---

## [Nginx-0.8.11](https://www.ruby-forum.com/t/nginx-0-8-11/174553)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 49\
**Last updated:** [September 3, 2009, 4:16pm UTC](https://www.ruby-forum.com/t/nginx-0-8-11/174553 "2009-09-03T16:16:03Z")

</div>

Changes with nginx 0.8.11 28 Aug 2009 \*) Change: directive "gzip\_disable msie6" enables gzipping for MSIE 6.0 SV1. \*) Feature: file AIO support on FreeBSD and Linux. \*) Featu…

---

## [Nginx + mod\_scgi compile help under FreeBSD](https://www.ruby-forum.com/t/nginx-mod-scgi-compile-help-under-freebsd/174881)

<div class="topic-metadata">

**Author:** [@Artifex\_Maximus](https://www.ruby-forum.com/u/Artifex_Maximus)\
**Replies:** 4\
**Last updated:** [September 3, 2009, 3:48pm UTC](https://www.ruby-forum.com/t/nginx-mod-scgi-compile-help-under-freebsd/174881 "2009-09-03T15:48:32Z")

</div>

Hi! I would like to use mod\_scgi under FreeBSD. I’ve modified distfile, Makefile for using tip.tar.gz as module and using the correct size, md5 and sha256 checksum values. On compile I got the following error (extra…

---

## [Nginx.net not working?](https://www.ruby-forum.com/t/nginx-net-not-working/174818)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 2\
**Last updated:** [September 3, 2009, 2:28pm UTC](https://www.ruby-forum.com/t/nginx-net-not-working/174818 "2009-09-03T14:28:54Z")

</div>

Im trying to download the latest version of nginx (0.8.13) but seems the server is down, especially sysoev.ru. Does anyone has the same issue?

---

## [Conflicting server name - i don't understand](https://www.ruby-forum.com/t/conflicting-server-name-i-dont-understand/174760)

<div class="topic-metadata">

**Author:** [@ktm](https://www.ruby-forum.com/u/ktm)\
**Replies:** 12\
**Last updated:** [September 3, 2009, 2:23pm UTC](https://www.ruby-forum.com/t/conflicting-server-name-i-dont-understand/174760 "2009-09-03T14:23:02Z")

</div>

Hi, i have a strange problem, I configured two vhosts files but when i start nginx it gives the following error although the two vhosts are configured correctly, almost identical (except domain names). When I remove o…

---

## [Nginx.conf -\> @ symbol (at sign)](https://www.ruby-forum.com/t/nginx-conf-symbol-at-sign/174459)

<div class="topic-metadata">

**Author:** [@jdvogt](https://www.ruby-forum.com/u/jdvogt)\
**Replies:** 2\
**Last updated:** [September 3, 2009, 11:12am UTC](https://www.ruby-forum.com/t/nginx-conf-symbol-at-sign/174459 "2009-09-03T11:12:46Z")

</div>

Can anyone tell me the functionality of the @ symbol in the following statement? location @joomla { rewrite ^(.\*)$ /index.php?q=$1 last; } (from http://wiki.nginx.org/NginxJoomla) Thanks Posted at Nginx Forum:

---

## [Verisign ssl certificate issue](https://www.ruby-forum.com/t/verisign-ssl-certificate-issue/174858)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 4\
**Last updated:** [September 3, 2009, 8:18am UTC](https://www.ruby-forum.com/t/verisign-ssl-certificate-issue/174858 "2009-09-03T08:18:54Z")

</div>

We recently switched from GoDaddy SSL certificate to Verisign’s. Installation on Nginx went well. Some users and browsers are reporting that the “certificate was signed by an unknown authority”. You can try this by …

---

## [Load balancing PHP via Nginx](https://www.ruby-forum.com/t/load-balancing-php-via-nginx/174855)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 5\
**Last updated:** [September 3, 2009, 6:08am UTC](https://www.ruby-forum.com/t/load-balancing-php-via-nginx/174855 "2009-09-03T06:08:54Z")

</div>

So the time has come for us to add another web server (number 2) to our configuration to help with the amount of connections we’re getting. I’m looking for some basic recommendations in terms of configuration of ngin…

---

## [Serving cached expired content?](https://www.ruby-forum.com/t/serving-cached-expired-content/174831)

<div class="topic-metadata">

**Author:** [@ryanjwh](https://www.ruby-forum.com/u/ryanjwh)\
**Replies:** 1\
**Last updated:** [September 3, 2009, 3:27am UTC](https://www.ruby-forum.com/t/serving-cached-expired-content/174831 "2009-09-03T03:27:21Z")

</div>

Hi all, new to Nginx here and am investigating whether it can possibly replace our current configuration in production. I’ve searched a bit on this but haven’t come up with much: We run a web cluster that serves files…

---

## [Alias routing in nginx-0.8.13](https://www.ruby-forum.com/t/alias-routing-in-nginx-0-8-13/174788)

<div class="topic-metadata">

**Author:** [@pcdinh](https://www.ruby-forum.com/u/pcdinh)\
**Replies:** 2\
**Last updated:** [September 2, 2009, 9:55pm UTC](https://www.ruby-forum.com/t/alias-routing-in-nginx-0-8-13/174788 "2009-09-02T21:55:55Z")

</div>

Hi all, I just upgraded to nginx-0.8.13 and found that there is a change in alias routing, making part of my website does not work any more. My configuration location ~ /gostats($|/.\*) { autoindex on; …

---

## [Alternating 404 and 200](https://www.ruby-forum.com/t/alternating-404-and-200/174554)

<div class="topic-metadata">

**Author:** [@Nuno\_MagalhSSSSes](https://www.ruby-forum.com/u/Nuno_MagalhSSSSes)\
**Replies:** 2\
**Last updated:** [September 2, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/alternating-404-and-200/174554 "2009-09-02T21:26:42Z")

</div>

Hi, I’ve had this issue lately and i’ve been trying to find where did i goof up but i’m getting clueless. I’ve recently compiled 0.8.10 (and a few days before 0.8.9) on a Debian/linux amd64. Other than messing a bit …

---

## [Proxy\_set\_header variable evaluation](https://www.ruby-forum.com/t/proxy-set-header-variable-evaluation/174446)

<div class="topic-metadata">

**Author:** [@Arvind\_Jayaprakash](https://www.ruby-forum.com/u/Arvind_Jayaprakash)\
**Replies:** 4\
**Last updated:** [September 1, 2009, 7:16pm UTC](https://www.ruby-forum.com/t/proxy-set-header-variable-evaluation/174446 "2009-09-01T19:16:33Z")

</div>

I am trying to do some tricks with upstream+proxy and ran into what seems like a limitation of the proxy\_set\_header feature. When an upstream’s response triggers resending the request to the next upsteam, I was hoping…

---

## [Nginx logfile rotation](https://www.ruby-forum.com/t/nginx-logfile-rotation/174723)

<div class="topic-metadata">

**Author:** [@ray](https://www.ruby-forum.com/u/ray)\
**Replies:** 7\
**Last updated:** [September 1, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/nginx-logfile-rotation/174723 "2009-09-01T18:38:30Z")

</div>

Am trying to configure for logfile rotation using logrotate with nginx (0.7.61). As the logrotate script runs, the old logfile is renamed and a new one is created, but nginx still writes to the old (renamed) logfile …

---

## [Weird Memleak problem](https://www.ruby-forum.com/t/weird-memleak-problem/174650)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 13\
**Last updated:** [September 1, 2009, 9:47am UTC](https://www.ruby-forum.com/t/weird-memleak-problem/174650 "2009-09-01T09:47:24Z")

</div>

I had nginx 0.6.32 and just upgraded to 0.7.61 and still have the same memleak issue. What happens is as soon as I start nginx, it starts using ram and continues to use more and more and more over a 16 hour period is …

---

## [Load balancing and caching combination problem](https://www.ruby-forum.com/t/load-balancing-and-caching-combination-problem/174676)

<div class="topic-metadata">

**Author:** [@fredericsidler](https://www.ruby-forum.com/u/fredericsidler)\
**Replies:** 2\
**Last updated:** [September 1, 2009, 7:50am UTC](https://www.ruby-forum.com/t/load-balancing-and-caching-combination-problem/174676 "2009-09-01T07:50:15Z")

</div>

I just installed nginx 0.8.11 in order to use the $upstream\_cache\_status variable. I can see now in the logs that my URLs (ics feed URLs) are cached and retrieved from the cache (MISS, HIT, EXPIRED) based on my cachin…

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

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