# Server

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

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

---

## [Re: 0.6.27 compile bug - ngx\_create\_hashed\_filename](https://www.ruby-forum.com/t/re-0-6-27-compile-bug-ngx-create-hashed-filename/131748)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 12, 2008, 10:37pm UTC](https://www.ruby-forum.com/t/re-0-6-27-compile-bug-ngx-create-hashed-filename/131748 "2008-03-12T22:37:30Z")

</div>

My mistake… Thanks Igor. I should have mentioned that I am working on a CMake script to build nginx and I included that file… I was thinking in terms of compilation errors and not that my script had the wrong file li…

---

## [0.6.27 compile bug - ngx\_create\_hashed\_filename](https://www.ruby-forum.com/t/0-6-27-compile-bug-ngx-create-hashed-filename/131741)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 12, 2008, 10:17pm UTC](https://www.ruby-forum.com/t/0-6-27-compile-bug-ngx-create-hashed-filename/131741 "2008-03-12T22:17:22Z")

</div>

Hello… Compiling on 0.6.27 on Kubuntu i686 Linux 2.66.22 gcc 4.1.3 I get… …/http/ngx\_http\_file\_cache.c: In function ngx\_http\_file\_cache\_get: …/http/ngx\_http\_file\_cache.c:60: warning: passing argument 1 of ngx\_create…

---

## [Module's development and ssl](https://www.ruby-forum.com/t/modules-development-and-ssl/131565)

<div class="topic-metadata">

