# Server

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

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

---

## [Mongrel stops to loading the page in browser](https://www.ruby-forum.com/t/mongrel-stops-to-loading-the-page-in-browser/124887)

<div class="topic-metadata">

**Author:** [@sumwutdum](https://www.ruby-forum.com/u/sumwutdum)\
**Replies:** 0\
**Last updated:** [January 3, 2008, 3:15pm UTC](https://www.ruby-forum.com/t/mongrel-stops-to-loading-the-page-in-browser/124887 "2008-01-03T15:15:57Z")

</div>

Hi all, I have a problem with mongrel-1.1.2 running with Apache Apache/2.0.61 and MySQL 5.0.45 on FreeBSD 6.1. I’m developing my application with InstantRails that uses Mongrel and everything is working great. I have…

---

## [Wordpress wp-cache html rewrite rule](https://www.ruby-forum.com/t/wordpress-wp-cache-html-rewrite-rule/124844)

<div class="topic-metadata">

**Author:** [@thuss](https://www.ruby-forum.com/u/thuss)\
**Replies:** 0\
**Last updated:** [January 3, 2008, 1:10am UTC](https://www.ruby-forum.com/t/wordpress-wp-cache-html-rewrite-rule/124844 "2008-01-03T01:10:06Z")

</div>

I have a RedHat ES 4 that uses version of PHP 4 without fastcgi support. I haven’t grown out of this server so I am running Apache on port 80 to serve PHP pages for Wordpress, and Nginx on an alterante port to serve a…

---

## [\[ANN\] mongrel\_service 0.3.4 released](https://www.ruby-forum.com/t/ann-mongrel-service-0-3-4-released/124838)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 3, 2008, 12:09am UTC](https://www.ruby-forum.com/t/ann-mongrel-service-0-3-4-released/124838 "2008-01-03T00:09:14Z")

</div>

Hello G.s, A quick and not so dirty release of mongrel\_service. Main issues got fixed: \* Strict Gem dependencies for mongrel\_service. This version is compatible only with mongrel 1.0.x, 1.1.x and with win32-service…

---

## ["mongrel\_rails --version" reporting 1.1.2 instead of 1.1.3](https://www.ruby-forum.com/t/mongrel-rails-version-reporting-1-1-2-instead-of-1-1-3/124676)

<div class="topic-metadata">

**Author:** [@bguan](https://www.ruby-forum.com/u/bguan)\
**Replies:** 7\
**Last updated:** [January 2, 2008, 6:55am UTC](https://www.ruby-forum.com/t/mongrel-rails-version-reporting-1-1-2-instead-of-1-1-3/124676 "2008-01-02T06:55:44Z")

</div>

FYI. – Brian G. http://opensolaris.org/os/project/nycosug/

---

## [Rewrites to get PHP and Statics Working in Virtual Sub Folders](https://www.ruby-forum.com/t/rewrites-to-get-php-and-statics-working-in-virtual-sub-folders/124739)

<div class="topic-metadata">

**Author:** [@HonDev\_D](https://www.ruby-forum.com/u/HonDev_D)\
**Replies:** 0\
**Last updated:** [January 2, 2008, 1:33am UTC](https://www.ruby-forum.com/t/rewrites-to-get-php-and-statics-working-in-virtual-sub-folders/124739 "2008-01-02T01:33:04Z")

</div>

Using MU Wordpress with the folder install as opposed to the subdomain install I initially couldn’t get the admin section php files or the statics working. MU Wordpress folder install creates blogs like so: domain.…

---

## [Slow file upload on OS X server](https://www.ruby-forum.com/t/slow-file-upload-on-os-x-server/123874)

<div class="topic-metadata">

**Author:** [@Jamey\_C](https://www.ruby-forum.com/u/Jamey_C)\
**Replies:** 6\
**Last updated:** [January 1, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/slow-file-upload-on-os-x-server/123874 "2008-01-01T18:42:35Z")

</div>

I have a rails app running on an OS X server, using nginx as the web server, proxying to a mongrel cluster. File uploads from the user’s browser are painfully slow when going through nginx, but if I target an individ…

---

## [Copying uploaded file](https://www.ruby-forum.com/t/copying-uploaded-file/124697)

<div class="topic-metadata">

**Author:** [@Surendra](https://www.ruby-forum.com/u/Surendra)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 6:46am UTC](https://www.ruby-forum.com/t/copying-uploaded-file/124697 "2008-01-01T06:46:08Z")

</div>

Hi, We are using mongrel\_upload\_progress to upload pictures. All fine and good. But after the file is uploaded by the user we are currently using FileUtils.copy\_stream to copy the uploaded file data into our WebDav. …

---

## [Request: allow request body to be accessed as a variable](https://www.ruby-forum.com/t/request-allow-request-body-to-be-accessed-as-a-variable/123913)

<div class="topic-metadata">

**Author:** [@hailandkill](https://www.ruby-forum.com/u/hailandkill)\
**Replies:** 2\
**Last updated:** [December 31, 2007, 11:24pm UTC](https://www.ruby-forum.com/t/request-allow-request-body-to-be-accessed-as-a-variable/123913 "2007-12-31T23:24:46Z")

</div>

Is there any chance that we might one day be able to do comparisons against the request body as we do now with $args?

---

## [Wordpress (single blog installation) and nginx](https://www.ruby-forum.com/t/wordpress-single-blog-installation-and-nginx/122993)

<div class="topic-metadata">

**Author:** [@advany](https://www.ruby-forum.com/u/advany)\
**Replies:** 20\
**Last updated:** [December 31, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/wordpress-single-blog-installation-and-nginx/122993 "2007-12-31T20:56:46Z")

</div>

Hi guys, I am running php with nginx, with fastcgi. But instead of heaving my urls like www.myblog.com/index.php/bla/bla I would like www.myblog.com/bla/blahttp://www.myblog.com/bla/bla. With the setup at the end of…

---

## [Mass virtual hosting](https://www.ruby-forum.com/t/mass-virtual-hosting/121511)

<div class="topic-metadata">

**Author:** [@BartSSSS\_omiej\_Syry](https://www.ruby-forum.com/u/BartSSSS_omiej_Syry)\
**Replies:** 3\
**Last updated:** [December 31, 2007, 7:31am UTC](https://www.ruby-forum.com/t/mass-virtual-hosting/121511 "2007-12-31T07:31:51Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is it posiible to use something like Apache’s mod\_vhost\_alias (mod\_vhost\_alias - Apache HTTP Server) in nginx? I want to define separately root, location and access\_log (…

---

## [Syntax highlighting on the wiki](https://www.ruby-forum.com/t/syntax-highlighting-on-the-wiki/124601)

<div class="topic-metadata">

**Author:** [@Evan\_M](https://www.ruby-forum.com/u/Evan_M)\
**Replies:** 1\
**Last updated:** [December 30, 2007, 10:36pm UTC](https://www.ruby-forum.com/t/syntax-highlighting-on-the-wiki/124601 "2007-12-30T22:36:01Z")

</div>

I whipped up a wiki plugin that parses Nginx configuration examples and automatically links directives to their documentation. This should make it much easier to understand examples in our cookbook. Here’s an example …

---

## [Moving towards a unified version number for mongrel and mongrel\_cluster?](https://www.ruby-forum.com/t/moving-towards-a-unified-version-number-for-mongrel-and-mongrel-cluster/124555)

<div class="topic-metadata">

**Author:** [@bguan](https://www.ruby-forum.com/u/bguan)\
**Replies:** 1\
**Last updated:** [December 30, 2007, 7:14pm UTC](https://www.ruby-forum.com/t/moving-towards-a-unified-version-number-for-mongrel-and-mongrel-cluster/124555 "2007-12-30T19:14:42Z")

</div>

Are there any plans to do so? It seems that it would make things simpler if the mongrel version number matched the mongrel\_cluster version number. (I realize this is completely arbitrary). Thoughts? -Brian Brian G. …

---

## [Unresolved bugs](https://www.ruby-forum.com/t/unresolved-bugs/124540)

<div class="topic-metadata">

**Author:** [@Evan\_M](https://www.ruby-forum.com/u/Evan_M)\
**Replies:** 4\
**Last updated:** [December 30, 2007, 7:15am UTC](https://www.ruby-forum.com/t/unresolved-bugs/124540 "2007-12-30T07:15:16Z")

</div>

I’ve been catching up on the list and noticed a number of bug reports that have not been resolved. Is it time for a bug tracker? I went ahead and compiled a few examples here: http://wiki.codemongers.com/NginxBugs Fe…

---

## [Bug or intent?: $request\_uri in SSI](https://www.ruby-forum.com/t/bug-or-intent-request-uri-in-ssi/119817)

<div class="topic-metadata">

**Author:** [@Larrytheliquid](https://www.ruby-forum.com/u/Larrytheliquid)\
**Replies:** 2\
**Last updated:** [December 30, 2007, 12:07am UTC](https://www.ruby-forum.com/t/bug-or-intent-request-uri-in-ssi/119817 "2007-12-30T00:07:31Z")

</div>

When including a file with SSI that has a query string, the $uri and $query\_string variables are set to the included file. However, the $request\_uri variable remains set to the original file. Is this supposed to happ…

---

## [Is it possible get bandwidth status for vhosts? Or SNMP module for vhosts?](https://www.ruby-forum.com/t/is-it-possible-get-bandwidth-status-for-vhosts-or-snmp-module-for-vhosts/119832)

<div class="topic-metadata">

**Author:** [@hshh](https://www.ruby-forum.com/u/hshh)\
**Replies:** 1\
**Last updated:** [December 29, 2007, 11:56pm UTC](https://www.ruby-forum.com/t/is-it-possible-get-bandwidth-status-for-vhosts-or-snmp-module-for-vhosts/119832 "2007-12-29T23:56:24Z")

</div>

Hi, I want to monitor the bandwidth usage for each vhost, but I didn’t found any feature about it. Is there SNMP module for nginx? Regards.

---

## [Sub\_filter and regexen?](https://www.ruby-forum.com/t/sub-filter-and-regexen/120053)

<div class="topic-metadata">

**Author:** [@sijomo](https://www.ruby-forum.com/u/sijomo)\
**Replies:** 1\
**Last updated:** [December 29, 2007, 11:56pm UTC](https://www.ruby-forum.com/t/sub-filter-and-regexen/120053 "2007-12-29T23:56:24Z")

</div>

Hi All, Following on from my fun with proxy\_pass yesterday… Problem: Application with dedicated httpd server over which I have no control. I want to present this to external web clients. Proxy pass now works great.…

---

## [Malloc.h obsolete](https://www.ruby-forum.com/t/malloc-h-obsolete/124523)

<div class="topic-metadata">

**Author:** [@Darrin\_Chandler](https://www.ruby-forum.com/u/Darrin_Chandler)\
**Replies:** 4\
**Last updated:** [December 29, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/malloc-h-obsolete/124523 "2007-12-29T20:26:04Z")

</div>

Hi, I have a question regarding this warning message (which is repeated many times): In file included from src/os/unix/ngx\_posix\_config.h:74, from src/core/ngx\_config.h:37, from src/core/nginx.c:7: /usr/include/mal…

---

## [Gzip\_static](https://www.ruby-forum.com/t/gzip-static/124501)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 4\
**Last updated:** [December 29, 2007, 6:39pm UTC](https://www.ruby-forum.com/t/gzip-static/124501 "2007-12-29T18:39:27Z")

</div>

The gzip\_static static module seems like something that could help us during high traffic events. I didn’t see a wiki entry for it…is there some documentation? Thanks…and happy new year to the list!

---

## [Difference between mongrel 1.0 and 1.1](https://www.ruby-forum.com/t/difference-between-mongrel-1-0-and-1-1/124510)

<div class="topic-metadata">

**Author:** [@frank\_zewerson](https://www.ruby-forum.com/u/frank_zewerson)\
**Replies:** 3\
**Last updated:** [December 29, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/difference-between-mongrel-1-0-and-1-1/124510 "2007-12-29T17:30:58Z")

</div>

i was searching the mongrel site and also this list, but didnt find any answer. maybe somebody can describe to me, what the differences are from mongrel 1.0 to 1.1 and which i should use in a production environment. r…

---

## [Regarding the 1.1.3 security release](https://www.ruby-forum.com/t/regarding-the-1-1-3-security-release/124497)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 6\
**Last updated:** [December 29, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/regarding-the-1-1-3-security-release/124497 "2007-12-29T15:42:19Z")

</div>

Apologies for starting a new thread; I just subscribed. Has anyone been able to make this exploit happen if requests are being proxied to Mongrel through Apache? I’ve been trying variations on the double-encoding th…

---

## [Arbitrary system files readable in 1.0.4 - 1.1.2](https://www.ruby-forum.com/t/arbitrary-system-files-readable-in-1-0-4-1-1-2/124461)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 6\
**Last updated:** [December 29, 2007, 11:04am UTC](https://www.ruby-forum.com/t/arbitrary-system-files-readable-in-1-0-4-1-1-2/124461 "2007-12-29T11:04:58Z")

</div>

I just found a vulnerability in one of my web apps that was running Mongrel 1.1.2 where I could go to URIs like /.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/etc/passwd and it would serve the actual /etc/passwd fi…

---

## [Please explain this 502 Bad Gateway error](https://www.ruby-forum.com/t/please-explain-this-502-bad-gateway-error/124321)

<div class="topic-metadata">

**Author:** [@just\_starting](https://www.ruby-forum.com/u/just_starting)\
**Replies:** 8\
**Last updated:** [December 28, 2007, 11:10am UTC](https://www.ruby-forum.com/t/please-explain-this-502-bad-gateway-error/124321 "2007-12-28T11:10:59Z")

</div>

hi, I am using version 0.5.34. I am testing nginx as a proxy server + static file server for my test site deployed on jetty. Can you please explain the error mentioned here. Error Log Entry : \[2007/12/27 10:44:07 \[…

---

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

<div class="topic-metadata">

**Author:** [@archfiend997](https://www.ruby-forum.com/u/archfiend997)\
**Replies:** 1\
**Last updated:** [December 27, 2007, 10:15pm UTC](https://www.ruby-forum.com/t/gzip-modules/124354 "2007-12-27T22:15:58Z")

</div>

Hello, I have been playing with the new “gzip\_static” module, and so far everything is working as described. If the module could be extended similar to LiteSpeed’s auto update feature, web maintenance would be even …

---

## [Nginx-0.6.24](https://www.ruby-forum.com/t/nginx-0-6-24/124344)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [December 27, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/nginx-0-6-24/124344 "2007-12-27T19:53:52Z")

</div>

Changes with nginx 0.6.24 27 Dec 2007 \*) Bugfix: a segmentation fault might occur in worker process if HTTPS was used; bug appeared in 0.6.23.

---

## [Nginx-0.6.23](https://www.ruby-forum.com/t/nginx-0-6-23/124317)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [December 27, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/nginx-0-6-23/124317 "2007-12-27T16:47:51Z")

</div>

Changes with nginx 0.6.23 27 Dec 2007 \*) Change: the "off" parameter in the "ssl\_session\_cache" directive; now this is default parameter. \*) Change: the "open\_file\_cache\_retes…

---

## [Running a thread in the nginx worker process cycle](https://www.ruby-forum.com/t/running-a-thread-in-the-nginx-worker-process-cycle/124312)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 2\
**Last updated:** [December 27, 2007, 4:44pm UTC](https://www.ruby-forum.com/t/running-a-thread-in-the-nginx-worker-process-cycle/124312 "2007-12-27T16:44:17Z")

</div>

Hi. With mod\_wsgi I’m starting to testing threading usage in the Python application. Do I have to take some precautions when starting a new thread? In the nginx sources I see that some signals are blocked. Above all…

---

## [Use the http\_perl\_module to development a simple url hash module](https://www.ruby-forum.com/t/use-the-http-perl-module-to-development-a-simple-url-hash-module/124134)

<div class="topic-metadata">

**Author:** [@SSSSS\_S\_SSSSSSSSS\_S](https://www.ruby-forum.com/u/SSSSS_S_SSSSSSSSS_S)\
**Replies:** 6\
**Last updated:** [December 27, 2007, 4:23am UTC](https://www.ruby-forum.com/t/use-the-http-perl-module-to-development-a-simple-url-hash-module/124134 "2007-12-27T04:23:55Z")

</div>

perl\_set $backend ’ sub { use Digest::MD5 (md5\_hex); my $r = shift; my $uri = $r-\>uri; @arr = qw(192.168.1.2 192.168.1.3 192.168.1.4 192.168.1.5); $arr\_num = $#arr + 1; $url = substr(md5\_hex($uri), -8); $backend…

---

## [SSL Memory Usage and Fragmentation](https://www.ruby-forum.com/t/ssl-memory-usage-and-fragmentation/124226)

<div class="topic-metadata">

**Author:** [@Ben\_Maurer](https://www.ruby-forum.com/u/Ben_Maurer)\
**Replies:** 3\
**Last updated:** [December 26, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/ssl-memory-usage-and-fragmentation/124226 "2007-12-26T21:36:09Z")

</div>

Hi, On a production server, I found that nginx appears to leak when using ssl. With some investigation, it seems that this is actually memory fragmentation due to the session cache. I made a very simple configuration…

---

## [Static gzip](https://www.ruby-forum.com/t/static-gzip/123998)

<div class="topic-metadata">

**Author:** [@Ben\_Maurer](https://www.ruby-forum.com/u/Ben_Maurer)\
**Replies:** 2\
**Last updated:** [December 26, 2007, 7:18pm UTC](https://www.ruby-forum.com/t/static-gzip/123998 "2007-12-26T19:18:24Z")

</div>

Hi, I’m trying to gzip static files in nginx (without compressing the file each time). I’d like to do this for two reasons: The files we’re serving are very frequently requested, we’d prefer the CPU savings of not h…

---

## [Let's build nginx server with caching !?](https://www.ruby-forum.com/t/lets-build-nginx-server-with-caching/121521)

<div class="topic-metadata">

**Author:** [@Nati\_A](https://www.ruby-forum.com/u/Nati_A)\
**Replies:** 11\
**Last updated:** [December 26, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/lets-build-nginx-server-with-caching/121521 "2007-12-26T16:29:27Z")

</div>

Hi. I’m currently using squid for cahcing images (CDN like) from my website to serv them from different server’s, the probelm with squid it’s using lot’s of CPU usage, can nginx do the same was squid does, storing d…

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

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