# Server

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

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

---

## [Changing HTTP status from FastCGI](https://www.ruby-forum.com/t/changing-http-status-from-fastcgi/195061)

<div class="topic-metadata">

**Author:** [@tdebber](https://www.ruby-forum.com/u/tdebber)\
**Replies:** 1\
**Last updated:** [September 16, 2010, 10:06pm UTC](https://www.ruby-forum.com/t/changing-http-status-from-fastcgi/195061 "2010-09-16T22:06:59Z")

</div>

Hello, I am trying to change the HTTP status that is sent when I send a response to a FastCGI query. In the nginx configuration file, I have fastcgi\_pass\_header Status; When generating my return stream, which is don…

---

## [Help understanding the correct fast cgi params](https://www.ruby-forum.com/t/help-understanding-the-correct-fast-cgi-params/195083)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 1\
**Last updated:** [September 16, 2010, 8:51pm UTC](https://www.ruby-forum.com/t/help-understanding-the-correct-fast-cgi-params/195083 "2010-09-16T20:51:28Z")

</div>

I got some help on this forum yesterday: http://www.ruby-forum.com/topic/216989#new That solved most of my problem; it does pretty much what it should. The problem now is that all requests get routed to index.php with…

---

## [About fastcgi configuration](https://www.ruby-forum.com/t/about-fastcgi-configuration/195091)

<div class="topic-metadata">

**Author:** [@dark0s](https://www.ruby-forum.com/u/dark0s)\
**Replies:** 0\
**Last updated:** [September 16, 2010, 5:30pm UTC](https://www.ruby-forum.com/t/about-fastcgi-configuration/195091 "2010-09-16T17:30:40Z")

</div>

I just installed nginx web server from source over my ubuntu 10.04 machine. Now: fastcgi configuration is ready or I must configure it? where is directory where I must insert fastcgi script? Regards, Savio

---

## [Problem in configuring Apache to run as front server](https://www.ruby-forum.com/t/problem-in-configuring-apache-to-run-as-front-server/195085)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 0\
**Last updated:** [September 16, 2010, 4:30pm UTC](https://www.ruby-forum.com/t/problem-in-configuring-apache-to-run-as-front-server/195085 "2010-09-16T16:30:58Z")

</div>

Hii all, i am ruuning a rails application as windows service like first i created an empty service using instsrv.exe and srvany.exe with named smruti\_exp ,then i edit in regedit to make this empty service work This i…

---

## [Need an SEO Company with A Proven Track Record](https://www.ruby-forum.com/t/need-an-seo-company-with-a-proven-track-record/195067)

<div class="topic-metadata">

**Author:** [@Ariana](https://www.ruby-forum.com/u/Ariana)\
**Replies:** 1\
**Last updated:** [September 16, 2010, 4:19pm UTC](https://www.ruby-forum.com/t/need-an-seo-company-with-a-proven-track-record/195067 "2010-09-16T16:19:14Z")

</div>

SEO or Search Engine Optimization, means building a website so that it will be discovered by search engines. An SEO company like ours can help you design each page of your site in such a way, that the site’s content w…

---

## [Very urgent. speed problem](https://www.ruby-forum.com/t/very-urgent-speed-problem/195076)

<div class="topic-metadata">

**Author:** [@Masteryo\_Team](https://www.ruby-forum.com/u/Masteryo_Team)\
**Replies:** 1\
**Last updated:** [September 16, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/very-urgent-speed-problem/195076 "2010-09-16T15:41:11Z")

</div>

Hello guys any help will be appreciate it I have new server with 1 Gbit port speed and I installed nginx on it. The server only for downloading data. Now there are TCP Connections in ESTABLISHED State 2060.0 con t…

---

## [Subrequest failover](https://www.ruby-forum.com/t/subrequest-failover/192362)

<div class="topic-metadata">

**Author:** [@James\_Lyons](https://www.ruby-forum.com/u/James_Lyons)\
**Replies:** 8\
**Last updated:** [September 16, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/subrequest-failover/192362 "2010-09-16T15:41:11Z")

</div>

I am trying to use nginx as reverse proxy to perform failover from 1 critical service to another. When processing a request, it sends a request (http GET) to a backend (custom http server) using SubRequest methods. I…

---

## [Fastcgi\_cache\_path errors](https://www.ruby-forum.com/t/fastcgi-cache-path-errors/195075)

<div class="topic-metadata">

**Author:** [@whiskybar](https://www.ruby-forum.com/u/whiskybar)\
**Replies:** 0\
**Last updated:** [September 16, 2010, 1:28pm UTC](https://www.ruby-forum.com/t/fastcgi-cache-path-errors/195075 "2010-09-16T13:28:52Z")

</div>

Hello, this is the first time I wanted to cache FastCGI responses from the upstream servers. I have set up everything like in the documentation examples but I got Reloading nginx configuration: \[emerg\]: the size 1048…

---

## [SERVER\_NAME and fastcgi](https://www.ruby-forum.com/t/server-name-and-fastcgi/195063)

<div class="topic-metadata">

**Author:** [@KyleChristensen](https://www.ruby-forum.com/u/KyleChristensen)\
**Replies:** 1\
**Last updated:** [September 16, 2010, 9:59am UTC](https://www.ruby-forum.com/t/server-name-and-fastcgi/195063 "2010-09-16T09:59:19Z")

</div>

Forgive me if this has been covered before, but I didn’t see anything while searching. I have a server setup similar to: server { listen 80; server\_name domain.com someotherdomain.com somethirddomain.com; rewrite…

---

## [Having troubles understanding basic location directives](https://www.ruby-forum.com/t/having-troubles-understanding-basic-location-directives/195064)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 1\
**Last updated:** [September 16, 2010, 8:28am UTC](https://www.ruby-forum.com/t/having-troubles-understanding-basic-location-directives/195064 "2010-09-16T08:28:35Z")

</div>

So I’ve got a couple of requirements. If the file is a resource (image, stylesheet, etc…) then just serve it. Pretty much everything else should be directed through my index.php file If the domain has sqlbuddy at the …

---

## [Basic http auth with proxy pass showing 403/Forbidden](https://www.ruby-forum.com/t/basic-http-auth-with-proxy-pass-showing-403-forbidden/195059)

<div class="topic-metadata">

**Author:** [@strom](https://www.ruby-forum.com/u/strom)\
**Replies:** 2\
**Last updated:** [September 16, 2010, 6:13am UTC](https://www.ruby-forum.com/t/basic-http-auth-with-proxy-pass-showing-403-forbidden/195059 "2010-09-16T06:13:23Z")

</div>

I am simply trying to password protect a folder and a file in my webapp with basic\_auth, but I’m running into some problems. Here’s the relevant conf info: location / { proxy\_pass http://127.0.0…

---

## [Bifurcating requests](https://www.ruby-forum.com/t/bifurcating-requests/195046)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 0\
**Last updated:** [September 15, 2010, 8:42pm UTC](https://www.ruby-forum.com/t/bifurcating-requests/195046 "2010-09-15T20:42:44Z")

</div>

I am running an experiment between two backend solutions, and I’d like to send the same request to each backend but only return the response from one that I designate (I will observe the results on the test system it…

---

## [Correct message after restarting nginx?](https://www.ruby-forum.com/t/correct-message-after-restarting-nginx/194992)

<div class="topic-metadata">

**Author:** [@cimenta](https://www.ruby-forum.com/u/cimenta)\
**Replies:** 5\
**Last updated:** [September 15, 2010, 6:21am UTC](https://www.ruby-forum.com/t/correct-message-after-restarting-nginx/194992 "2010-09-15T06:21:35Z")

</div>

hi I used two different tutorials to install nginx. LEMP and Redmine one from Linode library. I made the LEMP one work and after restarting nginx I used get message with something about testing and that new config wa…

---

## [Upstream keepalive module 0.3](https://www.ruby-forum.com/t/upstream-keepalive-module-0-3/194981)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 7:36pm UTC](https://www.ruby-forum.com/t/upstream-keepalive-module-0-3/194981 "2010-09-14T19:36:37Z")

</div>

Hello! Changes with upstream keepalive module 0.3: \*) Bugfix: cached connections might be closed needlessly. Thanks to Martin Fjordvald. \*) Bugfix: in memory allocation error handling on config creation. Repositor…

---

## [Help with a rewrite rule](https://www.ruby-forum.com/t/help-with-a-rewrite-rule/194944)

<div class="topic-metadata">

**Author:** [@mindfrost82](https://www.ruby-forum.com/u/mindfrost82)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 3:50am UTC](https://www.ruby-forum.com/t/help-with-a-rewrite-rule/194944 "2010-09-14T03:50:37Z")

</div>

I need some help with creating a rewrite rule for a virtual host on my nginx server. I’m not very familiar with rewrite rules, so I’m hoping someone can help…if its even possible. Basically, I have a script that work…

---

## [Confused with hiding a directory](https://www.ruby-forum.com/t/confused-with-hiding-a-directory/192673)

<div class="topic-metadata">

**Author:** [@raubvogel](https://www.ruby-forum.com/u/raubvogel)\
**Replies:** 9\
**Last updated:** [September 14, 2010, 1:40am UTC](https://www.ruby-forum.com/t/confused-with-hiding-a-directory/192673 "2010-09-14T01:40:41Z")

</div>

Let’s say I have a directory named conf in the root of my website I want to hide. From what I understood, if I have location /conf { deny all; } It will not allow anybody to see what is inside /conf. But, wha…

---

## [Beginner's question: redirecting /dir/index.html to /dir/](https://www.ruby-forum.com/t/beginners-question-redirecting-dir-index-html-to-dir/194757)

<div class="topic-metadata">

**Author:** [@ez77](https://www.ruby-forum.com/u/ez77)\
**Replies:** 20\
**Last updated:** [September 14, 2010, 1:00am UTC](https://www.ruby-forum.com/t/beginners-question-redirecting-dir-index-html-to-dir/194757 "2010-09-14T01:00:52Z")

</div>

Greetings, I’m trying to send all …/dir/index.html requests to …/dir/ . I looked this up in forums but I’m only able to do it for the root directory: location / { root /var/www/mysite; index index.html ind…

---

## [Server\_name behaviour](https://www.ruby-forum.com/t/server-name-behaviour/194920)

<div class="topic-metadata">

**Author:** [@Ensiferous](https://www.ruby-forum.com/u/Ensiferous)\
**Replies:** 4\
**Last updated:** [September 13, 2010, 9:32pm UTC](https://www.ruby-forum.com/t/server-name-behaviour/194920 "2010-09-13T21:32:27Z")

</div>

Hi A couple of us in the IRC channel are keeping the wiki updated and we’ve come across some inconsistent behaviour with server\_name. The wiki currently states here: http://wiki.nginx.org/NginxHttpCoreModule#server\_n…

---

## [What is the difference between alias and root](https://www.ruby-forum.com/t/what-is-the-difference-between-alias-and-root/194844)

<div class="topic-metadata">

**Author:** [@James\_Matthews](https://www.ruby-forum.com/u/James_Matthews)\
**Replies:** 2\
**Last updated:** [September 13, 2010, 8:46pm UTC](https://www.ruby-forum.com/t/what-is-the-difference-between-alias-and-root/194844 "2010-09-13T20:46:12Z")

</div>

I was wondering what the difference was between alias and root in the server block on nginx was? They seem to provide the same functionality. James

---

## [Mongrel\_service on Windows Server 2008 R2 /w Run As User](https://www.ruby-forum.com/t/mongrel-service-on-windows-server-2008-r2-w-run-as-user/194522)

<div class="topic-metadata">

**Author:** [@neongrau](https://www.ruby-forum.com/u/neongrau)\
**Replies:** 4\
**Last updated:** [September 13, 2010, 4:16pm UTC](https://www.ruby-forum.com/t/mongrel-service-on-windows-server-2008-r2-w-run-as-user/194522 "2010-09-13T16:16:54Z")

</div>

Hello! I need to run an older Rails App on WIndows Server 2008 R2 with a different Account then the default Local System. While the default works, when trying to start with a different User (even tried with a Domain…

---

## [Malloc() errors - (some type of redirect loop?)](https://www.ruby-forum.com/t/malloc-errors-some-type-of-redirect-loop/194866)

<div class="topic-metadata">

**Author:** [@gnexus](https://www.ruby-forum.com/u/gnexus)\
**Replies:** 3\
**Last updated:** [September 13, 2010, 3:01pm UTC](https://www.ruby-forum.com/t/malloc-errors-some-type-of-redirect-loop/194866 "2010-09-13T15:01:22Z")

</div>

Hi everyone, I am new to the mailing list and have only been using Nginx a few months, so please bear with me. We are currently getting MANY errors such as this: 2010/09/07 17:58:18 \[emerg\] 8851#0: \*4086 malloc() 429…

---

## [Utf-8](https://www.ruby-forum.com/t/utf-8/194896)

<div class="topic-metadata">

**Author:** [@mat\_h](https://www.ruby-forum.com/u/mat_h)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 11:04am UTC](https://www.ruby-forum.com/t/utf-8/194896 "2010-09-13T11:04:16Z")

</div>

Whats the deal with nginx’s UTF-8 URL implementation, does it need to be enabled or is it enabled by default. Im refering to regular expression matching here. Compliled with the pre-compiled pcre lib on debian if that…

---

## [Spoof IP for geoip plugin?](https://www.ruby-forum.com/t/spoof-ip-for-geoip-plugin/194893)

<div class="topic-metadata">

**Author:** [@phillipoertel](https://www.ruby-forum.com/u/phillipoertel)\
**Replies:** 1\
**Last updated:** [September 13, 2010, 10:39am UTC](https://www.ruby-forum.com/t/spoof-ip-for-geoip-plugin/194893 "2010-09-13T10:39:05Z")

</div>

Is there a way I can spoof my local IP when testing nginx’s geoip plugin? I’m running a VM which has a static IP on my local network which runs a development version of my app sitting behind nginx. I need to test that…

---

## [OT: Igor takes America by storm!](https://www.ruby-forum.com/t/ot-igor-takes-america-by-storm/194883)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [September 13, 2010, 10:18am UTC](https://www.ruby-forum.com/t/ot-igor-takes-america-by-storm/194883 "2010-09-13T10:18:01Z")

</div>

:slight\_smile:

---

## [Nginx-0.8.50](https://www.ruby-forum.com/t/nginx-0-8-50/194872)

<div class="topic-metadata">

**Author:** [@andrewmilkowski](https://www.ruby-forum.com/u/andrewmilkowski)\
**Replies:** 0\
**Last updated:** [September 12, 2010, 9:17pm UTC](https://www.ruby-forum.com/t/nginx-0-8-50/194872 "2010-09-12T21:17:44Z")

</div>

Hey there Giving a try to build nginx-0.8.50 on Mac OS (intention is benchmarking against other httpd…) using script (highlighted on top are 2 I could not force thru, aio and cpp test) also compiling with libatomic w…

---

## [Nginx and rutorrent](https://www.ruby-forum.com/t/nginx-and-rutorrent/194854)

<div class="topic-metadata">

**Author:** [@Marcin\_SWMPSS\_Janow](https://www.ruby-forum.com/u/Marcin_SWMPSS_Janow)\
**Replies:** 0\
**Last updated:** [September 12, 2010, 2:50pm UTC](https://www.ruby-forum.com/t/nginx-and-rutorrent/194854 "2010-09-12T14:50:12Z")

</div>

Hi, i have problem with config nginx and rutorrent ( Google Code Archive - Long-term storage for Google Code Project Hosting. ). This is my actually config: server { listen 80; server\_name test.innocence.pl; a - Pasteb…

---

## [uWSGI 0.9.6.1](https://www.ruby-forum.com/t/uwsgi-0-9-6-1/194848)

<div class="topic-metadata">

**Author:** [@Roberto\_De\_Ioris](https://www.ruby-forum.com/u/Roberto_De_Ioris)\
**Replies:** 0\
**Last updated:** [September 12, 2010, 9:36am UTC](https://www.ruby-forum.com/t/uwsgi-0-9-6-1/194848 "2010-09-12T09:36:30Z")

</div>

I am pleased to announce the first maintainance release of uWSGI 0.9.6 It includes a bunch of new usability features and fixes a couple of regressions in SCRIPT\_NAME handling. 0.9.6.1 \[20100912\] print the request u…

---

## [Custom variables](https://www.ruby-forum.com/t/custom-variables/194791)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [September 10, 2010, 6:19pm UTC](https://www.ruby-forum.com/t/custom-variables/194791 "2010-09-10T18:19:41Z")

</div>

Hey folks. I can’t find any information about setting custom variables in the config. It seems to be possible, but is never mentioned in the documentation as far as I can tell. For example, here: browsers.conf · Gi…

---

## [Abount mongrel specification](https://www.ruby-forum.com/t/abount-mongrel-specification/194765)

<div class="topic-metadata">

**Author:** [@yuwtnb](https://www.ruby-forum.com/u/yuwtnb)\
**Replies:** 1\
**Last updated:** [September 10, 2010, 2:31pm UTC](https://www.ruby-forum.com/t/abount-mongrel-specification/194765 "2010-09-10T14:31:56Z")

</div>

Hello all. I would like to ask a question of the session handling of mongrel. I realize that mongrel can only handle one session at once not like apache. Is there any official documentation that describes about this…

---

## [NginxHttpAuthBasicModule and Subfolders](https://www.ruby-forum.com/t/nginxhttpauthbasicmodule-and-subfolders/194782)

<div class="topic-metadata">

**Author:** [@Dimitri\_R](https://www.ruby-forum.com/u/Dimitri_R)\
**Replies:** 1\
**Last updated:** [September 10, 2010, 2:23pm UTC](https://www.ruby-forum.com/t/nginxhttpauthbasicmodule-and-subfolders/194782 "2010-09-10T14:23:09Z")

</div>

Hi, if I define auth\_basic for “location /”, /test/1234/ is also password-protected. Is it possible, to unprotect the path? I - for example - have an protected application running on the location / and /files/images…

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

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