# Server

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

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

---

## [Global www removal/redirect?](https://www.ruby-forum.com/t/global-www-removal-redirect/140043)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 6\
**Last updated:** [June 10, 2008, 12:57pm UTC](https://www.ruby-forum.com/t/global-www-removal-redirect/140043 "2008-06-10T12:57:24Z")

</div>

Is there a quick way to remove the redirect from http://www.\* to http://\* without listing all the domains? I’m about to point a couple of hundred domains to a box running nginx, and need to remove all the www’s from …

---

## [Re: Log file rotation script](https://www.ruby-forum.com/t/re-log-file-rotation-script/140032)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 3\
**Last updated:** [June 10, 2008, 12:26pm UTC](https://www.ruby-forum.com/t/re-log-file-rotation-script/140032 "2008-06-10T12:26:07Z")

</div>

We use logrotate and things work just fine. Thank you everyone for your input! Using any of the posted techniques, is there any risk of missing a few log entries when under very heavy load? For instance it seems lik…

---

## [Logging to pipe](https://www.ruby-forum.com/t/logging-to-pipe/140004)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 10, 2008, 3:03am UTC](https://www.ruby-forum.com/t/logging-to-pipe/140004 "2008-06-10T03:03:30Z")

</div>

Hi. I am new to nginx, and this list, and just getting started with it. So forgive if I am lacking some facts. Someone mentioned they wanted a good remote logging software and syslog replacement, log rotation etc. D…

---

## [Rewrite issues](https://www.ruby-forum.com/t/rewrite-issues/139988)

<div class="topic-metadata">

**Author:** [@victori](https://www.ruby-forum.com/u/victori)\
**Replies:** 1\
**Last updated:** [June 9, 2008, 9:29pm UTC](https://www.ruby-forum.com/t/rewrite-issues/139988 "2008-06-09T21:29:37Z")

</div>

I am trying to redirect users to an upgrade page when there is an “upgrade” file in the location block location. However it seems that it is not picking up on it. Here is the configuration. location / { if (-f upgra…

---

## [Bug in FastCGI handling](https://www.ruby-forum.com/t/bug-in-fastcgi-handling/139759)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 2\
**Last updated:** [June 9, 2008, 4:53pm UTC](https://www.ruby-forum.com/t/bug-in-fastcgi-handling/139759 "2008-06-09T16:53:06Z")

</div>

I’ve spent the last few days researching this, and I’m pretty sure that there’s a bug in how nginx handles FastCGI requests. According to http://fastcgi.com/devkit/doc/fcgi-spec.html#S3.5 : “The Web server controls t…

---

## [Question regarding IMAP & SMTP Proxy](https://www.ruby-forum.com/t/question-regarding-imap-smtp-proxy/122846)

<div class="topic-metadata">

**Author:** [@Matthieu\_Sevestre](https://www.ruby-forum.com/u/Matthieu_Sevestre)\
**Replies:** 3\
**Last updated:** [June 9, 2008, 5:01am UTC](https://www.ruby-forum.com/t/question-regarding-imap-smtp-proxy/122846 "2008-06-09T05:01:51Z")

</div>

Hello I’m new to Nginx. I’m facing a problem and perhaps nginx may be able to help me :slight\_smile: Considering that Nginx will run on a server (let’s say with LAN IP 192.168.2.10), I would like to be able to use as…

---

## [Mongrel install crash on win32](https://www.ruby-forum.com/t/mongrel-install-crash-on-win32/121379)

<div class="topic-metadata">

**Author:** [@jesperronn](https://www.ruby-forum.com/u/jesperronn)\
**Replies:** 13\
**Last updated:** [June 8, 2008, 12:45pm UTC](https://www.ruby-forum.com/t/mongrel-install-crash-on-win32/121379 "2008-06-08T12:45:47Z")

</div>

Something suddenly went wrong in my ruby install. When installing Mongrel on my Windows XP laptop, it incorrectly tries to build it as a native extension. I don’t even get the selection where I can choose to install a…

---

## [Upstream hash on portion of URL](https://www.ruby-forum.com/t/upstream-hash-on-portion-of-url/139092)

<div class="topic-metadata">

**Author:** [@Scott\_Royston](https://www.ruby-forum.com/u/Scott_Royston)\
**Replies:** 1\
**Last updated:** [June 7, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/upstream-hash-on-portion-of-url/139092 "2008-06-07T22:32:00Z")

</div>

I’d like to use the Upstream Hash Module, but have the hash be based on just a portion of the URL. For example, I have urls of the form: http://server/foo/hash\_part1/hash\_part2/remainder/of/url/… and I’d like the has…

---

## [Nginx as file server similar to Rapidshare ideas](https://www.ruby-forum.com/t/nginx-as-file-server-similar-to-rapidshare-ideas/139796)

<div class="topic-metadata">

**Author:** [@Adam\_Setzler](https://www.ruby-forum.com/u/Adam_Setzler)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 4:24am UTC](https://www.ruby-forum.com/t/nginx-as-file-server-similar-to-rapidshare-ideas/139796 "2008-06-07T04:24:22Z")

</div>

Hello, everyone. I’m excited about Nginx, having recently discovered and tested its concurrency handling. My first question for other subscribers to this list is: What would be the best way to setup Nginx to handle f…

---

## [Mongrel access logs?](https://www.ruby-forum.com/t/mongrel-access-logs/139794)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 3:11am UTC](https://www.ruby-forum.com/t/mongrel-access-logs/139794 "2008-06-07T03:11:10Z")

</div>

Hi How do I turn on/off the mongrel access logs? I have not seen any docs and the API does not describes it very well… Thanks Emmanuel

---

## [Package needed: fastthread-1.0.2](https://www.ruby-forum.com/t/package-needed-fastthread-1-0-2/139768)

<div class="topic-metadata">

**Author:** [@mental](https://www.ruby-forum.com/u/mental)\
**Replies:** 1\
**Last updated:** [June 7, 2008, 12:51am UTC](https://www.ruby-forum.com/t/package-needed-fastthread-1-0-2/139768 "2008-06-07T00:51:48Z")

</div>

I’ve just committed the makings of fastthread-1.0.2 to SVN, fixing a couple long-standing bugs in 1.0.1: merged the fix from ruby\_1\_8 to avoid rb\_bugging during exit with waiting threads SizedQueue#enq is now def…

---

## [Why not ignore stale PID files?](https://www.ruby-forum.com/t/why-not-ignore-stale-pid-files/139691)

<div class="topic-metadata">

**Author:** [@Gunnar\_W](https://www.ruby-forum.com/u/Gunnar_W)\
**Replies:** 7\
**Last updated:** [June 6, 2008, 11:41pm UTC](https://www.ruby-forum.com/t/why-not-ignore-stale-pid-files/139691 "2008-06-06T23:41:18Z")

</div>

Hi, I have an application which is dying horrible deaths (i.e. segmentation faults) in mid-flight, in production… And of course, I should fix it. But while I find and fix the bugs, I found something I think should be…

---

## [Logging?](https://www.ruby-forum.com/t/logging/139686)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 0\
**Last updated:** [June 6, 2008, 2:01am UTC](https://www.ruby-forum.com/t/logging/139686 "2008-06-06T02:01:35Z")

</div>

Is there a simple way to turn on./off logging ? or do I have to build my own? Trying to see all the request coming in (like access log in apache) thanks Emmanuel

---

## [Static files and mongrel](https://www.ruby-forum.com/t/static-files-and-mongrel/139673)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 2\
**Last updated:** [June 5, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/static-files-and-mongrel/139673 "2008-06-05T23:53:52Z")

</div>

Hi how does mongrel (without rails or merb) handles Static files? Do I have to create a handler for static file handling? Thanks Emmanuel

---

## [Cluster shutdown on web farm when using clustered filesystem](https://www.ruby-forum.com/t/cluster-shutdown-on-web-farm-when-using-clustered-filesystem/139666)

<div class="topic-metadata">

**Author:** [@fjlj](https://www.ruby-forum.com/u/fjlj)\
**Replies:** 0\
**Last updated:** [June 5, 2008, 10:14pm UTC](https://www.ruby-forum.com/t/cluster-shutdown-on-web-farm-when-using-clustered-filesystem/139666 "2008-06-05T22:14:20Z")

</div>

Hi, I have a number of servers running mongrel cluster all of whom feed off of a shared filesystem (OCFS2). Each cluster has its own mongrel\_cluster\_web2.yml file with distinct PID and Log file names. In theory the…

---

## [Multiple SSL](https://www.ruby-forum.com/t/multiple-ssl/138887)

<div class="topic-metadata">

**Author:** [@Eire\_A](https://www.ruby-forum.com/u/Eire_A)\
**Replies:** 13\
**Last updated:** [June 5, 2008, 12:44am UTC](https://www.ruby-forum.com/t/multiple-ssl/138887 "2008-06-05T00:44:49Z")

</div>

I just added a second SSL site to Nginx uising two different certs. The problem is that both sites are pulling the one cert. I have each of them served on 443 and serving their own domains. Just like i would think p…

---

## [Logging to pipe](https://www.ruby-forum.com/t/logging-to-pipe/139343)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 3\
**Last updated:** [June 4, 2008, 10:13pm UTC](https://www.ruby-forum.com/t/logging-to-pipe/139343 "2008-06-04T22:13:37Z")

</div>

Hi, I’d like to use syslog-ng for centralized logging. I looked through the archive and found that the reason that logging to a device or pipe not being supported is because of speed concerns (too slow). How slow is…

---

## [Milestone: #4 on Netcraft](https://www.ruby-forum.com/t/milestone-4-on-netcraft/139457)

<div class="topic-metadata">

**Author:** [@Evan\_M](https://www.ruby-forum.com/u/Evan_M)\
**Replies:** 10\
**Last updated:** [June 4, 2008, 9:02pm UTC](https://www.ruby-forum.com/t/milestone-4-on-netcraft/139457 "2008-06-04T21:02:02Z")

</div>

I usually pretend not to care about such things, but Igor deserves some congratulations here… http://survey.netcraft.com/Reports/200806/ Apache - 84 million domains Microsoft IIS - 61 million Google - 10 million ngin…

---

## [Using HTTP 1.1 with the backend server](https://www.ruby-forum.com/t/using-http-1-1-with-the-backend-server/139402)

<div class="topic-metadata">

**Author:** [@BjSSSSrn\_Keil](https://www.ruby-forum.com/u/BjSSSSrn_Keil)\
**Replies:** 3\
**Last updated:** [June 4, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/using-http-1-1-with-the-backend-server/139402 "2008-06-04T14:31:19Z")

</div>

Hello, I am having problems with a setup of nginx as Reverse Proxy / Load Balancer / SSL Wrapper for a couple of Apache webservers. The originally requested hostname gets lost due to the use of HTTP 1.0 instead of HT…

---

## [Proxying rtmpt by nginx](https://www.ruby-forum.com/t/proxying-rtmpt-by-nginx/139152)

<div class="topic-metadata">

**Author:** [@just\_starting](https://www.ruby-forum.com/u/just_starting)\
**Replies:** 15\
**Last updated:** [June 3, 2008, 4:32pm UTC](https://www.ruby-forum.com/t/proxying-rtmpt-by-nginx/139152 "2008-06-03T16:32:43Z")

</div>

hi, Is it possible to run red5 rtmpt via proxy of nginx? I know that the protocols are different, but still, is there any workaround available? Thanks, Rakesh.

---

## [Passing environment variables to mongrel](https://www.ruby-forum.com/t/passing-environment-variables-to-mongrel/139356)

<div class="topic-metadata">

**Author:** [@jenny\_w](https://www.ruby-forum.com/u/jenny_w)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/passing-environment-variables-to-mongrel/139356 "2008-06-03T16:10:50Z")

</div>

The Rails app I’m working on requires an environment variable to be set. I thought I could do this in my cap deploy script. Unfortunately, it seems that the Mongrel processes that are started up by Mongrel Cluster hav…

---

## [Error: Mongrel timed out this thread: too many open files](https://www.ruby-forum.com/t/error-mongrel-timed-out-this-thread-too-many-open-files/139011)

<div class="topic-metadata">

**Author:** [@emmett](https://www.ruby-forum.com/u/emmett)\
**Replies:** 7\
**Last updated:** [June 3, 2008, 8:15am UTC](https://www.ruby-forum.com/t/error-mongrel-timed-out-this-thread-too-many-open-files/139011 "2008-06-03T08:15:38Z")

</div>

I just switched to Mongrel, and it’s been working much better than my previous lighttpd/fastcgi setup. So thanks for the awesomeness. My current problem: once or twice an hour, I get following error in production Mon…

---

## [Mongrel error since updating to OSX 10.5.3](https://www.ruby-forum.com/t/mongrel-error-since-updating-to-osx-10-5-3/139085)

<div class="topic-metadata">

**Author:** [@Matt\_Daw](https://www.ruby-forum.com/u/Matt_Daw)\
**Replies:** 3\
**Last updated:** [June 2, 2008, 10:37pm UTC](https://www.ruby-forum.com/t/mongrel-error-since-updating-to-osx-10-5-3/139085 "2008-06-02T22:37:09Z")

</div>

Howdy, I’m getting an error message when trying to run one of my rails apps, which seems to have started after updating to 10.5.3. mattdaw-2:v1.5\_patch mdaw$ mongrel\_rails start \*\* Starting Mongrel listening at 0.0.0.…

---

## [How to disable mongrel logs](https://www.ruby-forum.com/t/how-to-disable-mongrel-logs/139182)

<div class="topic-metadata">

**Author:** [@pederbl](https://www.ruby-forum.com/u/pederbl)\
**Replies:** 0\
**Last updated:** [June 1, 2008, 10:09am UTC](https://www.ruby-forum.com/t/how-to-disable-mongrel-logs/139182 "2008-06-01T10:09:03Z")

</div>

How do I disable mongrel’s logging?

---

## [Optimum hardware for running nginx?](https://www.ruby-forum.com/t/optimum-hardware-for-running-nginx/139173)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 1\
**Last updated:** [June 1, 2008, 4:25am UTC](https://www.ruby-forum.com/t/optimum-hardware-for-running-nginx/139173 "2008-06-01T04:25:58Z")

</div>

Hi, Does anyone have any experience choosing the best dedicated hardware to run nginx on ? I’m considering using nginx for a medium-trafficked site (around 500 connections per minute) and am interested in: How much…

---

## [Log file permissions](https://www.ruby-forum.com/t/log-file-permissions/139096)

<div class="topic-metadata">

**Author:** [@Henrik\_Vendelbo](https://www.ruby-forum.com/u/Henrik_Vendelbo)\
**Replies:** 4\
**Last updated:** [June 1, 2008, 12:20am UTC](https://www.ruby-forum.com/t/log-file-permissions/139096 "2008-06-01T00:20:09Z")

</div>

I am quite stuck trying to set up access/error logging for nginx. nobody 17992 0.0 0.1 76872 1144 ?? S 12:20am 0:00.00 nginx: worker process nobody 17991 0.0 0.1 76872 1140 ?? S 12:20…

---

## [Sticky session proxying](https://www.ruby-forum.com/t/sticky-session-proxying/139125)

<div class="topic-metadata">

**Author:** [@allins](https://www.ruby-forum.com/u/allins)\
**Replies:** 1\
**Last updated:** [May 31, 2008, 6:39pm UTC](https://www.ruby-forum.com/t/sticky-session-proxying/139125 "2008-05-31T18:39:47Z")

</div>

anyone done any work with writing a module that will do sticky session proxying with nginx?

---

## [Mongrel handler and root\_handler](https://www.ruby-forum.com/t/mongrel-handler-and-root-handler/139126)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 0\
**Last updated:** [May 31, 2008, 1:40am UTC](https://www.ruby-forum.com/t/mongrel-handler-and-root-handler/139126 "2008-05-31T01:40:30Z")

</div>

Hi I am writing my own handler and seeing some strance behavior. Best is describing by the following code say I create mongrel server (see at the end of the email) and have one handler for the root (so shoudl handle …

---

## [Syslog support for nginx](https://www.ruby-forum.com/t/syslog-support-for-nginx/137717)

<div class="topic-metadata">

**Author:** [@Marlon\_de\_Boer](https://www.ruby-forum.com/u/Marlon_de_Boer)\
**Replies:** 4\
**Last updated:** [May 29, 2008, 9:26pm UTC](https://www.ruby-forum.com/t/syslog-support-for-nginx/137717 "2008-05-29T21:26:12Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, At my work we use syslog to maintain all logs on a central place. We really missed the syslog support in nginx so I created a patch which allows syslog logging.…

---

## [Missing slash on URL?](https://www.ruby-forum.com/t/missing-slash-on-url/138569)

<div class="topic-metadata">

**Author:** [@teck](https://www.ruby-forum.com/u/teck)\
**Replies:** 7\
**Last updated:** [May 29, 2008, 12:19pm UTC](https://www.ruby-forum.com/t/missing-slash-on-url/138569 "2008-05-29T12:19:32Z")

</div>

There is something wrong, when I try to access this location, for example: http://localhost/forum Normally, if I access the above URL, it will automatically add at the end a slash: http://localhost/forum/ The page…

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

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