# Server

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

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

---

## [Debianized Source Install](https://www.ruby-forum.com/t/debianized-source-install/159282)

<div class="topic-metadata">

**Author:** [@James\_Robertson](https://www.ruby-forum.com/u/James_Robertson)\
**Replies:** 1\
**Last updated:** [February 3, 2009, 8:54pm UTC](https://www.ruby-forum.com/t/debianized-source-install/159282 "2009-02-03T20:54:52Z")

</div>

I am running Debian Lenny but want to use the latest stable version of nginx but have it “debianized” so all the startup scripts, logrotate, conf files etc are in the locations that installing from a debian package w…

---

## [When download a file named with english and num and chinese character,the file name is garbled](https://www.ruby-forum.com/t/when-download-a-file-named-with-english-and-num-and-chinese-character-the-file-name-is-garbled/159301)

<div class="topic-metadata">

**Author:** [@lhmwzy](https://www.ruby-forum.com/u/lhmwzy)\
**Replies:** 3\
**Last updated:** [February 3, 2009, 8:28pm UTC](https://www.ruby-forum.com/t/when-download-a-file-named-with-english-and-num-and-chinese-character-the-file-name-is-garbled/159301 "2009-02-03T20:28:22Z")

</div>

When download a file named with english and num and chinese character,ÇÉ»¢¿ìÀÖ°æ2008Äê12ÔÂºÅDVD0812.iso,for example,the file name will garbled like “%c7%c9%bb%a2%bf%ec%c0%d6%b0%e62008%c4%ea12%d4%c2%ba%c5DVD0812.iso”…

---

## [Md5 as memcached\_key](https://www.ruby-forum.com/t/md5-as-memcached-key/158673)

<div class="topic-metadata">

**Author:** [@gadogado](https://www.ruby-forum.com/u/gadogado)\
**Replies:** 5\
**Last updated:** [February 3, 2009, 4:22pm UTC](https://www.ruby-forum.com/t/md5-as-memcached-key/158673 "2009-02-03T16:22:03Z")

</div>

Hello, Does anyone know if nginx can calculate the md5 of a $request\_uri string? I’d like to set the $memcached\_key as the md5 of the request\_uri when passing requests for cached content to my memcached instance. I…

---

## [Nginx-0.7.33](https://www.ruby-forum.com/t/nginx-0-7-33/159208)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 2\
**Last updated:** [February 3, 2009, 10:54am UTC](https://www.ruby-forum.com/t/nginx-0-7-33/159208 "2009-02-03T10:54:55Z")

</div>

Changes with nginx 0.7.33 02 Feb 2009 \*) Bugfix: a double response might be returned if the epoll or rtsig methods are used and a redirect was returned to a request with bod…

---

## [Rewrite rule for Wordpress](https://www.ruby-forum.com/t/rewrite-rule-for-wordpress/159260)

<div class="topic-metadata">

**Author:** [@Felipe\_Oliveira\_Car](https://www.ruby-forum.com/u/Felipe_Oliveira_Car)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 8:22pm UTC](https://www.ruby-forum.com/t/rewrite-rule-for-wordpress/159260 "2009-02-02T20:22:20Z")

</div>

I use the same configuration on localhost and it works, but on the server the “friendly URLs” doesn’t work anyway. Time passes and I understand less about the nginx configuration. I’m looking for a document with good …

---

## [Nginx with broken library zlib1g-dev for SSL on Debian 40r6](https://www.ruby-forum.com/t/nginx-with-broken-library-zlib1g-dev-for-ssl-on-debian-40r6/159101)

<div class="topic-metadata">

**Author:** [@raimon](https://www.ruby-forum.com/u/raimon)\
**Replies:** 5\
**Last updated:** [February 1, 2009, 10:22am UTC](https://www.ruby-forum.com/t/nginx-with-broken-library-zlib1g-dev-for-ssl-on-debian-40r6/159101 "2009-02-01T10:22:28Z")

</div>

Hello, I’ve had installed nginx on OS X without any problem, but I’m totally lost trying to install it on a Debain 40r6 on i386 The Kernel is: Code: debian:/tmp/nginx-0.6.35# uname -r 2.6.18-6-686 I don’t know how…

---

## [Nginx + memcached\_pass but nothing caching?](https://www.ruby-forum.com/t/nginx-memcached-pass-but-nothing-caching/159140)

<div class="topic-metadata">

**Author:** [@mitchua](https://www.ruby-forum.com/u/mitchua)\
**Replies:** 1\
**Last updated:** [February 1, 2009, 8:48am UTC](https://www.ruby-forum.com/t/nginx-memcached-pass-but-nothing-caching/159140 "2009-02-01T08:48:35Z")

</div>

Hi! I’m trying to use Nginx as a proxy to cache static files off the backend servers. I got nginx and memcached up and running on Fedora core, and I can configure it so that it serves the right files. However, I can…

---

## [Configuring phpmyadmin](https://www.ruby-forum.com/t/configuring-phpmyadmin/159038)

<div class="topic-metadata">

**Author:** [@dcian](https://www.ruby-forum.com/u/dcian)\
**Replies:** 4\
**Last updated:** [February 1, 2009, 12:21am UTC](https://www.ruby-forum.com/t/configuring-phpmyadmin/159038 "2009-02-01T00:21:31Z")

</div>

Hi All, I’ve been round and round this problem for days now - and I still can’t get it sorted. I’m using Unbuntu LTS, and phpmyadmin - standard installs. So far I have a file visible in /etc/nginx/sites-available tha…

---

## [Needing some serious help :P](https://www.ruby-forum.com/t/needing-some-serious-help-p/159035)

<div class="topic-metadata">

**Author:** [@Shamunda](https://www.ruby-forum.com/u/Shamunda)\
**Replies:** 2\
**Last updated:** [January 30, 2009, 11:16pm UTC](https://www.ruby-forum.com/t/needing-some-serious-help-p/159035 "2009-01-30T23:16:10Z")

</div>

Hi All Ok here’s my delima. I have nginx acting as my reverse proxy, and a backend IIS server assigned with multiple addresses. nginx server address: 10.100.50.7 IIS server Addresses: 10.100.50.1 10.100.50.2 10.…

---

## [Incorrect state after discard body for special response](https://www.ruby-forum.com/t/incorrect-state-after-discard-body-for-special-response/158871)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 30, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/incorrect-state-after-discard-body-for-special-response/158871 "2009-01-30T17:45:02Z")

</div>

I see nginx get into an incorrect state after it processes a request which has a body. In my case it is happening when posting data to location which results in a redirect, the result is TWO responses returned from t…

---

## [How can the request be directed according to a dynamic list](https://www.ruby-forum.com/t/how-can-the-request-be-directed-according-to-a-dynamic-list/159023)

<div class="topic-metadata">

**Author:** [@zsufrog](https://www.ruby-forum.com/u/zsufrog)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 2:36pm UTC](https://www.ruby-forum.com/t/how-can-the-request-be-directed-according-to-a-dynamic-list/159023 "2009-01-30T14:36:08Z")

</div>

Hi ,I am a newer. I hope somebody can give me some advice. I want to give some change to the nginx\_upstream\_hash\_ module. I need a special function. I have a dynamic list with some uri and flags , like Uri …

---

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

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 4\
**Last updated:** [January 30, 2009, 1:22am UTC](https://www.ruby-forum.com/t/location-issue/158901 "2009-01-30T01:22:42Z")

</div>

Hi, Is that posibble to have different root directory inside “location”? For example : location ^~ /images { root /home/test/images/stories; } location ^~ /thumbnails { root /home/t…

---

## [Cycle with SSI ON in nginx config](https://www.ruby-forum.com/t/cycle-with-ssi-on-in-nginx-config/158935)

<div class="topic-metadata">

**Author:** [@Georgi\_Georgiev](https://www.ruby-forum.com/u/Georgi_Georgiev)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 3:52pm UTC](https://www.ruby-forum.com/t/cycle-with-ssi-on-in-nginx-config/158935 "2009-01-29T15:52:37Z")

</div>

Hi to all, I’m trying to use memcache with nginx and if ssi set to on to add additional info on cached pages . So configuration is : … server { listen \*:8080; server\_name blabla; access\_log off…

---

## [Cycle with SSI ON in nginx config](https://www.ruby-forum.com/t/cycle-with-ssi-on-in-nginx-config/158933)

<div class="topic-metadata">

**Author:** [@Georgi\_Georgiev](https://www.ruby-forum.com/u/Georgi_Georgiev)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 3:21pm UTC](https://www.ruby-forum.com/t/cycle-with-ssi-on-in-nginx-config/158933 "2009-01-29T15:21:17Z")

</div>

Hi to all, I’m trying to use memcache with nginx and if ssi set to on to add additional info on cached pages : So configuration is : ::::::::: server { listen \*:8080; server\_name blabla; access…

---

## [Re: question about addition filter](https://www.ruby-forum.com/t/re-question-about-addition-filter/158869)

<div class="topic-metadata">

**Author:** [@Mohammad\_K](https://www.ruby-forum.com/u/Mohammad_K)\
**Replies:** 4\
**Last updated:** [January 29, 2009, 9:03am UTC](https://www.ruby-forum.com/t/re-question-about-addition-filter/158869 "2009-01-29T09:03:17Z")

</div>

Igor, I tried your config, with 0.7.32 and 0.7.31, with/without debug, with/without optimization, but I constantly get garbage before and after the content of /y/index.html. Maybe it is returning some uninitialized m…

---

## [How to rewrite this correctly?](https://www.ruby-forum.com/t/how-to-rewrite-this-correctly/158890)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 2\
**Last updated:** [January 29, 2009, 4:45am UTC](https://www.ruby-forum.com/t/how-to-rewrite-this-correctly/158890 "2009-01-29T04:45:12Z")

</div>

Hello! I have a directory images/stories (using joomla) I need to rewrite this into my other subdomains Here’s what I already set and works. But not as I expected location /images/stories { rewrite ^(.\*)$ …

---

## [Something Strange Re-Iterate](https://www.ruby-forum.com/t/something-strange-re-iterate/158827)

<div class="topic-metadata">

**Author:** [@Shamunda](https://www.ruby-forum.com/u/Shamunda)\
**Replies:** 5\
**Last updated:** [January 28, 2009, 10:51pm UTC](https://www.ruby-forum.com/t/something-strange-re-iterate/158827 "2009-01-28T22:51:32Z")

</div>

Hello Seeing as I didn’t get a response from my last question. Let me a different approach. I followed an example config from this site: http://topfunky.net/svn/shovel/nginx/conf/nginx.conf Everything for the most …

---

## [Nginx as proxy: automatically decoding URL-encoded URLs?](https://www.ruby-forum.com/t/nginx-as-proxy-automatically-decoding-url-encoded-urls/158856)

<div class="topic-metadata">

**Author:** [@Jason\_Davies](https://www.ruby-forum.com/u/Jason_Davies)\
**Replies:** 1\
**Last updated:** [January 28, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/nginx-as-proxy-automatically-decoding-url-encoded-urls/158856 "2009-01-28T21:10:30Z")

</div>

Hi all, Just been playing with using nginx as a proxy and it seems to be automatically decoding URLs that contain URL-encoded chars (e.g. /foo/ bar%2Fbaz → /foo/bar/baz) - is there any way to turn this off? – Jason …

---

## [2-phase proxying](https://www.ruby-forum.com/t/2-phase-proxying/158679)

<div class="topic-metadata">

**Author:** [@Mohammad\_K](https://www.ruby-forum.com/u/Mohammad_K)\
**Replies:** 5\
**Last updated:** [January 28, 2009, 9:03pm UTC](https://www.ruby-forum.com/t/2-phase-proxying/158679 "2009-01-28T21:03:59Z")

</div>

Hi, I need to configure/modify nginx to use it in a 2-phase proxy kind of configuration in which: use the hash value of one of the arguments in the original uri to find the index of the first backend server (defined…

---

## [Proxy\_pass based on (possibly changed) $host](https://www.ruby-forum.com/t/proxy-pass-based-on-possibly-changed-host/158816)

<div class="topic-metadata">

**Author:** [@Dave\_Bailey](https://www.ruby-forum.com/u/Dave_Bailey)\
**Replies:** 7\
**Last updated:** [January 28, 2009, 6:53pm UTC](https://www.ruby-forum.com/t/proxy-pass-based-on-possibly-changed-host/158816 "2009-01-28T18:53:51Z")

</div>

Hi, I am porting a lighttpd module that I wrote to nginx. I am new to nginx. I would like to know if it is possible to choose the proxy\_pass backend from the Host header within a server. In lighttpd, this is possi…

---

## [Apache-esque status/scoreboard per connection](https://www.ruby-forum.com/t/apache-esque-status-scoreboard-per-connection/158845)

<div class="topic-metadata">

**Author:** [@Paul\_Bowsher](https://www.ruby-forum.com/u/Paul_Bowsher)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 6:15pm UTC](https://www.ruby-forum.com/t/apache-esque-status-scoreboard-per-connection/158845 "2009-01-28T18:15:39Z")

</div>

Hi, Does anyone know of a way to find out details about each connection such as bytes served so far of that file, and current download rate? I thought stub\_status might be it, but it doesn’t go into a per-connection …

---

## [Something Strange](https://www.ruby-forum.com/t/something-strange/158694)

<div class="topic-metadata">

**Author:** [@Shamunda](https://www.ruby-forum.com/u/Shamunda)\
**Replies:** 1\
**Last updated:** [January 28, 2009, 4:07pm UTC](https://www.ruby-forum.com/t/something-strange/158694 "2009-01-28T16:07:23Z")

</div>

Hello All - I’m having a very strange issue and maybe someone has experienced it or knows the solutions. I’ll try to be brief. I have two clusters; we’ll call them cluster 1 & 2. When I run the configuration everyt…

---

## [Ssi, reverse-proxy and compression](https://www.ruby-forum.com/t/ssi-reverse-proxy-and-compression/158821)

<div class="topic-metadata">

**Author:** [@teenage](https://www.ruby-forum.com/u/teenage)\
**Replies:** 4\
**Last updated:** [January 28, 2009, 2:45pm UTC](https://www.ruby-forum.com/t/ssi-reverse-proxy-and-compression/158821 "2009-01-28T14:45:12Z")

</div>

Hello, we’re using ssi with reverse-proxy on NginX 0.6.34, but have a problem when contents is compressed on the fly by the backend. As we can’t disable this on the backend, we would like setup NginX to don’t send th…

---

## [Htaccess to nginx rewrite](https://www.ruby-forum.com/t/htaccess-to-nginx-rewrite/158221)

<div class="topic-metadata">

**Author:** [@vmirjamali](https://www.ruby-forum.com/u/vmirjamali)\
**Replies:** 10\
**Last updated:** [January 28, 2009, 11:41am UTC](https://www.ruby-forum.com/t/htaccess-to-nginx-rewrite/158221 "2009-01-28T11:41:30Z")

</div>

I’ve desperately tried to convert my htaccess to nginx but sadly I just couldn’t figure out how to do it. I really need help badly, I’m willing to pay someone 15 dollars to just make my site work again on nginx if som…

---

## [Ngx\_parse\_time not handling seconds flag properly?](https://www.ruby-forum.com/t/ngx-parse-time-not-handling-seconds-flag-properly/158800)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 1\
**Last updated:** [January 28, 2009, 7:58am UTC](https://www.ruby-forum.com/t/ngx-parse-time-not-handling-seconds-flag-properly/158800 "2009-01-28T07:58:30Z")

</div>

It looks to me like ngx\_parse\_time is scaling to seconds when you don’t want it and not scaling when you do. When called from ngx\_conf\_set\_msec\_slot, it scales all msec values up by a factor of 1000, so if I want a ti…

---

## [Nginx stops sending file after ~1.5mb?](https://www.ruby-forum.com/t/nginx-stops-sending-file-after-1-5mb/157453)

<div class="topic-metadata">

**Author:** [@YoSav\_Moshe](https://www.ruby-forum.com/u/YoSav_Moshe)\
**Replies:** 38\
**Last updated:** [January 27, 2009, 12:14pm UTC](https://www.ruby-forum.com/t/nginx-stops-sending-file-after-1-5mb/157453 "2009-01-27T12:14:11Z")

</div>

Hello, I’m using Nginx to serve a few TurboGears projects and some Wordpress sites. Mostly is does it job more than well, but lately I’m facing some problems serving not-so-big static files. The files come statical…

---

## [Problems building nginx-0.6.35 with fancyindex\_module 0.1b5](https://www.ruby-forum.com/t/problems-building-nginx-0-6-35-with-fancyindex-module-0-1b5/158720)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 5\
**Last updated:** [January 27, 2009, 10:35am UTC](https://www.ruby-forum.com/t/problems-building-nginx-0-6-35-with-fancyindex-module-0-1b5/158720 "2009-01-27T10:35:13Z")

</div>

Im trying to upgrade my nginx from 0.6.34 to 0.6.35 and was using an add-on module called nginx-fancyindex\_module 0.1-beta5. Seems that with this version of nginx the modules doesnt work at all: gcc -c -O -pipe -O -W…

---

## [Nginx-0.7.32](https://www.ruby-forum.com/t/nginx-0-7-32/158659)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 5\
**Last updated:** [January 27, 2009, 8:33am UTC](https://www.ruby-forum.com/t/nginx-0-7-32/158659 "2009-01-27T08:33:59Z")

</div>

Changes with nginx 0.7.32 26 Jan 2009 \*) Feature: now a directory existence testing can be set explicitly in the “try\_files” directive. \*) Bugfix: fastcgi\_store stored files n…

---

## [Post\_action to a backend server](https://www.ruby-forum.com/t/post-action-to-a-backend-server/158556)

<div class="topic-metadata">

**Author:** [@Paul\_Bowsher](https://www.ruby-forum.com/u/Paul_Bowsher)\
**Replies:** 4\
**Last updated:** [January 27, 2009, 3:44am UTC](https://www.ruby-forum.com/t/post-action-to-a-backend-server/158556 "2009-01-27T03:44:54Z")

</div>

Hi, I am currently using nginx on frontend to proxy all requests to an apache backend. I want to use post\_action to callback upon completion of a request. The location I want to callback to is on the backend. Curren…

---

## [Nginx, PHP, FastCGI and multiple CodeIgniter apps](https://www.ruby-forum.com/t/nginx-php-fastcgi-and-multiple-codeigniter-apps/158678)

<div class="topic-metadata">

**Author:** [@Felipe\_Oliveira\_Car](https://www.ruby-forum.com/u/Felipe_Oliveira_Car)\
**Replies:** 1\
**Last updated:** [January 26, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/nginx-php-fastcgi-and-multiple-codeigniter-apps/158678 "2009-01-26T20:57:39Z")

</div>

Hi! I’m starting to use nginx and I’m liking. But I can’t get my CodeIgniter apps working properly. I was using Apache. To acces the apps I was using: http:\\localhost\\app1\\index.php\<controller\>\<action\> http:\\localho…

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

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