# Server

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

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

---

## [All mongrels crashing](https://www.ruby-forum.com/t/all-mongrels-crashing/146863)

<div class="topic-metadata">

**Author:** [@willwach](https://www.ruby-forum.com/u/willwach)\
**Replies:** 0\
**Last updated:** [August 26, 2008, 9:34am UTC](https://www.ruby-forum.com/t/all-mongrels-crashing/146863 "2008-08-26T09:34:49Z")

</div>

Hi, I got a problem running a rails app on swiftiply (0.6.1.1)/mongrel (1.1.4). It’s running on a Debian 4.0 Etch, rails 1.2.6, ruby 1.8. Mostly its running fine, but sometimes ALL mongrels die with the following m…

---

## [Nginx logs on a different path](https://www.ruby-forum.com/t/nginx-logs-on-a-different-path/146762)

<div class="topic-metadata">

**Author:** [@Asif\_A](https://www.ruby-forum.com/u/Asif_A)\
**Replies:** 3\
**Last updated:** [August 25, 2008, 10:34am UTC](https://www.ruby-forum.com/t/nginx-logs-on-a-different-path/146762 "2008-08-25T10:34:04Z")

</div>

Even though we have disabled nginx access log, it logs on a different path. /usr/local/nginx/ Does anyone know who does it? regards Asif A.

---

## [Upstream\_hash 0.3](https://www.ruby-forum.com/t/upstream-hash-0-3/146753)

<div class="topic-metadata">

**Author:** [@Evan\_M](https://www.ruby-forum.com/u/Evan_M)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 4:56am UTC](https://www.ruby-forum.com/t/upstream-hash-0-3/146753 "2008-08-25T04:56:32Z")

</div>

Changes in upstream\_hash 0.3: \*) Change: Hashing and failover are compatible with PECL Memcache (based on CRC-32). \*) Change: “hash\_method” directive removed. Note that the hashing algorithm is incompatible with old…

---

## [Mod\_zip 1.1.3: optional CRC-32's](https://www.ruby-forum.com/t/mod-zip-1-1-3-optional-crc-32s/146754)

<div class="topic-metadata">

**Author:** [@Evan\_M](https://www.ruby-forum.com/u/Evan_M)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 4:44am UTC](https://www.ruby-forum.com/t/mod-zip-1-1-3-optional-crc-32s/146754 "2008-08-25T04:44:50Z")

</div>

By popular demand… \*) Feature: If the CRC-32 field is set to “-”, the checksum will be calculated on the fly (note: mod\_zip will then disable support for the “Range” header). \*) Bugfix: occasional crash when files r…

---

## [Why is this file not being gzipped?](https://www.ruby-forum.com/t/why-is-this-file-not-being-gzipped/146668)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 10\
**Last updated:** [August 24, 2008, 9:20am UTC](https://www.ruby-forum.com/t/why-is-this-file-not-being-gzipped/146668 "2008-08-24T09:20:30Z")

</div>

http://media.xmike.com/css/style.css gzip on; gzip\_static on; gzip\_proxied any; gzip\_min\_length 1100; gzip\_buffers 16 8k; gzip\_comp\_level 4; gzip\_types text/plain text/css application/x-javas…

---

## [Connection reset by server](https://www.ruby-forum.com/t/connection-reset-by-server/146628)

<div class="topic-metadata">

**Author:** [@Adam\_Setzler](https://www.ruby-forum.com/u/Adam_Setzler)\
**Replies:** 8\
**Last updated:** [August 23, 2008, 9:26pm UTC](https://www.ruby-forum.com/t/connection-reset-by-server/146628 "2008-08-23T21:26:26Z")

</div>

I am trying to upload a 4mb file to my Drupal server… Here is my nginx.conf: user www-data; worker\_processes 2; events { worker\_connections 1024; } http { fastcgi\_param QUERY\_STRING $query\_string; fastcgi…

---

## [Upload module 2.0.5](https://www.ruby-forum.com/t/upload-module-2-0-5/146663)

<div class="topic-metadata">

**Author:** [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Replies:** 0\
**Last updated:** [August 23, 2008, 9:12pm UTC](https://www.ruby-forum.com/t/upload-module-2-0-5/146663 "2008-08-23T21:12:24Z")

</div>

Changes (23-08-2008): Fixed bug: prevent leaking of file descriptors on a timeout (unconfirmed problem). Fixed bug: variables in field values in upload\_set\_form\_field and upload\_aggregate\_form\_field directives were n…

---

## [Nginx 400 error when username included in the uri](https://www.ruby-forum.com/t/nginx-400-error-when-username-included-in-the-uri/146336)

<div class="topic-metadata">

**Author:** [@Michael\_Ching](https://www.ruby-forum.com/u/Michael_Ching)\
**Replies:** 5\
**Last updated:** [August 23, 2008, 12:23pm UTC](https://www.ruby-forum.com/t/nginx-400-error-when-username-included-in-the-uri/146336 "2008-08-23T12:23:48Z")

</div>

Hello, Currently when nginx encounters a Request-URI of the form http://removed\_email\_address@domain.invalid/ it returns error 400. This appears to be proper per RFC 2616 since the username@ is not recognized by the R…

---

## [Reason for 405 error on POST](https://www.ruby-forum.com/t/reason-for-405-error-on-post/146591)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 2\
**Last updated:** [August 23, 2008, 11:00am UTC](https://www.ruby-forum.com/t/reason-for-405-error-on-post/146591 "2008-08-23T11:00:07Z")

</div>

Hello, Having a problem with a 405 response for something that has often worked before. url is like: condor?cmd=Fbs,601&stars=1 and post data is: comment=xxxx or sometimes no post data if comment not type in. I se…

---

## [Ssi includes in reverse-proxied pages?](https://www.ruby-forum.com/t/ssi-includes-in-reverse-proxied-pages/146564)

<div class="topic-metadata">

**Author:** [@William\_Ross](https://www.ruby-forum.com/u/William_Ross)\
**Replies:** 5\
**Last updated:** [August 23, 2008, 9:35am UTC](https://www.ruby-forum.com/t/ssi-includes-in-reverse-proxied-pages/146564 "2008-08-23T09:35:14Z")

</div>

hello, Quick question: is it possible for nginx to parse SSI directives in pages retrieved from upstream? I have a front end that proxies to both a rails CMS and a shop application and I’d like to include partials fr…

---

## [Question around Gzip static and CDN](https://www.ruby-forum.com/t/question-around-gzip-static-and-cdn/146578)

<div class="topic-metadata">

**Author:** [@Rakesh\_Rajan](https://www.ruby-forum.com/u/Rakesh_Rajan)\
**Replies:** 3\
**Last updated:** [August 22, 2008, 9:44pm UTC](https://www.ruby-forum.com/t/question-around-gzip-static-and-cdn/146578 "2008-08-22T21:44:27Z")

</div>

Hi, I have recently moved serving static files from Apache to Nginx ( 0.7.11 ). As a part of build, I gzip JS and CSS files and have complied nginx using --with-http\_gzip\_static\_module . When I access the page using, …

---

## [Condition to match a missing "Host:" header](https://www.ruby-forum.com/t/condition-to-match-a-missing-host-header/146491)

<div class="topic-metadata">

**Author:** [@Luigi\_Perroti](https://www.ruby-forum.com/u/Luigi_Perroti)\
**Replies:** 6\
**Last updated:** [August 21, 2008, 7:47pm UTC](https://www.ruby-forum.com/t/condition-to-match-a-missing-host-header/146491 "2008-08-21T19:47:08Z")

</div>

Hi, I’m trying to write a simple if condition, inside a location block, that evaluates true when the client didn’t send a Host header. I tried many combinations using the $host variable but no luck so far. Any hints? …

---

## [Module develop --nginx segmentation fault](https://www.ruby-forum.com/t/module-develop-nginx-segmentation-fault/146458)

<div class="topic-metadata">

**Author:** [@Delta\_Y](https://www.ruby-forum.com/u/Delta_Y)\
**Replies:** 9\
**Last updated:** [August 21, 2008, 4:22pm UTC](https://www.ruby-forum.com/t/module-develop-nginx-segmentation-fault/146458 "2008-08-21T16:22:27Z")

</div>

Hi , I developed a nginx module, and compile is ok. When I test the config file without the module directive ,it’s ok. But when I test the config file with the module directive , segmentationo fault. I add log in th…

---

## [Upload and mod\_zip](https://www.ruby-forum.com/t/upload-and-mod-zip/146460)

<div class="topic-metadata">

**Author:** [@daniel](https://www.ruby-forum.com/u/daniel)\
**Replies:** 4\
**Last updated:** [August 21, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/upload-and-mod-zip/146460 "2008-08-21T15:11:20Z")

</div>

Hi, I’m testing a configuration using Upload module and mod\_zip. And found that in Upload module would be very usefull to have a upload\_aggregate\_form\_field for CRC32, CRC32 value is used in mod\_zip to compress the d…

---

## [Custom error pages - current limitations](https://www.ruby-forum.com/t/custom-error-pages-current-limitations/146463)

<div class="topic-metadata">

**Author:** [@Luigi\_Perroti](https://www.ruby-forum.com/u/Luigi_Perroti)\
**Replies:** 1\
**Last updated:** [August 21, 2008, 12:11pm UTC](https://www.ruby-forum.com/t/custom-error-pages-current-limitations/146463 "2008-08-21T12:11:10Z")

</div>

Hi, I’m rather new to nginx and I would like to have a confirmation that the following scenarios can’t be handled with the current implementation. When a client sends a request without the Host: header nginx retur…

---

## [Not existant files passed to php backend](https://www.ruby-forum.com/t/not-existant-files-passed-to-php-backend/146369)

<div class="topic-metadata">

**Author:** [@Reinis\_R](https://www.ruby-forum.com/u/Reinis_R)\
**Replies:** 24\
**Last updated:** [August 21, 2008, 11:10am UTC](https://www.ruby-forum.com/t/not-existant-files-passed-to-php-backend/146369 "2008-08-21T11:10:43Z")

</div>

Hello, I have a little problem with 0.7.11 (could be it a bug or config error or is it expected?). Nginx passes \*.php (matching the regexp) files to the fastcgi backend even they dont exist and instead of the speci…

---

## [WebDAV Support](https://www.ruby-forum.com/t/webdav-support/146442)

<div class="topic-metadata">

**Author:** [@Max\_Hawkins](https://www.ruby-forum.com/u/Max_Hawkins)\
**Replies:** 4\
**Last updated:** [August 21, 2008, 10:49am UTC](https://www.ruby-forum.com/t/webdav-support/146442 "2008-08-21T10:49:02Z")

</div>

I’ve been trying to use nginx’s ngx\_http\_dav\_module to synchronize some data from my home machine, and have discovered that it doesn’t support the PROPFIND method that’s required for my application to work. Is anyone …

---

## [Hit counter persistent variables](https://www.ruby-forum.com/t/hit-counter-persistent-variables/146366)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 9\
**Last updated:** [August 21, 2008, 12:58am UTC](https://www.ruby-forum.com/t/hit-counter-persistent-variables/146366 "2008-08-21T00:58:42Z")

</div>

Hello, Is there a way to have hit counter variables that would save every hour or persist across restarts? I’m working on a photography site that I expect to be serving a huge number of thumbnail (static) images. I d…

---

## [Help with redirect](https://www.ruby-forum.com/t/help-with-redirect/146381)

<div class="topic-metadata">

**Author:** [@mickdavis](https://www.ruby-forum.com/u/mickdavis)\
**Replies:** 5\
**Last updated:** [August 20, 2008, 10:58pm UTC](https://www.ruby-forum.com/t/help-with-redirect/146381 "2008-08-20T22:58:52Z")

</div>

Hi there i am running vbulletin and i am having a problem due to the way that nginx displays clean urls. Basically the archive looks like this on nginx http://www.digitalworldz.co.uk/archive/index.php?f-354.html But …

---

## [Is this proxy setup realizable?](https://www.ruby-forum.com/t/is-this-proxy-setup-realizable/146202)

<div class="topic-metadata">

**Author:** [@Samuel\_Vogel](https://www.ruby-forum.com/u/Samuel_Vogel)\
**Replies:** 4\
**Last updated:** [August 20, 2008, 9:06pm UTC](https://www.ruby-forum.com/t/is-this-proxy-setup-realizable/146202 "2008-08-20T21:06:06Z")

</div>

Hey guys, I am planning on using nginx to be a reverse proxy infront of more than ten real servers, each containing 10 virtual machines. These virtual machines all contain the same setup lamp setup hosting about a 100 …

---

## [Multiple substitution rules per location supported?](https://www.ruby-forum.com/t/multiple-substitution-rules-per-location-supported/146354)

<div class="topic-metadata">

**Author:** [@Delta\_Y](https://www.ruby-forum.com/u/Delta_Y)\
**Replies:** 2\
**Last updated:** [August 20, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/multiple-substitution-rules-per-location-supported/146354 "2008-08-20T18:05:34Z")

</div>

Hi, I want to use the ngx\_http\_sub\_module to substitute the ugly urls in the response. But according to the module reference, only one substitution rule per location is supported. I want to know if there is any pl…

---

## [Auth\_ldap](https://www.ruby-forum.com/t/auth-ldap/146318)

<div class="topic-metadata">

**Author:** [@Markus\_Teichmann](https://www.ruby-forum.com/u/Markus_Teichmann)\
**Replies:** 5\
**Last updated:** [August 20, 2008, 3:57pm UTC](https://www.ruby-forum.com/t/auth-ldap/146318 "2008-08-20T15:57:41Z")

</div>

Hello, here is another version. It supports an user for searching the required dn. The config statements are auth\_ldap\_bind\_dn and auth\_ldap\_bind\_passwd. E.g.: http { auth\_ldap\_uri “ldap://127.0.0.1”; auth\_ldap\_bi…

---

## [Two new modules: random numbers and read cookies](https://www.ruby-forum.com/t/two-new-modules-random-numbers-and-read-cookies/146341)

<div class="topic-metadata">

**Author:** [@Guy\_N](https://www.ruby-forum.com/u/Guy_N)\
**Replies:** 0\
**Last updated:** [August 20, 2008, 5:01am UTC](https://www.ruby-forum.com/t/two-new-modules-random-numbers-and-read-cookies/146341 "2008-08-20T05:01:23Z")

</div>

Hi, I just wrote two nginx modules we needed for using nginx in our load balancing setup. Please have a look and give me feedback. I’d like to add them to the wiki, but would like some feedback before I do. I based t…

---

## [NGINX w/ virtual hosts and FasstCGI](https://www.ruby-forum.com/t/nginx-w-virtual-hosts-and-fasstcgi/146326)

<div class="topic-metadata">

**Author:** [@thevirtuesofxen](https://www.ruby-forum.com/u/thevirtuesofxen)\
**Replies:** 2\
**Last updated:** [August 20, 2008, 2:58am UTC](https://www.ruby-forum.com/t/nginx-w-virtual-hosts-and-fasstcgi/146326 "2008-08-20T02:58:40Z")

</div>

Hi! I have a virtual host that is a wordpress blog, and a second that serves static files. When the second one is active, FastCGI refuses to render any of the PHP files on the wordpress blog. I am using nginx 0.6.32 …

---

## [Auth\_ldap](https://www.ruby-forum.com/t/auth-ldap/146294)

<div class="topic-metadata">

**Author:** [@Markus\_Teichmann](https://www.ruby-forum.com/u/Markus_Teichmann)\
**Replies:** 0\
**Last updated:** [August 19, 2008, 9:21pm UTC](https://www.ruby-forum.com/t/auth-ldap/146294 "2008-08-19T21:21:35Z")

</div>

Hello, here ist a new version of auth\_ldap. This one should compile without warning. I just have forgotten to enable debug… I’ve tested it with Gentoo Linux and OpenLDAP 2.3.43. I hope it will compile on FreeBSD, too…

---

## [Nginx child hangs with dns server failure](https://www.ruby-forum.com/t/nginx-child-hangs-with-dns-server-failure/146295)

<div class="topic-metadata">

**Author:** [@grios](https://www.ruby-forum.com/u/grios)\
**Replies:** 0\
**Last updated:** [August 19, 2008, 9:15pm UTC](https://www.ruby-forum.com/t/nginx-child-hangs-with-dns-server-failure/146295 "2008-08-19T21:15:43Z")

</div>

I’ve been getting fairly regular failures with nginx, where it uses 99% cpu usage. Accompanied by the hanging client is a message from cpanel “named failed, was restarted automatically”. I’m proxying connections from …

---

## [Nginx + Glassfish breaks HTTP Headers?](https://www.ruby-forum.com/t/nginx-glassfish-breaks-http-headers/146288)

<div class="topic-metadata">

**Author:** [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Replies:** 1\
**Last updated:** [August 19, 2008, 8:20pm UTC](https://www.ruby-forum.com/t/nginx-glassfish-breaks-http-headers/146288 "2008-08-19T20:20:05Z")

</div>

I tried the following combinations Nginx + Mongrel (MRI) Nginx + Mongrel (Jruby) Nginx + Glassfish Gem Glassfish Gem Basically for 1), 2) and 3) I use Nginx to service static files and Mongrel/Glassfish to service ra…

---

## [Win32 access denied](https://www.ruby-forum.com/t/win32-access-denied/146178)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 1\
**Last updated:** [August 19, 2008, 4:26pm UTC](https://www.ruby-forum.com/t/win32-access-denied/146178 "2008-08-19T16:26:44Z")

</div>

Using the Win32 HOWTO information, I am attempting to start the service. upon the service::install command, I receiving the error 'Access is denied. (Win32::ServiceError). The error is occurring in line 146 of init.rb …

---

## [Auth\_ldap](https://www.ruby-forum.com/t/auth-ldap/146199)

<div class="topic-metadata">

**Author:** [@Markus\_Teichmann](https://www.ruby-forum.com/u/Markus_Teichmann)\
**Replies:** 8\
**Last updated:** [August 19, 2008, 2:20pm UTC](https://www.ruby-forum.com/t/auth-ldap/146199 "2008-08-19T14:20:30Z")

</div>

Hello, as a new user to this list, I just want to contribute my little auth\_ldap module. I hope you enjoy it. Here is an example conf file: http { # LDAP URI auth\_ldap\_uri “ldap://127.0.0.1”; server { listen…

---

## [Imap proxy patch](https://www.ruby-forum.com/t/imap-proxy-patch/146207)

<div class="topic-metadata">

**Author:** [@FernandoSDfcom](https://www.ruby-forum.com/u/FernandoSDfcom)\
**Replies:** 2\
**Last updated:** [August 19, 2008, 12:00pm UTC](https://www.ruby-forum.com/t/imap-proxy-patch/146207 "2008-08-19T12:00:10Z")

</div>

Hi list, My company has a mail storage system (proprietary). It receives email via lmtp and customers can get email from imap and pop3. This system does not support imap subfolders. For particular reason we need to pu…

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

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