# Server

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

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

---

## [CSS problem after nginx rewrite for clean URLs](https://www.ruby-forum.com/t/css-problem-after-nginx-rewrite-for-clean-urls/177652)

<div class="topic-metadata">

**Author:** [@ffernic](https://www.ruby-forum.com/u/ffernic)\
**Replies:** 1\
**Last updated:** [October 21, 2009, 5:05pm UTC](https://www.ruby-forum.com/t/css-problem-after-nginx-rewrite-for-clean-urls/177652 "2009-10-21T17:05:58Z")

</div>

I am writing rewrite rules in nginx for clean URLs. Following is the rule: location / { if (!-e $request\_filename) { rewrite ^/post/(.)/(.)/(.\*)$ /post.php?a=$1&b=$2&c=$3 last; } } Everytime I hit mydomain.com/pos…

---

## [Dependencies](https://www.ruby-forum.com/t/dependencies/177647)

<div class="topic-metadata">

**Author:** [@phillipoertel](https://www.ruby-forum.com/u/phillipoertel)\
**Replies:** 3\
**Last updated:** [October 21, 2009, 4:06pm UTC](https://www.ruby-forum.com/t/dependencies/177647 "2009-10-21T16:06:51Z")

</div>

Am I correct in my understanding that nginx depends on libevent? Where can I find a complete list of dependencies when building from source? Thanks.

---

## [Bug in memcached module?](https://www.ruby-forum.com/t/bug-in-memcached-module/177639)

<div class="topic-metadata">

**Author:** [@mastercan](https://www.ruby-forum.com/u/mastercan)\
**Replies:** 5\
**Last updated:** [October 21, 2009, 2:23pm UTC](https://www.ruby-forum.com/t/bug-in-memcached-module/177639 "2009-10-21T14:23:47Z")

</div>

Hi, I have the following config (just a snippet): set $memcached\_key $uri; default\_type “text/html; charset=utf-8”; error\_page 404 @fallback; The problem is, that whenever memcached does not find the v…

---

## [WordPress MU rewrite rules](https://www.ruby-forum.com/t/wordpress-mu-rewrite-rules/175943)

<div class="topic-metadata">

**Author:** [@pepejose](https://www.ruby-forum.com/u/pepejose)\
**Replies:** 8\
**Last updated:** [October 21, 2009, 10:00am UTC](https://www.ruby-forum.com/t/wordpress-mu-rewrite-rules/175943 "2009-10-21T10:00:19Z")

</div>

Hi I use this rules with apache mod\_rewrite RewriteEngine On RewriteBase / #uploaded files RewriteRule ^(./)?files/$ index.php RewriteRule ^(./)?files/(.\*) wp-content/blogs.php?file=$2 RewriteCond %{REQUEST\_FILENA…

---

## [Is this correct gzip configuration?](https://www.ruby-forum.com/t/is-this-correct-gzip-configuration/176767)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 2\
**Last updated:** [October 20, 2009, 9:33pm UTC](https://www.ruby-forum.com/t/is-this-correct-gzip-configuration/176767 "2009-10-20T21:33:49Z")

</div>

I have following for gzip compression on nginx 7: gzip on; gzip\_static on; Only use this if you compiled it yourself -or- with this module gzip\_proxied any; gzip\_vary on; gzip\_disable “MSIE \[1-6\].”; gzip\_http\_vers…

---

## [Is there a way to forward or force a specific page based on source IP address (or multiple IP addre](https://www.ruby-forum.com/t/is-there-a-way-to-forward-or-force-a-specific-page-based-on-source-ip-address-or-multiple-ip-addre/177598)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 1\
**Last updated:** [October 20, 2009, 8:59pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-forward-or-force-a-specific-page-based-on-source-ip-address-or-multiple-ip-addre/177598 "2009-10-20T20:59:52Z")

</div>

For example: IF (source IP address IN list of IP addresses) redirect to somepage.php.

---

## [Https and nginx as forward proxy](https://www.ruby-forum.com/t/https-and-nginx-as-forward-proxy/177559)

<div class="topic-metadata">

**Author:** [@SSSSSSSSSSSSS\_SS](https://www.ruby-forum.com/u/SSSSSSSSSSSSS_SS)\
**Replies:** 4\
**Last updated:** [October 20, 2009, 6:41pm UTC](https://www.ruby-forum.com/t/https-and-nginx-as-forward-proxy/177559 "2009-10-20T18:41:42Z")

</div>

Hi, I was experimenting using nginx as forward proxy with the conf as attached. Regular http requests were passed fine. But any https were rejected right away. Firewall was disabled on the proxy server. Here was the…

---

## [Access log question](https://www.ruby-forum.com/t/access-log-question/177594)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 2\
**Last updated:** [October 20, 2009, 6:25pm UTC](https://www.ruby-forum.com/t/access-log-question/177594 "2009-10-20T18:25:19Z")

</div>

we are getting “A LOT” of requests from one particular IP address. I turned on the access log to see what’s what, and this is what I see repeatedly (i.e. thousands of times - like its in a loop): 168.9.38.5 - - \[20/…

---

## [Correct way to serve static files?](https://www.ruby-forum.com/t/correct-way-to-serve-static-files/177524)

<div class="topic-metadata">

**Author:** [@George](https://www.ruby-forum.com/u/George)\
**Replies:** 3\
**Last updated:** [October 20, 2009, 3:19pm UTC](https://www.ruby-forum.com/t/correct-way-to-serve-static-files/177524 "2009-10-20T15:19:40Z")

</div>

I’ve been looking over lots of nginx configurations and the way to serve static files differed slightly, so which is the correct way as i’ve seen the following syntax location ~\* .(jpg|jpeg|gif|css|png|js|ico)$ { vs …

---

## [About client\_header\_timeout](https://www.ruby-forum.com/t/about-client-header-timeout/177495)

<div class="topic-metadata">

**Author:** [@gunblad3](https://www.ruby-forum.com/u/gunblad3)\
**Replies:** 2\
**Last updated:** [October 20, 2009, 3:23am UTC](https://www.ruby-forum.com/t/about-client-header-timeout/177495 "2009-10-20T03:23:07Z")

</div>

Hi guys, Would like to clarify on what client\_header\_timeout means exactly. http://wiki.nginx.org/NginxHttpCoreModule#client\_header\_timeout Using the default setting of 60 seconds, does it mean that the server times …

---

## [Communication between worker processes](https://www.ruby-forum.com/t/communication-between-worker-processes/177493)

<div class="topic-metadata">

**Author:** [@slact](https://www.ruby-forum.com/u/slact)\
**Replies:** 4\
**Last updated:** [October 20, 2009, 12:50am UTC](https://www.ruby-forum.com/t/communication-between-worker-processes/177493 "2009-10-20T00:50:52Z")

</div>

How might I be able to send a message or (custom) event to some given worker process? I am storing pointers to requests (and the workers that processed them) in shared memory for a module ( GitHub - slact/nchan: Fast,…

---

## [PHP crashes on Windows](https://www.ruby-forum.com/t/php-crashes-on-windows/177499)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [October 19, 2009, 10:29pm UTC](https://www.ruby-forum.com/t/php-crashes-on-windows/177499 "2009-10-19T22:29:47Z")

</div>

Hi all, I’m trying nginx Windows version with PHP in FastCGI mode. It ran fine. Then I tried to bench mark it with Apache ab and I find that PHP (5.2.11) crashes after about 400 requests. Does anyone have similar exp…

---

## [Multiple (possibly load-balanced) PHP FastCGI Upstream?](https://www.ruby-forum.com/t/multiple-possibly-load-balanced-php-fastcgi-upstream/177526)

<div class="topic-metadata">

**Author:** [@Arie\_Karhendana](https://www.ruby-forum.com/u/Arie_Karhendana)\
**Replies:** 1\
**Last updated:** [October 19, 2009, 8:09pm UTC](https://www.ruby-forum.com/t/multiple-possibly-load-balanced-php-fastcgi-upstream/177526 "2009-10-19T20:09:18Z")

</div>

Hello all, I’m a happy user of nginx + PHP FastCGI. Currently, nginx and PHP FastCGI processes run on different hosts. We’re reaching a point where PHP backend become the main bottleneck. Can nginx handle the scenari…

---

## [Nginx and php (fast-cgi) hangs the connection](https://www.ruby-forum.com/t/nginx-and-php-fast-cgi-hangs-the-connection/177372)

<div class="topic-metadata">

**Author:** [@yacenty](https://www.ruby-forum.com/u/yacenty)\
**Replies:** 4\
**Last updated:** [October 19, 2009, 6:26pm UTC](https://www.ruby-forum.com/t/nginx-and-php-fast-cgi-hangs-the-connection/177372 "2009-10-19T18:26:17Z")

</div>

Hello from about month (moving to the nginx 7.61) I had a very big problem. My server suddenly stops to serving dynamic content. Static files are handled in regullar way but asking for php files gives nothing in the …

---

## [RE: Using NGINX as reverse proxy for OWA](https://www.ruby-forum.com/t/re-using-nginx-as-reverse-proxy-for-owa/177515)

<div class="topic-metadata">

**Author:** [@Ben\_Vincent](https://www.ruby-forum.com/u/Ben_Vincent)\
**Replies:** 1\
**Last updated:** [October 19, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/re-using-nginx-as-reverse-proxy-for-owa/177515 "2009-10-19T16:25:06Z")

</div>

Hi meszi. What version of nginx is running on your server? I had to compile https support with nginx for my debian server. Dont know if this is the same for ubuntu. Regards ben Sent from my Windows MobileÂ® phone.

---

## [Large IP deny list](https://www.ruby-forum.com/t/large-ip-deny-list/177517)

<div class="topic-metadata">

**Author:** [@coldplug](https://www.ruby-forum.com/u/coldplug)\
**Replies:** 1\
**Last updated:** [October 19, 2009, 4:23pm UTC](https://www.ruby-forum.com/t/large-ip-deny-list/177517 "2009-10-19T16:23:21Z")

</div>

Hello. I want to filter some services from accessing my webs, for example host-tracker.com and similar. For that purporse I created conf file with really lot of “deny IP;” directives in it. Would this very large IP de…

---

## [RPC over HTTPS](https://www.ruby-forum.com/t/rpc-over-https/171230)

<div class="topic-metadata">

**Author:** [@Linden](https://www.ruby-forum.com/u/Linden)\
**Replies:** 13\
**Last updated:** [October 19, 2009, 2:28pm UTC](https://www.ruby-forum.com/t/rpc-over-https/171230 "2009-10-19T14:28:35Z")

</div>

Has anyone got MS RPC over HTTPS working with Nginx proxying? Trying to use Nginx as a reverse proxy for Exchange 2007 with Outlook Anywhere. No proxy servers seem to be able to deal with MS\_RPC so thought I would try …

---

## [Using NGINX as reverse proxy for OWA](https://www.ruby-forum.com/t/using-nginx-as-reverse-proxy-for-owa/177512)

<div class="topic-metadata">

**Author:** [@meszi](https://www.ruby-forum.com/u/meszi)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 2:28pm UTC](https://www.ruby-forum.com/t/using-nginx-as-reverse-proxy-for-owa/177512 "2009-10-19T14:28:35Z")

</div>

Hi there, I am trying to get NGINX running as some proxy for accessing OWA. My aim is to provide company-internal OWA also externally but through NGINX which will be running on the gateway then. I followed the instru…

---

## [What does error 24 mean? Also how does nginx handle the Slowloris tool?](https://www.ruby-forum.com/t/what-does-error-24-mean-also-how-does-nginx-handle-the-slowloris-tool/177152)

<div class="topic-metadata">

**Author:** [@gunblad3](https://www.ruby-forum.com/u/gunblad3)\
**Replies:** 6\
**Last updated:** [October 19, 2009, 8:04am UTC](https://www.ruby-forum.com/t/what-does-error-24-mean-also-how-does-nginx-handle-the-slowloris-tool/177152 "2009-10-19T08:04:34Z")

</div>

I’m looking to test out nginx with the Slowloris tool (http://ha.ckers.org/slowloris/), and I noticed that the following error appears a LOT in the error logs at one point: accept() failed (24: Too many open files) wh…

---

## [Not forwarding requests to FastCGI server on Windows](https://www.ruby-forum.com/t/not-forwarding-requests-to-fastcgi-server-on-windows/177494)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [October 19, 2009, 6:33am UTC](https://www.ruby-forum.com/t/not-forwarding-requests-to-fastcgi-server-on-windows/177494 "2009-10-19T06:33:14Z")

</div>

Hi, I’m new to nginx. I’m trying to set up nginx 0.7.62 with a web.py application via FastCGI. The same app works with another web server. I ran the web.py app with “code.py fastcgi 8080” I tried the config below. Th…

---

## [Revising HTTP](https://www.ruby-forum.com/t/revising-http/177490)

<div class="topic-metadata">

**Author:** [@mnot](https://www.ruby-forum.com/u/mnot)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 5:38am UTC](https://www.ruby-forum.com/t/revising-http/177490 "2009-10-19T05:38:48Z")

</div>

Johan BergstrÃ¶m Wrote: I’ve found yet another resource that indicate that the current behavior of nginx is incorrect: REDbot: \<http://nginx.net\> I can’t find what SPEC it is relying on, but as far as other discus…

---

## [Request pool cleanup handler](https://www.ruby-forum.com/t/request-pool-cleanup-handler/177488)

<div class="topic-metadata">

**Author:** [@slact](https://www.ruby-forum.com/u/slact)\
**Replies:** 2\
**Last updated:** [October 19, 2009, 5:22am UTC](https://www.ruby-forum.com/t/request-pool-cleanup-handler/177488 "2009-10-19T05:22:25Z")

</div>

Good day. I’m working on GitHub - slact/nchan: Fast, horizontally scalable, multiprocess pub/sub queuing server and proxy for HTTP, long-polling, Websockets and EventSource (SSE), powered by Nginx. . and I’ve got this o…

---

## [Differences between Apache 2.2 and nginx](https://www.ruby-forum.com/t/differences-between-apache-2-2-and-nginx/177485)

<div class="topic-metadata">

**Author:** [@dcian](https://www.ruby-forum.com/u/dcian)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 11:50pm UTC](https://www.ruby-forum.com/t/differences-between-apache-2-2-and-nginx/177485 "2009-10-18T23:50:33Z")

</div>

Hi all, I have just fallen foul of a minor difference between Apache 2.2 and nginx. I have a search form, that submits via a GET to php. Most of the params I need are passed via the URL in the action - for example. …

---

## [Upgrading from 0.7.19?](https://www.ruby-forum.com/t/upgrading-from-0-7-19/177477)

<div class="topic-metadata">

**Author:** [@George](https://www.ruby-forum.com/u/George)\
**Replies:** 1\
**Last updated:** [October 18, 2009, 6:32pm UTC](https://www.ruby-forum.com/t/upgrading-from-0-7-19/177477 "2009-10-18T18:32:07Z")

</div>

Hi guys, I’ve been running very old 0.7.19 nginx with virtual host configuration for ages now with nginx.conf listed below. But it’s time to upgrade to 0.8.20 so what’s the best way to do this AND be able to backup 0.…

---

## [Invitation to connect on LinkedIn](https://www.ruby-forum.com/t/invitation-to-connect-on-linkedin/177458)

<div class="topic-metadata">

**Author:** [@Leding\_Li](https://www.ruby-forum.com/u/Leding_Li)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/invitation-to-connect-on-linkedin/177458 "2009-10-17T22:05:23Z")

</div>

LinkedIn Leding Li requested to add you as a connection on LinkedIn: Evert, I’d like to add you to my professional network on LinkedIn. Leding Accept invitation from Leding Li View invitation from Leding Li Wh…

---

## [Enabling SSI when using a proxy](https://www.ruby-forum.com/t/enabling-ssi-when-using-a-proxy/177452)

<div class="topic-metadata">

**Author:** [@FranSSSSois\_Battail](https://www.ruby-forum.com/u/FranSSSSois_Battail)\
**Replies:** 1\
**Last updated:** [October 17, 2009, 5:40pm UTC](https://www.ruby-forum.com/t/enabling-ssi-when-using-a-proxy/177452 "2009-10-17T17:40:13Z")

</div>

Dear list, I’ve troubles for having SSI working with proxy\_pass, when I use FastCGI it works fine. I believe I’ve made a mistake but so far it’s a mistery for me! The PHP code proxied looks like this: \<?php echo '…

---

## [Chaning the 413 error message](https://www.ruby-forum.com/t/chaning-the-413-error-message/177442)

<div class="topic-metadata">

**Author:** [@kevin](https://www.ruby-forum.com/u/kevin)\
**Replies:** 1\
**Last updated:** [October 17, 2009, 12:46pm UTC](https://www.ruby-forum.com/t/chaning-the-413-error-message/177442 "2009-10-17T12:46:58Z")

</div>

how do i change the 413 error message? 413 Request Entity Too Large thank you

---

## [Nginx\_http\_push\_module](https://www.ruby-forum.com/t/nginx-http-push-module/177424)

<div class="topic-metadata">

**Author:** [@WSandrew\_L](https://www.ruby-forum.com/u/WSandrew_L)\
**Replies:** 1\
**Last updated:** [October 16, 2009, 10:10pm UTC](https://www.ruby-forum.com/t/nginx-http-push-module/177424 "2009-10-16T22:10:47Z")

</div>

I had nothing to do with the development of this fantastic module, I just wanted to get it some exposure as it looks like a fantastic solution for Comet using a piece of technology we all know and love as its core.

---

## [NginxHttpMapModule](https://www.ruby-forum.com/t/nginxhttpmapmodule/177379)

<div class="topic-metadata">

**Author:** [@Goldcap](https://www.ruby-forum.com/u/Goldcap)\
**Replies:** 2\
**Last updated:** [October 16, 2009, 5:12pm UTC](https://www.ruby-forum.com/t/nginxhttpmapmodule/177379 "2009-10-16T17:12:47Z")

</div>

I’m unclear how to mimic the Apache rewrite map using the NginxHttpMapModule. I’ve included a map in my nginx.conf file, as so: =================================== map $uri $new { default http://www.domain.co…

---

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

<div class="topic-metadata">

**Author:** [@Kiswono\_P](https://www.ruby-forum.com/u/Kiswono_P)\
**Replies:** 7\
**Last updated:** [October 16, 2009, 12:50pm UTC](https://www.ruby-forum.com/t/nginx-v8cgi/176868 "2009-10-16T12:50:33Z")

</div>

Has anyone use nginx and v8cgi together? maybe someone can help me how to configure it ^^ i am extremely newbie in nginx, and i think to leave php and move to server side javascript v8cgi that is faster than php mayb…

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

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