# Server

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

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

---

## [Unsure about proxy\_temp\_file\_write\_size to prevent upstream response buffering](https://www.ruby-forum.com/t/unsure-about-proxy-temp-file-write-size-to-prevent-upstream-response-buffering/127430)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 4\
**Last updated:** [January 29, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/unsure-about-proxy-temp-file-write-size-to-prevent-upstream-response-buffering/127430 "2008-01-29T14:55:21Z")

</div>

For large dynamic responses generated by our application occasionally they are being buffered to disk 2008/01/29 14:21:13 \[warn\] 19297#0: \*12289266 an upstream response is buffered to a temporary file /opt/local/var/r…

---

## [\#17446 \[PATCH\] Add option to mongrel\_rails to force mongrel not to serve static files](https://www.ruby-forum.com/t/17446-patch-add-option-to-mongrel-rails-to-force-mongrel-not-to-serve-static-files/127035)

<div class="topic-metadata">

**Author:** [@saimon](https://www.ruby-forum.com/u/saimon)\
**Replies:** 11\
**Last updated:** [January 29, 2008, 1:17pm UTC](https://www.ruby-forum.com/t/17446-patch-add-option-to-mongrel-rails-to-force-mongrel-not-to-serve-static-files/127035 "2008-01-29T13:17:31Z")

</div>

Hi all, I’ve just added a patch that I’d appreciate some feedback on: http://rubyforge.org/tracker/index.php?func=detail&aid=17446&group\_id=1306&atid=5147 Regards, Saimon Saimon M. Freelance Web D. (Available for …

---

## [Nginx and IE](https://www.ruby-forum.com/t/nginx-and-ie/127287)

<div class="topic-metadata">

**Author:** [@just\_starting](https://www.ruby-forum.com/u/just_starting)\
**Replies:** 8\
**Last updated:** [January 29, 2008, 1:57am UTC](https://www.ruby-forum.com/t/nginx-and-ie/127287 "2008-01-29T01:57:00Z")

</div>

hi, I have set the gzip flag in the config file to ON to gzip the static files on the fly. Now the problem is this flag is breaking the pages for some version of IE6. So, is there any way I can set the flag ON/OFF …

---

## [Static web server config improvements](https://www.ruby-forum.com/t/static-web-server-config-improvements/127371)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [January 28, 2008, 10:54pm UTC](https://www.ruby-forum.com/t/static-web-server-config-improvements/127371 "2008-01-28T22:54:49Z")

</div>

this is my config for a web server that does only static files mostly gifs, pngs and jpgs… is there any improvement i can do in this like is there some sort of caching that can be enabled? or any other improvements t…

---

## [Mod\_strip](https://www.ruby-forum.com/t/mod-strip/127381)

<div class="topic-metadata">

**Author:** [@Evan\_M](https://www.ruby-forum.com/u/Evan_M)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 8:01pm UTC](https://www.ruby-forum.com/t/mod-strip/127381 "2008-01-28T20:01:41Z")

</div>

Ever get annoyed at all those extra spaces in your web site’s HTML? Do you fantasize about one day reaping all those tabs and newlines that do nothing but cost you bandwidth? Fantasize no longer! I’ve written a quick …

---

## [Awstats and nginx](https://www.ruby-forum.com/t/awstats-and-nginx/126950)

<div class="topic-metadata">

**Author:** [@Alexis\_Torres\_Garni](https://www.ruby-forum.com/u/Alexis_Torres_Garni)\
**Replies:** 7\
**Last updated:** [January 28, 2008, 3:31pm UTC](https://www.ruby-forum.com/t/awstats-and-nginx/126950 "2008-01-28T15:31:05Z")

</div>

Hi guys, how can allow the use of AWStats as a CGI in nginx? tnks =)

---

## [Question about proxy\_store](https://www.ruby-forum.com/t/question-about-proxy-store/127256)

<div class="topic-metadata">

**Author:** [@eliott](https://www.ruby-forum.com/u/eliott)\
**Replies:** 10\
**Last updated:** [January 28, 2008, 11:56am UTC](https://www.ruby-forum.com/t/question-about-proxy-store/127256 "2008-01-28T11:56:52Z")

</div>

I am having problems with proxy being unable to store pages that do not have a file extension (such as a directory or “nice url”). User requests http://domain.com/page/hello/ nginx looks in the root, can not find the…

---

## [PHP, Apache, Mongrel cluster](https://www.ruby-forum.com/t/php-apache-mongrel-cluster/126251)

<div class="topic-metadata">

**Author:** [@cleaner416](https://www.ruby-forum.com/u/cleaner416)\
**Replies:** 31\
**Last updated:** [January 27, 2008, 12:17am UTC](https://www.ruby-forum.com/t/php-apache-mongrel-cluster/126251 "2008-01-27T00:17:24Z")

</div>

I have a server that is running a couple of PHP applications where I also want to run a couple of Rails apps via mongrel cluster. I was thinking that I would run Apache on a separate port, say 9000, then use nginx as…

---

## [SSL support and setup](https://www.ruby-forum.com/t/ssl-support-and-setup/127230)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 3\
**Last updated:** [January 26, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/ssl-support-and-setup/127230 "2008-01-26T22:11:54Z")

</div>

Hi guys, From the SSL module documentation page: http://wiki.codemongers.com/NginxHttpSslModule it is recommended to run one worker process only and to enable keep-alive connections. However often for serving Rails …

---

## [Apache, proxypass and REMOTE\_USER](https://www.ruby-forum.com/t/apache-proxypass-and-remote-user/127172)

<div class="topic-metadata">

**Author:** [@simonsaid](https://www.ruby-forum.com/u/simonsaid)\
**Replies:** 2\
**Last updated:** [January 25, 2008, 7:44pm UTC](https://www.ruby-forum.com/t/apache-proxypass-and-remote-user/127172 "2008-01-25T19:44:18Z")

</div>

Hello, still trying to get things going. With proxypass the REMOTE\_USER variable set by mod\_auth\_\* is not passed to mongrel. I found another admin that has the same problem\[1\], but no solution. Did someone here solv…

---

## [Hi, can someone explain to me backgroundrb and mongrel?](https://www.ruby-forum.com/t/hi-can-someone-explain-to-me-backgroundrb-and-mongrel/127118)

<div class="topic-metadata">

**Author:** [@bbqplate](https://www.ruby-forum.com/u/bbqplate)\
**Replies:** 4\
**Last updated:** [January 25, 2008, 6:06pm UTC](https://www.ruby-forum.com/t/hi-can-someone-explain-to-me-backgroundrb-and-mongrel/127118 "2008-01-25T18:06:42Z")

</div>

hi, i am trying to grasp some concepts about mongrel, rails, and backgroundrb on how they all work in terms of threads and such. is there a book about distributed ruby and processes? i havent seen any on amazon yet… …

---

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

<div class="topic-metadata">

**Author:** [@Stefanita\_rares\_D](https://www.ruby-forum.com/u/Stefanita_rares_D)\
**Replies:** 3\
**Last updated:** [January 25, 2008, 2:04pm UTC](https://www.ruby-forum.com/t/rewrite-rules/127146 "2008-01-25T14:04:39Z")

</div>

hi guys, can anyone please translate for me the below rewrite rules? regex and rewrite is not my best quality unfortunately :frowning: i know about rtfm … but it’s just a thing that doesn’t stick with me. RewriteEngi…

---

## [GeoIP module questions](https://www.ruby-forum.com/t/geoip-module-questions/115511)

<div class="topic-metadata">

**Author:** [@ezra\_z](https://www.ruby-forum.com/u/ezra_z)\
**Replies:** 5\
**Last updated:** [January 25, 2008, 12:49pm UTC](https://www.ruby-forum.com/t/geoip-module-questions/115511 "2008-01-25T12:49:43Z")

</div>

Hey there nginxers- Is there a way to use a geoip database with nginx instead of explicitely listing out all the IP ranges in the nginx.conf? Something like this: There is a modeul for apache and lighttpd for this …

---

## [Re: writing pid file earlier](https://www.ruby-forum.com/t/re-writing-pid-file-earlier/127076)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 1\
**Last updated:** [January 24, 2008, 7:57pm UTC](https://www.ruby-forum.com/t/re-writing-pid-file-earlier/127076 "2008-01-24T19:57:46Z")

</div>

Lets say you alter the code. What happens if the PID file is written, but Mongrel dies kicking off the Rails app (because you have a problem with your Rails code)? Won’t god\* then think that your process is running wh…

---

## [Writing pid file earlier](https://www.ruby-forum.com/t/writing-pid-file-earlier/127065)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [January 24, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/writing-pid-file-earlier/127065 "2008-01-24T17:46:13Z")

</div>

I’m using god\* to monitor my mongrels. God looks at pid files to know the status of the cluster. It seems as though mongrel does not write a pid file until it has loaded the entire rails/project environment, which in …

---

## [ERROR RUNNING 'service::install'](https://www.ruby-forum.com/t/error-running-service-install/127024)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 3\
**Last updated:** [January 24, 2008, 4:31pm UTC](https://www.ruby-forum.com/t/error-running-service-install/127024 "2008-01-24T16:31:56Z")

</div>

Hi, I’m trying to start a Mongrel (1.1.3) Server, running as a Windows Service, via mongrel\_rails service::install -N FDS\_Server\_4001 -p 4001 -e production But I get the following error message : ERROR RUNNING ‘serv…

---

## [Again: Workaround found for request queuing vs. num\_processors, accept/close](https://www.ruby-forum.com/t/again-workaround-found-for-request-queuing-vs-num-processors-accept-close/126966)

<div class="topic-metadata">

**Author:** [@simonsaid](https://www.ruby-forum.com/u/simonsaid)\
**Replies:** 14\
**Last updated:** [January 24, 2008, 2:14pm UTC](https://www.ruby-forum.com/t/again-workaround-found-for-request-queuing-vs-num-processors-accept-close/126966 "2008-01-24T14:14:08Z")

</div>

Hello all. I too found out that I sometimes have some action that can take up to 10 seconds in my rails application. I’ve read all arguments Zed made about polling/and inbox strategies, and I think I just can’t work a…

---

## [Path\_info](https://www.ruby-forum.com/t/path-info/126901)

<div class="topic-metadata">

**Author:** [@Dave\_Dash](https://www.ruby-forum.com/u/Dave_Dash)\
**Replies:** 5\
**Last updated:** [January 24, 2008, 2:44am UTC](https://www.ruby-forum.com/t/path-info/126901 "2008-01-24T02:44:45Z")

</div>

PATH\_INFO is supposed to be decoded by the server and then passed to the CGI application. How can I do that from nginx. My PATH\_INFO never gets decoded and it throws off my CGI scripts. best, dd

---

## [Re: Apache, Mongrel, Authentication](https://www.ruby-forum.com/t/re-apache-mongrel-authentication/126938)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 4:22pm UTC](https://www.ruby-forum.com/t/re-apache-mongrel-authentication/126938 "2008-01-23T16:22:38Z")

</div>

You are only protecting your public directory with basic authentication. Try moving the Auth\* and Require directives out of the scope of the public directory, and into the scope of the Virtual Host. Sean B. wrote …

---

## [Compiling the http 1.1 parser apart issue](https://www.ruby-forum.com/t/compiling-the-http-1-1-parser-apart-issue/126912)

<div class="topic-metadata">

**Author:** [@deliak](https://www.ruby-forum.com/u/deliak)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 12:24pm UTC](https://www.ruby-forum.com/t/compiling-the-http-1-1-parser-apart-issue/126912 "2008-01-23T12:24:14Z")

</div>

I do need to install mongrel on an embedded device which cannot compile so I do have to cross compile the http 1.1 parser separately. I get a lot of errors during compilation trying to do so. Has anyone experience of …

---

## [Deny access to one file](https://www.ruby-forum.com/t/deny-access-to-one-file/126258)

<div class="topic-metadata">

**Author:** [@Emers](https://www.ruby-forum.com/u/Emers)\
**Replies:** 9\
**Last updated:** [January 23, 2008, 8:12am UTC](https://www.ruby-forum.com/t/deny-access-to-one-file/126258 "2008-01-23T08:12:23Z")

</div>

Hi there. I was trying to deny access to specified file for several ip ranges, but it goes nothing. Does anyone can help me? My location directive is as follow: server { … root /home/phpbb/public\_html; …

---

## [SSL\_shutdown() failed (SSL:) while proxying](https://www.ruby-forum.com/t/ssl-shutdown-failed-ssl-while-proxying/126405)

<div class="topic-metadata">

**Author:** [@John\_Capo](https://www.ruby-forum.com/u/John_Capo)\
**Replies:** 2\
**Last updated:** [January 22, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/ssl-shutdown-failed-ssl-while-proxying/126405 "2008-01-22T23:53:19Z")

</div>

I am testing 0.5.35 as a replacement for my perdition IMAP/POP3 proxies. I fed a bit of real traffic to nginx today and within a few seconds I see SSL\_shutdown errors in the logs. Nothing in testing produced that er…

---

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

<div class="topic-metadata">

**Author:** [@rantanplan](https://www.ruby-forum.com/u/rantanplan)\
**Replies:** 1\
**Last updated:** [January 22, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/rewrite-questions/126839 "2008-01-22T20:43:53Z")

</div>

Hi, I am quite new to nginx and already ran into some troubles with rewriting URLs. If the cliewnt requests a URL like http://www.example.com/en/something/ I would like to have nginx looking if a file exists in /doc…

---

## [My personal nginx patches repository](https://www.ruby-forum.com/t/my-personal-nginx-patches-repository/126825)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/my-personal-nginx-patches-repository/126825 "2008-01-22T16:06:09Z")

</div>

Hi. I have published a personal copy of the nginx sources in a Mercurial repository: http://hg.mperillo.ath.cx/nginx/nginx-stable-mperillo/ This is my development repository. I have also published a repository with …

---

## [\[ANN\] Ebb Web Server](https://www.ruby-forum.com/t/ann-ebb-web-server/126010)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 29\
**Last updated:** [January 22, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/ann-ebb-web-server/126010 "2008-01-22T16:04:59Z")

</div>

Hello Mongrel Users, I’m writing a web server called Ebb. It’s written in C, makes use of the Mongrel HTTP parser, and uses libev its event loop. The goal is to be small, fast, and language independent server that can…

---

## [Nonstandard Response Headers](https://www.ruby-forum.com/t/nonstandard-response-headers/120701)

<div class="topic-metadata">

**Author:** [@Brendan\_Schwartz](https://www.ruby-forum.com/u/Brendan_Schwartz)\
**Replies:** 10\
**Last updated:** [January 22, 2008, 10:06am UTC](https://www.ruby-forum.com/t/nonstandard-response-headers/120701 "2008-01-22T10:06:42Z")

</div>

Is there a way to get Nginx to send nonstandard response headers (e.g. “User-Header”); it looks like they’re being filtered. Thanks, Brendan

---

## [SSL downloads broken in 0.5.35](https://www.ruby-forum.com/t/ssl-downloads-broken-in-0-5-35/125681)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 10\
**Last updated:** [January 21, 2008, 7:27pm UTC](https://www.ruby-forum.com/t/ssl-downloads-broken-in-0-5-35/125681 "2008-01-21T19:27:10Z")

</div>

Hi Igor, We had been using 0.5.34 + the SSL patch placed on this list a month ago which has solved our SSL download issues. After upgrading to 0.5.35 the error has again returned. 2008/01/11 14:03:51 \[crit\] 10251#0: …

---

## [A web cache system base on nginx web server. faster and more efficient than squid](https://www.ruby-forum.com/t/a-web-cache-system-base-on-nginx-web-server-faster-and-more-efficient-than-squid/126422)

<div class="topic-metadata">

**Author:** [@SSSSS\_S\_SSSSSSSSS\_S](https://www.ruby-forum.com/u/SSSSS_S_SSSSSSSSS_S)\
**Replies:** 2\
**Last updated:** [January 21, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/a-web-cache-system-base-on-nginx-web-server-faster-and-more-efficient-than-squid/126422 "2008-01-21T16:20:06Z")

</div>

http://code.google.com/p/ncache/ What is ncache? a web cache system base on nginx web server. faster and more efficient than squid. we have published a release version 1.2http://ncache.googlecode.com/files/ncache-1…

---

## [What does this error log mean?](https://www.ruby-forum.com/t/what-does-this-error-log-mean/126617)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 3\
**Last updated:** [January 21, 2008, 1:35pm UTC](https://www.ruby-forum.com/t/what-does-this-error-log-mean/126617 "2008-01-21T13:35:37Z")

</div>

Hi all I installed Nginx 0.5.34 on FreeBSD 6.2 (AMD) as a load balance, and I defined the error log like: error\_log /home/nginx/logs/crit\_error.log crit; Today, I find the following error info from this error log f…

---

## [Nginx reverse proxy with IP-Based vhosts apache](https://www.ruby-forum.com/t/nginx-reverse-proxy-with-ip-based-vhosts-apache/126448)

<div class="topic-metadata">

**Author:** [@jamiequint](https://www.ruby-forum.com/u/jamiequint)\
**Replies:** 4\
**Last updated:** [January 21, 2008, 1:13am UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-with-ip-based-vhosts-apache/126448 "2008-01-21T01:13:33Z")

</div>

Hi, I’m looking for comments on my nginx.conf file. I am using nginx to serve some static content and proxy to apache for some other requests however I think there is something wrong with my proxypass settings. If …

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

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