# Server

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

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

---

## [Nginx](https://www.ruby-forum.com/t/nginx/164159)

<div class="topic-metadata">

**Author:** [@uddun](https://www.ruby-forum.com/u/uddun)\
**Replies:** 0\
**Last updated:** [March 28, 2009, 10:45pm UTC](https://www.ruby-forum.com/t/nginx/164159 "2009-03-28T22:45:02Z")

</div>

Is there an nginx directive to see what configs were used when nginx was compiled. I am using an RPM based nginx and would like to know what config parameters were used. Thanks

---

## [Upload Module compile error with 0.7.44](https://www.ruby-forum.com/t/upload-module-compile-error-with-0-7-44/164039)

<div class="topic-metadata">

**Author:** [@daniel](https://www.ruby-forum.com/u/daniel)\
**Replies:** 1\
**Last updated:** [March 28, 2009, 4:07am UTC](https://www.ruby-forum.com/t/upload-module-compile-error-with-0-7-44/164039 "2009-03-28T04:07:29Z")

</div>

Hi Since Nginx new version 0.7.44 , I get errors compiling the Upload Module(v2.0.8). mod/upload/ngx\_http\_upload\_module.c:1151: error: e$B!Fe(Bngx\_garbage\_collector\_temp\_handlere$B!Ge(B undeclared (first use in this…

---

## [Serving static file dynamically](https://www.ruby-forum.com/t/serving-static-file-dynamically/163771)

<div class="topic-metadata">

**Author:** [@Brice\_L](https://www.ruby-forum.com/u/Brice_L)\
**Replies:** 22\
**Last updated:** [March 27, 2009, 8:35pm UTC](https://www.ruby-forum.com/t/serving-static-file-dynamically/163771 "2009-03-27T20:35:21Z")

</div>

Hello, I’m interrested in NGINX to serve static files according to his performance :p. But I will have to serve big static file (video content in hd) and to protect the access I would like to use a dynamic url with a…

---

## [Bare carriage returns in HTTP headers](https://www.ruby-forum.com/t/bare-carriage-returns-in-http-headers/163705)

<div class="topic-metadata">

**Author:** [@Dido\_S](https://www.ruby-forum.com/u/Dido_S)\
**Replies:** 13\
**Last updated:** [March 27, 2009, 5:14pm UTC](https://www.ruby-forum.com/t/bare-carriage-returns-in-http-headers/163705 "2009-03-27T17:14:01Z")

</div>

I’ve been using Mongrel for a while to write bare HTTP servlets as a replacement for webrick and encountered an HTTP client using the servlet that for some reason occasionally embeds carriage return characters (‘\\r’, …

---

## [Help- can't see subdirectories for static content location](https://www.ruby-forum.com/t/help-cant-see-subdirectories-for-static-content-location/164056)

<div class="topic-metadata">

**Author:** [@equalium](https://www.ruby-forum.com/u/equalium)\
**Replies:** 5\
**Last updated:** [March 27, 2009, 5:08pm UTC](https://www.ruby-forum.com/t/help-cant-see-subdirectories-for-static-content-location/164056 "2009-03-27T17:08:09Z")

</div>

Hello, I’m setting up nginx to serve a django site. The django part goes OK but I have a problem with my media directory. I’m using this: location /media/ { root /home/django/domains/myapp/static/; } … The probl…

---

## [Nginx Forum Open Again](https://www.ruby-forum.com/t/nginx-forum-open-again/163822)

<div class="topic-metadata">

**Author:** [@joviyach](https://www.ruby-forum.com/u/joviyach)\
**Replies:** 9\
**Last updated:** [March 27, 2009, 2:13pm UTC](https://www.ruby-forum.com/t/nginx-forum-open-again/163822 "2009-03-27T14:13:48Z")

</div>

Subject: Nginx Forum Open Again Author: Jim O. Hello Everyone, Having taken into consideration all that was said previously, we took the forum offline and did some tweaking. As of now all outgoing mails should have …

---

## [Problems with SSL on IE](https://www.ruby-forum.com/t/problems-with-ssl-on-ie/163965)

<div class="topic-metadata">

**Author:** [@Kurt\_Hansen](https://www.ruby-forum.com/u/Kurt_Hansen)\
**Replies:** 8\
**Last updated:** [March 27, 2009, 8:45am UTC](https://www.ruby-forum.com/t/problems-with-ssl-on-ie/163965 "2009-03-27T08:45:59Z")

</div>

Hello, I’m having problems getting a digital cert to work on IE, both versions 6 and 7. It appears IE wants to only use SSLv2 when connecting. If I disable SSLv2, IE refuses to connect at all. There are a few proble…

---

## [Auth\_basic\_user\_file on 0.7.44](https://www.ruby-forum.com/t/auth-basic-user-file-on-0-7-44/164019)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Loyet](https://www.ruby-forum.com/u/JSSSSrSSSSme_Loyet)\
**Replies:** 3\
**Last updated:** [March 27, 2009, 7:39am UTC](https://www.ruby-forum.com/t/auth-basic-user-file-on-0-7-44/164019 "2009-03-27T07:39:12Z")

</div>

hi, in 0.7.44 the auth\_basic\_user\_file directive doesn"t seem to work using relative path. here is the part of the conf I used for testing. location /c { auth\_basic “Authentication required”; auth\_basic\_user\_file u…

---

## [Access to urldecoded headers](https://www.ruby-forum.com/t/access-to-urldecoded-headers/164045)

<div class="topic-metadata">

**Author:** [@Michael\_Ching](https://www.ruby-forum.com/u/Michael_Ching)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 7:37am UTC](https://www.ruby-forum.com/t/access-to-urldecoded-headers/164045 "2009-03-27T07:37:26Z")

</div>

A problem when trying to proxy webdav/svn have is that when you proxy https to an http backend, COPY requests do not work because of the Destination: header. The standard configuration to address this is: set $destin…

---

## [Unsubscribe nginx](https://www.ruby-forum.com/t/unsubscribe-nginx/164038)

<div class="topic-metadata">

**Author:** [@Denis\_Arh](https://www.ruby-forum.com/u/Denis_Arh)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 7:08am UTC](https://www.ruby-forum.com/t/unsubscribe-nginx/164038 "2009-03-27T07:08:10Z")

</div>

unsubscribe nginx

---

## [$args getting cleared out when using memcached module. Bug?](https://www.ruby-forum.com/t/args-getting-cleared-out-when-using-memcached-module-bug/164015)

<div class="topic-metadata">

**Author:** [@jturmel](https://www.ruby-forum.com/u/jturmel)\
**Replies:** 1\
**Last updated:** [March 27, 2009, 1:13am UTC](https://www.ruby-forum.com/t/args-getting-cleared-out-when-using-memcached-module-bug/164015 "2009-03-27T01:13:46Z")

</div>

We’re having some really weird issues when trying to pass $args to the memcached module. Here is a snippet. set $memcached\_key $uri$is\_args$args; memcached\_pass 127.0.0.1:11211; error\_page 404 = @fallback; It will…

---

## [Re: Nginx Forum Open Again](https://www.ruby-forum.com/t/re-nginx-forum-open-again/163990)

<div class="topic-metadata">

**Author:** [@joviyach](https://www.ruby-forum.com/u/joviyach)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/re-nginx-forum-open-again/163990 "2009-03-26T18:18:47Z")

</div>

Thank you Igor.

---

## [Memcached module and lowercase keys](https://www.ruby-forum.com/t/memcached-module-and-lowercase-keys/163820)

<div class="topic-metadata">

**Author:** [@jturmel](https://www.ruby-forum.com/u/jturmel)\
**Replies:** 1\
**Last updated:** [March 26, 2009, 6:15pm UTC](https://www.ruby-forum.com/t/memcached-module-and-lowercase-keys/163820 "2009-03-26T18:15:51Z")

</div>

I talked to someone on the Nginx forums the other day who had posted a solution (patch) and I came back today to get it and noticed the forums had been switched to something else so the post was gone. He (if you’re …

---

## [Implement generic variables $urlencode\_\<name\> and $urldecode\_\<name\> for get urlencode/urldecode of v](https://www.ruby-forum.com/t/implement-generic-variables-urlencode-name-and-urldecode-name-for-get-urlencode-urldecode-of-v/163979)

<div class="topic-metadata">

**Author:** [@Kirill\_ASKorinskiy](https://www.ruby-forum.com/u/Kirill_ASKorinskiy)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 5:03pm UTC](https://www.ruby-forum.com/t/implement-generic-variables-urlencode-name-and-urldecode-name-for-get-urlencode-urldecode-of-v/163979 "2009-03-26T17:03:57Z")

</div>

Raw value of arguments from request string can help for XSS. src/http/ngx\_http\_variables.c | 134 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 134 insertions(+), 0 deletions(-) diff --git a/src/http/ngx\_…

---

## [Add -p option to override prefix](https://www.ruby-forum.com/t/add-p-option-to-override-prefix/163754)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Loyet](https://www.ruby-forum.com/u/JSSSSrSSSSme_Loyet)\
**Replies:** 12\
**Last updated:** [March 26, 2009, 2:14pm UTC](https://www.ruby-forum.com/t/add-p-option-to-override-prefix/163754 "2009-03-26T14:14:02Z")

</div>

hi, I attach a patch which add the -p option to nginx. This option overrides the --prefix path and also the $NGX\_CONF\_PREFIX variable which is used as prefix for “include” directives. So, all relative path will be pr…

---

## [Pass real client IP to web servers](https://www.ruby-forum.com/t/pass-real-client-ip-to-web-servers/163922)

<div class="topic-metadata">

**Author:** [@bdroste](https://www.ruby-forum.com/u/bdroste)\
**Replies:** 2\
**Last updated:** [March 26, 2009, 11:58am UTC](https://www.ruby-forum.com/t/pass-real-client-ip-to-web-servers/163922 "2009-03-26T11:58:56Z")

</div>

Subject: Pass real client IP to web servers Author: bdroste I’m sure this has been asked before, but I can’t find an answer. I’m running nginx-0.7.44 on a server, load balancing port 80 to port 8080 on 2 other serve…

---

## [Shouldn't this trigger an nginx 404?](https://www.ruby-forum.com/t/shouldnt-this-trigger-an-nginx-404/163801)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 5\
**Last updated:** [March 26, 2009, 10:33am UTC](https://www.ruby-forum.com/t/shouldnt-this-trigger-an-nginx-404/163801 "2009-03-26T10:33:14Z")

</div>

in PHP? header(“HTTP/1.0 404 Not Found”); exit(); i even have fastcgi\_intercept\_errors on; (it wasn’t there before) ? in access.log i see this… but i was hoping to trigger nginx’s error log screen? 24.14.13.2 - - …

---

## [Redirect on $args based on multiple params?](https://www.ruby-forum.com/t/redirect-on-args-based-on-multiple-params/163865)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 6\
**Last updated:** [March 26, 2009, 9:45am UTC](https://www.ruby-forum.com/t/redirect-on-args-based-on-multiple-params/163865 "2009-03-26T09:45:47Z")

</div>

Is there any way to capture multiple parameters from a querystring for a rewrite? For example: The request is: /myscript.php?a=b&c=d&z=y The target is: /script/a/b/c/d/z/y So, the basic rewrite would be: location /…

---

## [Double logging via PHP FastCGI on Windows XP?](https://www.ruby-forum.com/t/double-logging-via-php-fastcgi-on-windows-xp/163925)

<div class="topic-metadata">

**Author:** [@Dan\_Dascalescu](https://www.ruby-forum.com/u/Dan_Dascalescu)\
**Replies:** 1\
**Last updated:** [March 26, 2009, 8:12am UTC](https://www.ruby-forum.com/t/double-logging-via-php-fastcgi-on-windows-xp/163925 "2009-03-26T08:12:39Z")

</div>

In a PHP script, I have this statement: error\_log("||here goes an error\_log error||"); When I request the script from the web server, the nginx error log shows the message twice: 2009/03/25 20:49:19 \[error\] 4380#0: \*…

---

## [Nginx-0.7.44](https://www.ruby-forum.com/t/nginx-0-7-44/163643)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 31\
**Last updated:** [March 26, 2009, 8:01am UTC](https://www.ruby-forum.com/t/nginx-0-7-44/163643 "2009-03-26T08:01:33Z")

</div>

Changes with nginx 0.7.44 23 Mar 2009 \*) Feature: the ngx\_http\_proxy\_module preliminary cache support. \*) Feature: the --with-pcre option in the configure. \*) Feature: the "try\_…

---

## [FastCGI errors in nginx 0.6.x](https://www.ruby-forum.com/t/fastcgi-errors-in-nginx-0-6-x/163824)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 4\
**Last updated:** [March 26, 2009, 8:01am UTC](https://www.ruby-forum.com/t/fastcgi-errors-in-nginx-0-6-x/163824 "2009-03-26T08:01:33Z")

</div>

Hi guys, Im running nginx 0.6.35 with PHP 5.2.6 with php-fpm patch. Everything just runs super nice, but I found in almost all vhost error\_log files this errors: 2009/03/25 07:22:40 \[info\] 4552#0: \*64462 client closed…

---

## [Can't seem to get past this ssl error](https://www.ruby-forum.com/t/cant-seem-to-get-past-this-ssl-error/163929)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [March 26, 2009, 7:48am UTC](https://www.ruby-forum.com/t/cant-seem-to-get-past-this-ssl-error/163929 "2009-03-26T07:48:40Z")

</div>

2009/03/26 01:25:05 \[info\] 7282#0: \*189 SSL\_do\_handshake() failed (SSL: error:140943FC:SSL routines:SSL3\_READ\_BYTES:sslv3 alert bad record mac) while SSL handshaking, client: 1.2.3.4, server: bugzilla.foo.org I just …

---

## [Implements the $arg\_encode\_\<name\> variables for get url encode value of \<name\> argument from request](https://www.ruby-forum.com/t/implements-the-arg-encode-name-variables-for-get-url-encode-value-of-name-argument-from-request/163873)

<div class="topic-metadata">

**Author:** [@Kirill\_ASKorinskiy](https://www.ruby-forum.com/u/Kirill_ASKorinskiy)\
**Replies:** 4\
**Last updated:** [March 25, 2009, 8:08pm UTC](https://www.ruby-forum.com/t/implements-the-arg-encode-name-variables-for-get-url-encode-value-of-name-argument-from-request/163873 "2009-03-25T20:08:56Z")

</div>

Raw value of arguments from request string can help for XSS. src/http/ngx\_http\_variables.c | 54 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/src/http/ngx\_h…

---

## [Vhost conf for typo3](https://www.ruby-forum.com/t/vhost-conf-for-typo3/163835)

<div class="topic-metadata">

**Author:** [@hostis.pl](https://www.ruby-forum.com/u/hostis.pl)\
**Replies:** 1\
**Last updated:** [March 25, 2009, 4:10pm UTC](https://www.ruby-forum.com/t/vhost-conf-for-typo3/163835 "2009-03-25T16:10:18Z")

</div>

Hi all, i have little problem with setting rewrite rules for directories like typo3. I can access to typo3 admin panel. Site works almost perfectly with one exception. When i pass url like http://domain/typo3/sysext/…

---

## [CVS or SVN](https://www.ruby-forum.com/t/cvs-or-svn/163775)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Loyet](https://www.ruby-forum.com/u/JSSSSrSSSSme_Loyet)\
**Replies:** 6\
**Last updated:** [March 25, 2009, 2:29pm UTC](https://www.ruby-forum.com/t/cvs-or-svn/163775 "2009-03-25T14:29:58Z")

</div>

Hi folks, is there any public read only CVS or SVN of nginx ? Thx ++ jerome

---

## [Multiple passes to memcached with different keys](https://www.ruby-forum.com/t/multiple-passes-to-memcached-with-different-keys/163808)

<div class="topic-metadata">

**Author:** [@Atif\_G](https://www.ruby-forum.com/u/Atif_G)\
**Replies:** 1\
**Last updated:** [March 25, 2009, 3:39am UTC](https://www.ruby-forum.com/t/multiple-passes-to-memcached-with-different-keys/163808 "2009-03-25T03:39:10Z")

</div>

Hi all, I would like to test 2 memcached keys before passing to the content. Background: Our CMS app has DDOS protection that can lock and IP ($remote\_addr) or the complete website ($host) For example if an IP is m…

---

## [How to always have the latest nginx version in Ubuntu/Debian](https://www.ruby-forum.com/t/how-to-always-have-the-latest-nginx-version-in-ubuntu-debian/163680)

<div class="topic-metadata">

**Author:** [@larios](https://www.ruby-forum.com/u/larios)\
**Replies:** 20\
**Last updated:** [March 25, 2009, 2:31am UTC](https://www.ruby-forum.com/t/how-to-always-have-the-latest-nginx-version-in-ubuntu-debian/163680 "2009-03-25T02:31:53Z")

</div>

I am attaching the procedure that we use to to always have the latest nginx version in Ubuntu/Debian. M. – start-of-procedure Install the current Nginx (Ubuntu 8.10 = Nginx/0.6.34 @ backports) sudo aptitude -R insta…

---

## [Scalability issue](https://www.ruby-forum.com/t/scalability-issue/163764)

<div class="topic-metadata">

**Author:** [@howard\_chen](https://www.ruby-forum.com/u/howard_chen)\
**Replies:** 3\
**Last updated:** [March 24, 2009, 7:05pm UTC](https://www.ruby-forum.com/t/scalability-issue/163764 "2009-03-24T19:05:28Z")

</div>

Hey I am new to nginx. According to the web: Welcome to NGINX Wiki! | NGINX It said… Nginx is one of a handful of servers written to address the C10K problem. Unlike traditional servers, Nginx doesn’t rely on thread…

---

## [Unsubscribe nginx](https://www.ruby-forum.com/t/unsubscribe-nginx/163762)

<div class="topic-metadata">

**Author:** [@RaphaSSSSl\_HUCK](https://www.ruby-forum.com/u/RaphaSSSSl_HUCK)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 6:17pm UTC](https://www.ruby-forum.com/t/unsubscribe-nginx/163762 "2009-03-24T18:17:26Z")

</div>

unsubscribe nginx

---

## [Where to find documentation for "--without-http-cache (disable HTTP cache)"](https://www.ruby-forum.com/t/where-to-find-documentation-for-without-http-cache-disable-http-cache/163724)

<div class="topic-metadata">

**Author:** [@larios](https://www.ruby-forum.com/u/larios)\
**Replies:** 3\
**Last updated:** [March 24, 2009, 5:55pm UTC](https://www.ruby-forum.com/t/where-to-find-documentation-for-without-http-cache-disable-http-cache/163724 "2009-03-24T17:55:02Z")

</div>

Could someone please point me to some documentation about the option --without-http-cache (disable HTTP cache) and the related module(s)? M.

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

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