# Server

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

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

---

## [Mongrel\_rails cluster::stop not working](https://www.ruby-forum.com/t/mongrel-rails-cluster-stop-not-working/140285)

<div class="topic-metadata">

**Author:** [@aathisankar](https://www.ruby-forum.com/u/aathisankar)\
**Replies:** 5\
**Last updated:** [January 12, 2009, 7:25pm UTC](https://www.ruby-forum.com/t/mongrel-rails-cluster-stop-not-working/140285 "2009-01-12T19:25:46Z")

</div>

Hi am a newbie to mongrel. am using mongrel cluster in my ruby application. When i start mongrel cluster it is working fine and when i stop it it says already stopped port 8000. it is giving the error as follows \*\*…

---

## [X-Accel-Redirect can not serve some files](https://www.ruby-forum.com/t/x-accel-redirect-can-not-serve-some-files/157499)

<div class="topic-metadata">

**Author:** [@vitaliel](https://www.ruby-forum.com/u/vitaliel)\
**Replies:** 3\
**Last updated:** [January 12, 2009, 12:30pm UTC](https://www.ruby-forum.com/t/x-accel-redirect-can-not-serve-some-files/157499 "2009-01-12T12:30:45Z")

</div>

We use at Assembla common rails stack: nginx(0.6.33) - haproxy(1.3.15.7) thin(1.0.0) and X-Accel-Redirect feature. Some files can not be served by nginx and it returns 502 error: This link work: …

---

## [NCache v3.0 for 64-bit linux and freebsd](https://www.ruby-forum.com/t/ncache-v3-0-for-64-bit-linux-and-freebsd/157492)

<div class="topic-metadata">

**Author:** [@pf\_shineyear](https://www.ruby-forum.com/u/pf_shineyear)\
**Replies:** 0\
**Last updated:** [January 12, 2009, 10:20am UTC](https://www.ruby-forum.com/t/ncache-v3-0-for-64-bit-linux-and-freebsd/157492 "2009-01-12T10:20:40Z")

</div>

hello everyone we published a new version of ncache v3.0 on www.ncache.org The large storage can save over 30,000,000 caches The self sort share memory hash index Base on the fastest web server framework : nginx Th…

---

## [Nginx and heavy DAV traffic](https://www.ruby-forum.com/t/nginx-and-heavy-dav-traffic/157421)

<div class="topic-metadata">

**Author:** [@Janar\_Kartau](https://www.ruby-forum.com/u/Janar_Kartau)\
**Replies:** 1\
**Last updated:** [January 11, 2009, 8:35pm UTC](https://www.ruby-forum.com/t/nginx-and-heavy-dav-traffic/157421 "2009-01-11T20:35:54Z")

</div>

Heia, I’m planning to use nginx & DAV as a storage backend for 3 webservers (instead of GFS mounted on all webservers). I’m sure nginx can serve static files just fine. What worries me is the DAV module… can it handl…

---

## ["service mongrel\_cluster start" startup fails](https://www.ruby-forum.com/t/service-mongrel-cluster-start-startup-fails/148567)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 8\
**Last updated:** [January 11, 2009, 4:52am UTC](https://www.ruby-forum.com/t/service-mongrel-cluster-start-startup-fails/148567 "2009-01-11T04:52:00Z")

</div>

I’ve attempted to configure mongrel to start as a service in RHEL. I’ve copied mongrel\_cluster to /etc/init.d and “#/etc/init.d/mongrel\_cluster start” does work. However when I attempt to start mongrel\_cluster using “…

---

## [SSH Proxying Through SSL CONNECT](https://www.ruby-forum.com/t/ssh-proxying-through-ssl-connect/157406)

<div class="topic-metadata">

**Author:** [@bando](https://www.ruby-forum.com/u/bando)\
**Replies:** 1\
**Last updated:** [January 10, 2009, 8:35pm UTC](https://www.ruby-forum.com/t/ssh-proxying-through-ssl-connect/157406 "2009-01-10T20:35:48Z")

</div>

I’m attempting to proxy an SSH connection through port 443 so that I can break a restrictive firewall while nginx is serving documents via SSL at the same time. I found a python script called http-proxy-tunnel (http:…

---

## [Custom headers with X-Accel-Redirect](https://www.ruby-forum.com/t/custom-headers-with-x-accel-redirect/122026)

<div class="topic-metadata">

**Author:** [@equinox86](https://www.ruby-forum.com/u/equinox86)\
**Replies:** 9\
**Last updated:** [January 9, 2009, 9:55pm UTC](https://www.ruby-forum.com/t/custom-headers-with-x-accel-redirect/122026 "2009-01-09T21:55:39Z")

</div>

This is my understanding according to this: http://wiki.codemongers.com/NginxXSendfile Nginx will ignore any additional headers you pass along, except for the list below, with your response? Content-Type Content-Di…

---

## [Set Variable from Content of Text File?](https://www.ruby-forum.com/t/set-variable-from-content-of-text-file/157248)

<div class="topic-metadata">

**Author:** [@Resicow](https://www.ruby-forum.com/u/Resicow)\
**Replies:** 6\
**Last updated:** [January 9, 2009, 7:53pm UTC](https://www.ruby-forum.com/t/set-variable-from-content-of-text-file/157248 "2009-01-09T19:53:23Z")

</div>

Hello Nginx Community, and Happy New Year… Is it possible to set the value of a variable based on the contents of a text file? So if there is site downtime, I can place a file in a directory that nginx will see and w…

---

## [HTTP parse error due to an extra percent sign](https://www.ruby-forum.com/t/http-parse-error-due-to-an-extra-percent-sign/157146)

<div class="topic-metadata">

**Author:** [@roallen](https://www.ruby-forum.com/u/roallen)\
**Replies:** 13\
**Last updated:** [January 9, 2009, 1:30pm UTC](https://www.ruby-forum.com/t/http-parse-error-due-to-an-extra-percent-sign/157146 "2009-01-09T13:30:46Z")

</div>

If you append an extra percent sign to a URL that gets passed to mongrel, it will return a Bad Request error. Kind of odd that “http://localhost/%” causes a “Bad Request” instead of a “Not Found” error. Here is the …

---

## [Re: http\_sub\_module, need help](https://www.ruby-forum.com/t/re-http-sub-module-need-help/157295)

<div class="topic-metadata">

**Author:** [@nbubingo](https://www.ruby-forum.com/u/nbubingo)\
**Replies:** 3\
**Last updated:** [January 9, 2009, 11:30am UTC](https://www.ruby-forum.com/t/re-http-sub-module-need-help/157295 "2009-01-09T11:30:09Z")

</div>

The http\_sub\_filter\_module can substitue one string to another. Sometimes it dosen’t work because of gzip. If the HTTP packets come from backend and the client’s HTTP request header comes with “Content-Encoding:gzip”,…

---

## [Nginx doesnt transfer headers to mongrel\_handler](https://www.ruby-forum.com/t/nginx-doesnt-transfer-headers-to-mongrel-handler/157316)

<div class="topic-metadata">

**Author:** [@Asif\_A](https://www.ruby-forum.com/u/Asif_A)\
**Replies:** 0\
**Last updated:** [January 9, 2009, 11:08am UTC](https://www.ruby-forum.com/t/nginx-doesnt-transfer-headers-to-mongrel-handler/157316 "2009-01-09T11:08:21Z")

</div>

Hi, I am reposting this question because I think that I may have not been clear with the earlier question I am using nginx as a reverse proxy sending the requests to mongrel\_handler This handler is not able to recei…

---

## [Cannot get HTTP HEADERS in Mongrel Handler with Nginx](https://www.ruby-forum.com/t/cannot-get-http-headers-in-mongrel-handler-with-nginx/157317)

<div class="topic-metadata">

**Author:** [@sathish\_303](https://www.ruby-forum.com/u/sathish_303)\
**Replies:** 0\
**Last updated:** [January 9, 2009, 10:47am UTC](https://www.ruby-forum.com/t/cannot-get-http-headers-in-mongrel-handler-with-nginx/157317 "2009-01-09T10:47:51Z")

</div>

Hi, I am reposting this question because I think that I may have not been clear with the earlier question I am using nginx as a reverse proxy sending the requests to mongrel\_handler This handler is not able to recei…

---

## [Serve files by alias](https://www.ruby-forum.com/t/serve-files-by-alias/157299)

<div class="topic-metadata">

**Author:** [@dust](https://www.ruby-forum.com/u/dust)\
**Replies:** 0\
**Last updated:** [January 9, 2009, 8:36am UTC](https://www.ruby-forum.com/t/serve-files-by-alias/157299 "2009-01-09T08:36:33Z")

</div>

Hi there. I’d like to serve a bunch of files stored in the filesystem. Unlike serving them directly by their name, I would like to have them served by ID, e.g. like http://example.com/file/1337 serves /u01/media/some…

---

## [Re: Can Nginx serve big static file?](https://www.ruby-forum.com/t/re-can-nginx-serve-big-static-file/157296)

<div class="topic-metadata">

**Author:** [@nbubingo](https://www.ruby-forum.com/u/nbubingo)\
**Replies:** 0\
**Last updated:** [January 9, 2009, 8:28am UTC](https://www.ruby-forum.com/t/re-can-nginx-serve-big-static-file/157296 "2009-01-09T08:28:46Z")

</div>

I found that nginx-0.6.32 sends big static file chunked 32k every time. And you can set : “sendfile on;”. That’s quite useful. 2009-01-09 YaoWeibin å‘ä»¶äººï¼š Gio å‘é€æ—¶é—´ï¼š 2009-01-09 14:23:38 æ”¶ä»¶äººï¼š…

---

## [Can Nginx serve big static file?](https://www.ruby-forum.com/t/can-nginx-serve-big-static-file/157292)

<div class="topic-metadata">

**Author:** [@gio](https://www.ruby-forum.com/u/gio)\
**Replies:** 0\
**Last updated:** [January 9, 2009, 7:26am UTC](https://www.ruby-forum.com/t/can-nginx-serve-big-static-file/157292 "2009-01-09T07:26:08Z")

</div>

Dear list, I have a server with small RAM (2GB), 2xCPU, HDD w/o RAID. I currently run Apache to serve some static files (big, 100MB -\> 1GB). Apache got sick when trying to handle about 300 connections. It consumes a…

---

## [Http\_sub\_module, need help](https://www.ruby-forum.com/t/http-sub-module-need-help/157285)

<div class="topic-metadata">

**Author:** [@raptium](https://www.ruby-forum.com/u/raptium)\
**Replies:** 0\
**Last updated:** [January 9, 2009, 6:55am UTC](https://www.ruby-forum.com/t/http-sub-module-need-help/157285 "2009-01-09T06:55:45Z")

</div>

I am using nginx as a reverse proxy for IBM Lotus Domino Web Mail. Since there are some internal only URL in email content, I need http\_sub\_module to modify(add some prefix ) the URL so that user outside intranet can …

---

## [How to emulate features of htaccess file](https://www.ruby-forum.com/t/how-to-emulate-features-of-htaccess-file/157256)

<div class="topic-metadata">

**Author:** [@tuatha](https://www.ruby-forum.com/u/tuatha)\
**Replies:** 0\
**Last updated:** [January 8, 2009, 10:20pm UTC](https://www.ruby-forum.com/t/how-to-emulate-features-of-htaccess-file/157256 "2009-01-08T22:20:28Z")

</div>

my original apache .htaccess file for a site looked like this: AuthUserFile /var/www/htpasswd AuthType Basic AuthName MySite Require valid-user BrowserMatchNoCase HAPPYBOT is\_happy Order Deny,Allow Deny from all …

---

## [Mongrel handler](https://www.ruby-forum.com/t/mongrel-handler/157210)

<div class="topic-metadata">

**Author:** [@sathish\_303](https://www.ruby-forum.com/u/sathish_303)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 7:09pm UTC](https://www.ruby-forum.com/t/mongrel-handler/157210 "2009-01-08T19:09:42Z")

</div>

When i try to get the remote address of the system ,its returning only the proxy server ip or localhost ip address.But i need the service provider ip address of the system.Is there is any http header variables,because…

---

## [Undocumented error\_page bug/feature/behavior](https://www.ruby-forum.com/t/undocumented-error-page-bug-feature-behavior/157066)

<div class="topic-metadata">

**Author:** [@jonny](https://www.ruby-forum.com/u/jonny)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 3:32am UTC](https://www.ruby-forum.com/t/undocumented-error-page-bug-feature-behavior/157066 "2009-01-08T03:32:43Z")

</div>

i just discovered this after 2 hours of testing If you define error\_page for a server block multiple times, only the first one will take, subsequent ones will not override That means if you store your error pages in …

---

## [Check out my Facebook profile](https://www.ruby-forum.com/t/check-out-my-facebook-profile/157083)

<div class="topic-metadata">

**Author:** [@Joshua\_Schmidlkofer](https://www.ruby-forum.com/u/Joshua_Schmidlkofer)\
**Replies:** 1\
**Last updated:** [January 7, 2009, 10:38pm UTC](https://www.ruby-forum.com/t/check-out-my-facebook-profile/157083 "2009-01-07T22:38:31Z")

</div>

Hi nginx, I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own …

---

## [Serving an alternate robots.txt for SSL requests](https://www.ruby-forum.com/t/serving-an-alternate-robots-txt-for-ssl-requests/157122)

<div class="topic-metadata">

**Author:** [@Juan\_FcoSGiordana](https://www.ruby-forum.com/u/Juan_FcoSGiordana)\
**Replies:** 1\
**Last updated:** [January 7, 2009, 4:32pm UTC](https://www.ruby-forum.com/t/serving-an-alternate-robots-txt-for-ssl-requests/157122 "2009-01-07T16:32:25Z")

</div>

Hello list, I’m using nginx-0.6.34 with the try\_files patch applied and I’m trying to serve an alternate robots.txt for requests on port 443 so pages under secure connections are not shown by web crawlers. I’ve tried…

---

## [Wishlist item - store configure options](https://www.ruby-forum.com/t/wishlist-item-store-configure-options/157053)

<div class="topic-metadata">

**Author:** [@jonny](https://www.ruby-forum.com/u/jonny)\
**Replies:** 4\
**Last updated:** [January 7, 2009, 2:26pm UTC](https://www.ruby-forum.com/t/wishlist-item-store-configure-options/157053 "2009-01-07T14:26:25Z")

</div>

just wanted to wishlist this… it would be really neat if one could call something like… nginx --install\_options or something similar, which would just list all the arguments to ./ configure when nginx was originally …

---

## [Memory leak under heavy load inside OpenVZ container](https://www.ruby-forum.com/t/memory-leak-under-heavy-load-inside-openvz-container/157046)

<div class="topic-metadata">

**Author:** [@Emmanuel\_Bastien](https://www.ruby-forum.com/u/Emmanuel_Bastien)\
**Replies:** 1\
**Last updated:** [January 6, 2009, 10:44pm UTC](https://www.ruby-forum.com/t/memory-leak-under-heavy-load-inside-openvz-container/157046 "2009-01-06T22:44:33Z")

</div>

Hello, For some reason my web site is being constantly flooded by requests “GET //infe/getinfo.php HTTP/1.1” coming from one hundred client at the same time. Nginx 0.6.34 is running inside a Debian Etch OpenVZ contai…

---

## [Are these rules ok?](https://www.ruby-forum.com/t/are-these-rules-ok/156334)

<div class="topic-metadata">

**Author:** [@Shri\_S\_GeoExpat.Com](https://www.ruby-forum.com/u/Shri_S_GeoExpat.Com)\
**Replies:** 14\
**Last updated:** [January 6, 2009, 3:03pm UTC](https://www.ruby-forum.com/t/are-these-rules-ok/156334 "2009-01-06T15:03:19Z")

</div>

I’m trying to setup my first site, which uses wordpress, photopost classifieds, vbulletin and gossamer threads (CGI Perl based) software - along with some fairly simple posts. The site is being migrated from apache (f…

---

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

<div class="topic-metadata">

**Author:** [@Asif\_A](https://www.ruby-forum.com/u/Asif_A)\
**Replies:** 6\
**Last updated:** [January 6, 2009, 5:06am UTC](https://www.ruby-forum.com/t/how-to-disable-nginx-logs-completely/156963 "2009-01-06T05:06:27Z")

</div>

Dear Group, I have tried unsuccessfully to disable nginx logs completely but looks like either there is no option or it doesn’t work Can you please advise on how to disable this completely? Thanks in advance regard…

---

## [Mod GeoIp Help Please?](https://www.ruby-forum.com/t/mod-geoip-help-please/156938)

<div class="topic-metadata">

**Author:** [@Shri\_S\_DevLib.Org](https://www.ruby-forum.com/u/Shri_S_DevLib.Org)\
**Replies:** 0\
**Last updated:** [January 5, 2009, 4:07pm UTC](https://www.ruby-forum.com/t/mod-geoip-help-please/156938 "2009-01-05T16:07:31Z")

</div>

Hello Everyone, Have migrated everything over to nginx / fastcgi from apache / sapi mod\_cgi and so far everything looks really good. I now need to implement what might be the only component that slows things down for…

---

## [1 fcgi cannot work well but 5 fcgi process does](https://www.ruby-forum.com/t/1-fcgi-cannot-work-well-but-5-fcgi-process-does/156606)

<div class="topic-metadata">

**Author:** [@miao](https://www.ruby-forum.com/u/miao)\
**Replies:** 2\
**Last updated:** [January 5, 2009, 1:18pm UTC](https://www.ruby-forum.com/t/1-fcgi-cannot-work-well-but-5-fcgi-process-does/156606 "2009-01-05T13:18:19Z")

</div>

I use nginx/0.6.31+fastcgi to deploy ruby on rails. then I use ab to do ‘ab -n1000 -c500’ for the pressure test. when it only run with 1 fastcgi process. It works well with ab -n1000 -c1 to -c100 but in -c500,after a…

---

## [Fourth](https://www.ruby-forum.com/t/fourth/156667)

<div class="topic-metadata">

**Author:** [@Juan\_FcoSGiordana](https://www.ruby-forum.com/u/Juan_FcoSGiordana)\
**Replies:** 1\
**Last updated:** [January 5, 2009, 4:07am UTC](https://www.ruby-forum.com/t/fourth/156667 "2009-01-05T04:07:32Z")

</div>

http://survey.netcraft.com/Reports/200812/ :slight\_smile:

---

## [?start=xxx](https://www.ruby-forum.com/t/start-xxx/156812)

<div class="topic-metadata">

**Author:** [@hakan\_durukan](https://www.ruby-forum.com/u/hakan_durukan)\
**Replies:** 7\
**Last updated:** [January 4, 2009, 11:03pm UTC](https://www.ruby-forum.com/t/start-xxx/156812 "2009-01-04T23:03:12Z")

</div>

hi, its my first post here.we are working for making a video player on nginx server with .flv module but we sticked to the problem that we want to tell the nginx to start from the following address but it doesnt.we w…

---

## [Converting apache rewrites to nginx](https://www.ruby-forum.com/t/converting-apache-rewrites-to-nginx/156883)

<div class="topic-metadata">

**Author:** [@Andrew\_Thornton](https://www.ruby-forum.com/u/Andrew_Thornton)\
**Replies:** 2\
**Last updated:** [January 4, 2009, 10:48pm UTC](https://www.ruby-forum.com/t/converting-apache-rewrites-to-nginx/156883 "2009-01-04T22:48:30Z")

</div>

Hello, I am currently trying to get a deployment ready in an attempt to migrate my wiki from apache to nginx and php-fpm. Things have gone pretty smoothly so far, but I am having a real problem with rewrite rules. H…

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

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