**Author:** [@vchav](https://www.ruby-forum.com/u/vchav)\
**Replies:** 6\
**Last updated:** [March 12, 2008, 4:11pm UTC](https://www.ruby-forum.com/t/modules-development-and-ssl/131565 "2008-03-12T16:11:40Z")

</div>

Hi all First, I’m sorry for my bad English :slight\_smile: My problem refers to the development of a new module for nginx and I need to use client’s publickey (with ssl) for authenticate the client… I have no idea whe…

---

## [Nginx treat php files as .txt per virtualhost](https://www.ruby-forum.com/t/nginx-treat-php-files-as-txt-per-virtualhost/131689)

<div class="topic-metadata">

**Author:** [@Stefanita\_rares\_D](https://www.ruby-forum.com/u/Stefanita_rares_D)\
**Replies:** 1\
**Last updated:** [March 12, 2008, 3:15pm UTC](https://www.ruby-forum.com/t/nginx-treat-php-files-as-txt-per-virtualhost/131689 "2008-03-12T15:15:14Z")

</div>

hi guys, i have 2 virtualhosts this is the http directive. http { include mime.types; default\_type application/octet-stream; server\_names\_hash\_bucket\_size 128; log\_format main '$remote\_addr - $remote\_use…

---

## [\[OT\] HTTP headers status diagram](https://www.ruby-forum.com/t/ot-http-headers-status-diagram/131603)

<div class="topic-metadata">

**Author:** [@Petite\_A](https://www.ruby-forum.com/u/Petite_A)\
**Replies:** 2\
**Last updated:** [March 12, 2008, 2:29pm UTC](https://www.ruby-forum.com/t/ot-http-headers-status-diagram/131603 "2008-03-12T14:29:35Z")

</div>

To paraphrase Woody Allen: “Everything you always wanted to know about HTTP headers status, but were afraid to ask” Alternatively: “An activity diagram to describe the resolution of HTTP response status codes, given…

---

## [Hanging byte-range requests for remote backend](https://www.ruby-forum.com/t/hanging-byte-range-requests-for-remote-backend/130939)

<div class="topic-metadata">

**Author:** [@Brendan\_Schwartz](https://www.ruby-forum.com/u/Brendan_Schwartz)\
**Replies:** 2\
**Last updated:** [March 12, 2008, 8:55am UTC](https://www.ruby-forum.com/t/hanging-byte-range-requests-for-remote-backend/130939 "2008-03-12T08:55:57Z")

</div>

Hello, I’m attempting to proxy requests to a remote backend that supports byte-range requests (Amazon’s S3 in this case). When I access an asset through the proxy with a byte-range request, it downloads 99% of the re…

---

## [PhpMyAdmins add a dot to the URL and how to restart Nginx](https://www.ruby-forum.com/t/phpmyadmins-add-a-dot-to-the-url-and-how-to-restart-nginx/131615)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 1\
**Last updated:** [March 11, 2008, 11:28pm UTC](https://www.ruby-forum.com/t/phpmyadmins-add-a-dot-to-the-url-and-how-to-restart-nginx/131615 "2008-03-11T23:28:20Z")

</div>

Hi list, I have been spending the last hours with these two problems. They might be stupid, but I still prefer to ask the question on the mailing-list and feel stupid 5 minutes, then feel stupid for 10 more hours. Pr…

---

## [Expiration headers when rewriting requests](https://www.ruby-forum.com/t/expiration-headers-when-rewriting-requests/131618)

<div class="topic-metadata">

**Author:** [@Brian\_Kirkbride](https://www.ruby-forum.com/u/Brian_Kirkbride)\
**Replies:** 2\
**Last updated:** [March 11, 2008, 11:23pm UTC](https://www.ruby-forum.com/t/expiration-headers-when-rewriting-requests/131618 "2008-03-11T23:23:18Z")

</div>

Hello, I’m having trouble translating my setup into a working NginX config. Any help is much appreciated – I’m almost there, but not quite. I need to rewrite URLs like /r1234567/xyz… to be simply /xyz… to allow for v…

---

## [Mongrel 1.1.4, possible bug http\_response](https://www.ruby-forum.com/t/mongrel-1-1-4-possible-bug-http-response/131587)

<div class="topic-metadata">

**Author:** [@jnb](https://www.ruby-forum.com/u/jnb)\
**Replies:** 2\
**Last updated:** [March 11, 2008, 8:57pm UTC](https://www.ruby-forum.com/t/mongrel-1-1-4-possible-bug-http-response/131587 "2008-03-11T20:57:52Z")

</div>

Hi, I found this while digging inside mongrel to provide IO streaming for mongrel (and thus for Rack and Ramaze): In socket\_error a local variable done is set, which has no effect. done=() always sets to true, where …

---

## [Rewrite catch all subdomain](https://www.ruby-forum.com/t/rewrite-catch-all-subdomain/131492)

<div class="topic-metadata">

**Author:** [@pedx78](https://www.ruby-forum.com/u/pedx78)\
**Replies:** 12\
**Last updated:** [March 11, 2008, 2:13pm UTC](https://www.ruby-forum.com/t/rewrite-catch-all-subdomain/131492 "2008-03-11T14:13:21Z")

</div>

Hi, I’m having some troubles trying to catch all anything in the subdomain and redirect to mydomain.com:8080. It should be simple but I try somethings but I couldn’t made it work. Thank you

---

## ["server\_tokens off" still showing server software](https://www.ruby-forum.com/t/server-tokens-off-still-showing-server-software/131503)

<div class="topic-metadata">

**Author:** [@igorclark](https://www.ruby-forum.com/u/igorclark)\
**Replies:** 2\
**Last updated:** [March 11, 2008, 11:09am UTC](https://www.ruby-forum.com/t/server-tokens-off-still-showing-server-software/131503 "2008-03-11T11:09:47Z")

</div>

Hi there We’re running a site for a large company using 0.5.35. Their IT security team insists that the “Server: nginx” HTTP header must be removed. I’ve set “server\_tokens off” in both http and server sections, and …

---

## [10% 500 Errors](https://www.ruby-forum.com/t/10-500-errors/131475)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 24\
**Last updated:** [March 10, 2008, 8:13pm UTC](https://www.ruby-forum.com/t/10-500-errors/131475 "2008-03-10T20:13:20Z")

</div>

I have nginx running as a proxy to about twelve upstream app servers, serving a rails app. Nothing else really in this configuration. I am seeing about 10% of requests throwing 500 errors, and this in my error log: 2…

---

## [Restarting cluster without killing in progress file uploads](https://www.ruby-forum.com/t/restarting-cluster-without-killing-in-progress-file-uploads/131347)

<div class="topic-metadata">

**Author:** [@brblakley](https://www.ruby-forum.com/u/brblakley)\
**Replies:** 2\
**Last updated:** [March 10, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/restarting-cluster-without-killing-in-progress-file-uploads/131347 "2008-03-10T16:50:27Z")

</div>

Hello, I have a cluster of three Mongrels running behind Pound. All is running well except when I restart the cluster (mongrel\_rails cluster::restart) any in progress file uploads (handled through mongrel\_upload\_progr…

---

## [Problem with simple rewrite rule](https://www.ruby-forum.com/t/problem-with-simple-rewrite-rule/131420)

<div class="topic-metadata">

**Author:** [@Per\_Hans\_Hansen](https://www.ruby-forum.com/u/Per_Hans_Hansen)\
**Replies:** 7\
**Last updated:** [March 10, 2008, 12:10pm UTC](https://www.ruby-forum.com/t/problem-with-simple-rewrite-rule/131420 "2008-03-10T12:10:31Z")

</div>

I try to create a very simple rewrite rule with nginx, but i doesnt work. I have set up my server with a “catch all” server\_name \*.mydomain.com I then try to create a rewrite rule so that requests to mysubdomain.mydo…

---

## [Making nginx "feel" faster?](https://www.ruby-forum.com/t/making-nginx-feel-faster/131346)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 4\
**Last updated:** [March 10, 2008, 9:01am UTC](https://www.ruby-forum.com/t/making-nginx-feel-faster/131346 "2008-03-10T09:01:18Z")

</div>

Hi guys I’m working on a mediatemple server (US) from the UK and it looks like there’s a limit with the bandwidth from the server. Sites on that box are slow, whether they’re dynamic or not. nginx has 8 worker threads …

---

## [Another redirect](https://www.ruby-forum.com/t/another-redirect/131388)

<div class="topic-metadata">

**Author:** [@Eire\_A](https://www.ruby-forum.com/u/Eire_A)\
**Replies:** 4\
**Last updated:** [March 9, 2008, 6:31pm UTC](https://www.ruby-forum.com/t/another-redirect/131388 "2008-03-09T18:31:28Z")

</div>

i have exhausted my resources on this one. please help if your able. i am moving to a new site. the old site has some good standing in google which points to oldsite.com/tips.ws now, the new site which is in rails …

---

## [Can fastcgi\_index be used with multiple filenames?](https://www.ruby-forum.com/t/can-fastcgi-index-be-used-with-multiple-filenames/131335)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 12\
**Last updated:** [March 8, 2008, 11:13pm UTC](https://www.ruby-forum.com/t/can-fastcgi-index-be-used-with-multiple-filenames/131335 "2008-03-08T23:13:12Z")

</div>

Switching over to fastcgi php… We use parse both .php and .shtml as php files. From looking at the syntax for fastcgi\_index it looks like just one filename can follow it, e.g.: fastcgi\_index index.shtml; but can it …

---

## [Unknown directive "stub\_status" in /usr/local/nginx/conf/nginx.conf](https://www.ruby-forum.com/t/unknown-directive-stub-status-in-usr-local-nginx-conf-nginx-conf/131324)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 0\
**Last updated:** [March 8, 2008, 4:05am UTC](https://www.ruby-forum.com/t/unknown-directive-stub-status-in-usr-local-nginx-conf-nginx-conf/131324 "2008-03-08T04:05:07Z")

</div>

Just I had made some changes to my conf as I prepare to move to fastcgi. Didn’t change the stub\_status section but when I tested the .conf file I rec’d this warning: unknown directive “stub\_status” in /usr/local/nginx…

---

## [Piping logs to rotatelog](https://www.ruby-forum.com/t/piping-logs-to-rotatelog/131303)

<div class="topic-metadata">

**Author:** [@escoz](https://www.ruby-forum.com/u/escoz)\
**Replies:** 0\
**Last updated:** [March 7, 2008, 8:39pm UTC](https://www.ruby-forum.com/t/piping-logs-to-rotatelog/131303 "2008-03-07T20:39:06Z")

</div>

Mongrel clusters lets yuo pick a path to your logs with the "-l " switch. I tried giving a pathc that contains the rotatelogs like -l |/usr/sbin/rotatelogs /var/log/mongrel.log 3600" And it just gave me error. So I r…

---

## [Mongrel\_cluster, start on boot, stale pids](https://www.ruby-forum.com/t/mongrel-cluster-start-on-boot-stale-pids/131062)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 25\
**Last updated:** [March 7, 2008, 7:31pm UTC](https://www.ruby-forum.com/t/mongrel-cluster-start-on-boot-stale-pids/131062 "2008-03-07T19:31:19Z")

</div>

So I am using the instructions here to have mongrel\_cluster start my various mongrel-deployed apps on server boot. http://mongrel.rubyforge.org/wiki/MongrelCluster There is a problem mentioned here: http://www.ruby-f…

---

## [Conditional behaviour based on Accept: values](https://www.ruby-forum.com/t/conditional-behaviour-based-on-accept-values/131276)

<div class="topic-metadata">

**Author:** [@gabriele\_renzi](https://www.ruby-forum.com/u/gabriele_renzi)\
**Replies:** 3\
**Last updated:** [March 7, 2008, 7:31pm UTC](https://www.ruby-forum.com/t/conditional-behaviour-based-on-accept-values/131276 "2008-03-07T19:31:19Z")

</div>

Hi everyone, I just started to use nginx and it seems great, thanks to everyone involved in code or docs. But of course, now I hit a small problem: how can I access the values proposed from the client via the Accept:…

---

## [Fastcgi and APC](https://www.ruby-forum.com/t/fastcgi-and-apc/131238)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 4\
**Last updated:** [March 7, 2008, 7:22pm UTC](https://www.ruby-forum.com/t/fastcgi-and-apc/131238 "2008-03-07T19:22:25Z")

</div>

I’m thinking of dropping my Apache backend (nginx currently handles the static stuff) and dipping my toes into running php via fastcgi. Is there any change that needs to be made to the APC code cache settings? I tho…

---

## [Modifying or adding cookies via nginx.conf](https://www.ruby-forum.com/t/modifying-or-adding-cookies-via-nginx-conf/130942)

<div class="topic-metadata">

**Author:** [@Laurent\_Thevenet](https://www.ruby-forum.com/u/Laurent_Thevenet)\
**Replies:** 4\
**Last updated:** [March 7, 2008, 8:53am UTC](https://www.ruby-forum.com/t/modifying-or-adding-cookies-via-nginx-conf/130942 "2008-03-07T08:53:57Z")

</div>

Hi, I’m dealing with the issue of modifying or adding a cookie on the fly via nginx.conf I look through all the doc and did not find anything except about identification (http://wiki.codemongers.com/NginxHttpUserIdMo…

---

## [Headers in message traler support](https://www.ruby-forum.com/t/headers-in-message-traler-support/131205)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 10:35pm UTC](https://www.ruby-forum.com/t/headers-in-message-traler-support/131205 "2008-03-06T22:35:20Z")

</div>

Hi. Igor, do you have any plans for adding support to headers in the message trailer? Do you know if common browsers support this feature? Thanks Manlio P.

---

## [Mongrel and uploaded files (temp location)](https://www.ruby-forum.com/t/mongrel-and-uploaded-files-temp-location/131198)

<div class="topic-metadata">

**Author:** [@bikle](https://www.ruby-forum.com/u/bikle)\
**Replies:** 1\
**Last updated:** [March 6, 2008, 9:30pm UTC](https://www.ruby-forum.com/t/mongrel-and-uploaded-files-temp-location/131198 "2008-03-06T21:30:51Z")

</div>

Asked this about a month ago but no response - would appreciate any thoughts anyone might have. I’d like to change where mongrel stores files uploaded via web form from the local tmp dir to a place on the same files…

---

## [Problems with Mongrel + Pound](https://www.ruby-forum.com/t/problems-with-mongrel-pound/130196)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 9\
**Last updated:** [March 5, 2008, 11:11pm UTC](https://www.ruby-forum.com/t/problems-with-mongrel-pound/130196 "2008-03-05T23:11:04Z")

</div>

Hi, I have been using mongrel + Pound for the past 6 months on a single server deployment. Recently mongrel has started to behave very weirdly after we?moved app to a bunch of servers from a single server deployment. …

---

## [Profiling nginx](https://www.ruby-forum.com/t/profiling-nginx/131072)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 4\
**Last updated:** [March 5, 2008, 10:14pm UTC](https://www.ruby-forum.com/t/profiling-nginx/131072 "2008-03-05T22:14:13Z")

</div>

I need to profile nginx, how should be done? I have modified the Makefile, by adding the -pg CC flag, but the profiling file is not generated. Thanks Manlio P.

---

## [Error setting up http authentication - 500 Internal Server Error](https://www.ruby-forum.com/t/error-setting-up-http-authentication-500-internal-server-error/130499)

<div class="topic-metadata">

**Author:** [@hvenkata](https://www.ruby-forum.com/u/hvenkata)\
**Replies:** 8\
**Last updated:** [March 5, 2008, 8:15pm UTC](https://www.ruby-forum.com/t/error-setting-up-http-authentication-500-internal-server-error/130499 "2008-03-05T20:15:10Z")

</div>

I am using the instruction given at http://wiki.codemongers.com/NginxHttpAuthBasicModule#auth\_basic When i access the site i get prompted for username and password. After i enter the username and password i get the er…

---

## [Gzip directives](https://www.ruby-forum.com/t/gzip-directives/130983)

<div class="topic-metadata">

**Author:** [@Philip\_Ratzsch](https://www.ruby-forum.com/u/Philip_Ratzsch)\
**Replies:** 2\
**Last updated:** [March 5, 2008, 1:36am UTC](https://www.ruby-forum.com/t/gzip-directives/130983 "2008-03-05T01:36:54Z")

</div>

Greetings all, I’m new to the list, so I don’t want to bog everything down with a lot of repeat questions. I’ve been having a hard time finding documentation on the various gzip directives used in the configuration f…

---

## [Post\_action docs](https://www.ruby-forum.com/t/post-action-docs/130056)

<div class="topic-metadata">

**Author:** [@coldtone](https://www.ruby-forum.com/u/coldtone)\
**Replies:** 5\
**Last updated:** [March 4, 2008, 8:12pm UTC](https://www.ruby-forum.com/t/post-action-docs/130056 "2008-03-04T20:12:42Z")

</div>

I’m trying to use post\_action to track some download information, but I’m having a few issues. I’ve done some searching, but the documentation for this feature is almost non-existant from what I can see. Am I missing …

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

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