# Server

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

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

---

## [Attempt to rewrite using slightly deprecated /foo.php/bar/ methods](https://www.ruby-forum.com/t/attempt-to-rewrite-using-slightly-deprecated-foo-php-bar-methods/177879)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [October 27, 2009, 10:28am UTC](https://www.ruby-forum.com/t/attempt-to-rewrite-using-slightly-deprecated-foo-php-bar-methods/177879 "2009-10-27T10:28:27Z")

</div>

I have a script which has aliases like /login and such. If the file does not exist, it’s supposed to go to /controller.php/login Where controller.php will look up based on the URI and a whitelist of aliases and load …

---

## [Nginx-0.8.21](https://www.ruby-forum.com/t/nginx-0-8-21/177903)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 22\
**Last updated:** [October 27, 2009, 6:57am UTC](https://www.ruby-forum.com/t/nginx-0-8-21/177903 "2009-10-27T06:57:09Z")

</div>

Changes with nginx 0.8.21 26 Oct 2009 \*) Feature: now the "-V" switch shows TLS SNI support. \*) Feature: the "listen" directive of the HTTP module supports unix domain sockets…

---

## [Nginx unexpectedly returning 304 for content cached from proxy](https://www.ruby-forum.com/t/nginx-unexpectedly-returning-304-for-content-cached-from-proxy/169759)

<div class="topic-metadata">

**Author:** [@antleite2001](https://www.ruby-forum.com/u/antleite2001)\
**Replies:** 6\
**Last updated:** [October 27, 2009, 2:54am UTC](https://www.ruby-forum.com/t/nginx-unexpectedly-returning-304-for-content-cached-from-proxy/169759 "2009-10-27T02:54:49Z")

</div>

Hello! We recently started using Nginx 0.7.59 to replace Squid on a couple of our static file caching servers (Debian 5.0). However, nginx is returning “HTTP 304 Not Modified” responses for someâ€”not allâ€”of the c…

---

## [I am so confused - please validate this](https://www.ruby-forum.com/t/i-am-so-confused-please-validate-this/177867)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 3\
**Last updated:** [October 26, 2009, 10:14pm UTC](https://www.ruby-forum.com/t/i-am-so-confused-please-validate-this/177867 "2009-10-26T22:14:55Z")

</div>

I get this in my error log - normally I ignore it, except the swf uploader being used seems to die and I am trying to narrow down why. It appears to use a PHP script to inform the flash applet of the final file size/e…

---

## [Absent FastCGI process blocking static files?](https://www.ruby-forum.com/t/absent-fastcgi-process-blocking-static-files/177840)

<div class="topic-metadata">

**Author:** [@jlist9](https://www.ruby-forum.com/u/jlist9)\
**Replies:** 2\
**Last updated:** [October 25, 2009, 5:18pm UTC](https://www.ruby-forum.com/t/absent-fastcgi-process-blocking-static-files/177840 "2009-10-25T17:18:06Z")

</div>

Hi, I have a server that’s configured to talk to a Python fastcgi process, a PHP fastcgi process, and also load some static files from the html directory. I find that when the backend servers are up, nginx loads the …

---

## [Gateway timeout issues](https://www.ruby-forum.com/t/gateway-timeout-issues/177847)

<div class="topic-metadata">

**Author:** [@Stefanita\_Rares\_Dum](https://www.ruby-forum.com/u/Stefanita_Rares_Dum)\
**Replies:** 1\
**Last updated:** [October 25, 2009, 12:13pm UTC](https://www.ruby-forum.com/t/gateway-timeout-issues/177847 "2009-10-25T12:13:10Z")

</div>

hi guys, i have a server status script, that should connect to the mysql database, and install the db. however when running the installer, i get a 504 gateway time-out. i have several other websites working perfectly…

---

## [Unescaping character in url](https://www.ruby-forum.com/t/unescaping-character-in-url/177821)

<div class="topic-metadata">

**Author:** [@frankmt](https://www.ruby-forum.com/u/frankmt)\
**Replies:** 2\
**Last updated:** [October 25, 2009, 11:02am UTC](https://www.ruby-forum.com/t/unescaping-character-in-url/177821 "2009-10-25T11:02:02Z")

</div>

Hi all, I have a problem trying to rewrite a URL. It should be pretty straightforward but it has been taking me hours searching. Google indexed urls containing “;”, which gets escaped to %3B: http://server.com/plan/…

---

## [Loading a vhost configuration without loosing long-polling connections](https://www.ruby-forum.com/t/loading-a-vhost-configuration-without-loosing-long-polling-connections/177830)

<div class="topic-metadata">

**Author:** [@pablo\_platt](https://www.ruby-forum.com/u/pablo_platt)\
**Replies:** 0\
**Last updated:** [October 24, 2009, 9:06pm UTC](https://www.ruby-forum.com/t/loading-a-vhost-configuration-without-loosing-long-polling-connections/177830 "2009-10-24T21:06:50Z")

</div>

Hi, I’ve a vhost that serve long-polling connections. I’ve created another vhost under the site-available folder and symlink it to the site-enabled folder. How can I use this vhost without loosing existing long-poll…

---

## [The "echo" nginx module: A small step towards Nginx config file scripting](https://www.ruby-forum.com/t/the-echo-nginx-module-a-small-step-towards-nginx-config-file-scripting/177824)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [October 24, 2009, 6:41pm UTC](https://www.ruby-forum.com/t/the-echo-nginx-module-a-small-step-towards-nginx-config-file-scripting/177824 "2009-10-24T18:41:40Z")

</div>

Hi, folks! I’ve just finished my first run of “echo” module hacking by the v0.15 release. The documentation is on the Nginx wiki site: http://wiki.nginx.org/NginxHttpEchoModule I’m not going to repeat everything in t…

---

## [Problem with connection rate limiting and backend redirects](https://www.ruby-forum.com/t/problem-with-connection-rate-limiting-and-backend-redirects/177793)

<div class="topic-metadata">

**Author:** [@dcarneiro](https://www.ruby-forum.com/u/dcarneiro)\
**Replies:** 1\
**Last updated:** [October 23, 2009, 10:01pm UTC](https://www.ruby-forum.com/t/problem-with-connection-rate-limiting-and-backend-redirects/177793 "2009-10-23T22:01:59Z")

</div>

I love nginx! We’re using as a caching front-end proxy in front of our wordpress mu at http://blogs.law.harvard.edu/, and it’s enabled us to handle MUCH more traffic on less hardware. Roxors! Anyway - I discovered an …

---

## [Nginx reverse proxy crash when dns unavailable](https://www.ruby-forum.com/t/nginx-reverse-proxy-crash-when-dns-unavailable/177745)

<div class="topic-metadata">

**Author:** [@masom](https://www.ruby-forum.com/u/masom)\
**Replies:** 13\
**Last updated:** [October 23, 2009, 4:50pm UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-crash-when-dns-unavailable/177745 "2009-10-23T16:50:29Z")

</div>

Hi, I am currently planning to use nginx on several thousand devices as a reverse-proxy caching system. It currently work as expected (thanks Igor!), caches files as they are being requested by the devices. The only…

---

## [Binary logic in "if" directive](https://www.ruby-forum.com/t/binary-logic-in-if-directive/177707)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 2\
**Last updated:** [October 23, 2009, 1:03pm UTC](https://www.ruby-forum.com/t/binary-logic-in-if-directive/177707 "2009-10-23T13:03:56Z")

</div>

Is it possible to combine several conditions in the if directive, like condition1 AND condition2 OR condition3 ? Or at least just condition1 AND condition2? Thanks in advance, Igor K…

---

## [No input file specified](https://www.ruby-forum.com/t/no-input-file-specified/177692)

<div class="topic-metadata">

**Author:** [@tw1sted](https://www.ruby-forum.com/u/tw1sted)\
**Replies:** 7\
**Last updated:** [October 23, 2009, 11:57am UTC](https://www.ruby-forum.com/t/no-input-file-specified/177692 "2009-10-23T11:57:12Z")

</div>

if fastcgi is running I get “No input file spcified.” if the fastcgi is not up, I get “The page you are looking for is temporarily unavailable.” This is my config file: server { listen 80; server\_name website.org;…

---

## [Custom logger/log format , module for event logging](https://www.ruby-forum.com/t/custom-logger-log-format-module-for-event-logging/177765)

<div class="topic-metadata">

**Author:** [@rooster](https://www.ruby-forum.com/u/rooster)\
**Replies:** 0\
**Last updated:** [October 23, 2009, 10:53am UTC](https://www.ruby-forum.com/t/custom-logger-log-format-module-for-event-logging/177765 "2009-10-23T10:53:59Z")

</div>

I’m investigating using nginx to support a event logging framework. Unfortunately, or events come in via a http post. What I was looking at, was any way to use the standard access logs to somehow log the post values? …

---

## [Where are variables defined?](https://www.ruby-forum.com/t/where-are-variables-defined/177758)

<div class="topic-metadata">

**Author:** [@Boern](https://www.ruby-forum.com/u/Boern)\
**Replies:** 2\
**Last updated:** [October 23, 2009, 9:08am UTC](https://www.ruby-forum.com/t/where-are-variables-defined/177758 "2009-10-23T09:08:38Z")

</div>

Hi,all: I am newbie for nginx,and I have read the nginx English site article about modules and configure,but I have a question that there are lots of variables used in nginx.conf and I cannt find where thats defined…

---

## [How does 'locate' work?](https://www.ruby-forum.com/t/how-does-locate-work/177684)

<div class="topic-metadata">

**Author:** [@GAZ082](https://www.ruby-forum.com/u/GAZ082)\
**Replies:** 10\
**Last updated:** [October 23, 2009, 8:51am UTC](https://www.ruby-forum.com/t/how-does-locate-work/177684 "2009-10-23T08:51:04Z")

</div>

Hi! I want to protect a directory and its content. The directory is located in the server in the dir: /var/www/site.com/public/documents/ So, i have: location /public/documents/ { root /var/www/site.com/; aut…

---

## [FCGI Perl](https://www.ruby-forum.com/t/fcgi-perl/176606)

<div class="topic-metadata">

**Author:** [@Gordon\_Pettey](https://www.ruby-forum.com/u/Gordon_Pettey)\
**Replies:** 19\
**Last updated:** [October 23, 2009, 3:51am UTC](https://www.ruby-forum.com/t/fcgi-perl/176606 "2009-10-23T03:51:58Z")

</div>

I’m trying to use the script at NameBright - Coming Soon to serve .pl in /cgi-bin/ (like awstats) as FastCGI. Attempting to run the script gives an error. I’ve tried with Perl 5.8.8 and 5.10.1. Both result in the same…

---

## [When use ipv6, url deny doesn't work](https://www.ruby-forum.com/t/when-use-ipv6-url-deny-doesnt-work/177753)

<div class="topic-metadata">

**Author:** [@k\_35](https://www.ruby-forum.com/u/k_35)\
**Replies:** 0\
**Last updated:** [October 23, 2009, 3:48am UTC](https://www.ruby-forum.com/t/when-use-ipv6-url-deny-doesnt-work/177753 "2009-10-23T03:48:26Z")

</div>

i use nginx version 0.8 . Posted at Nginx Forum:

---

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

<div class="topic-metadata">

**Author:** [@slact](https://www.ruby-forum.com/u/slact)\
**Replies:** 0\
**Last updated:** [October 23, 2009, 1:57am UTC](https://www.ruby-forum.com/t/nginx-logo-licence/177751 "2009-10-23T01:57:15Z")

</div>

What are the licencing terms for the nginx logo found at http://nginx.net/ ? Same as nginx code? Are derivative works okay ( http://pushmodule.slact.net/ )?

---

## [Nginx and VirtualBox, heavy load](https://www.ruby-forum.com/t/nginx-and-virtualbox-heavy-load/177743)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 2\
**Last updated:** [October 22, 2009, 11:27pm UTC](https://www.ruby-forum.com/t/nginx-and-virtualbox-heavy-load/177743 "2009-10-22T23:27:22Z")

</div>

I have been using nginx very successfully as a reverse proxy (in front of a bank of web servers) on Linux. For a special project I’m working on, we were hoping to use the same setup but running in a Linux virtual mach…

---

## [IP-Range in Limit-Moduls](https://www.ruby-forum.com/t/ip-range-in-limit-moduls/177717)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [October 22, 2009, 4:55pm UTC](https://www.ruby-forum.com/t/ip-range-in-limit-moduls/177717 "2009-10-22T16:55:37Z")

</div>

Hello, Is there a chance to set an IP-Range with the “HTTP Limit Zone” or the “HTTP Limit Requests” module? Like 1.2.3.4/8 → ignore the last 8 bits of the internet address. It would reduce the required zone-size a…

---

## [Issue with SSL client certificate](https://www.ruby-forum.com/t/issue-with-ssl-client-certificate/177661)

<div class="topic-metadata">

**Author:** [@scunningham](https://www.ruby-forum.com/u/scunningham)\
**Replies:** 2\
**Last updated:** [October 22, 2009, 3:10pm UTC](https://www.ruby-forum.com/t/issue-with-ssl-client-certificate/177661 "2009-10-22T15:10:16Z")

</div>

I have a unusual case where, as a server, I need the client to provide a SSL cert, however, I am not interested in verifying it. In order to convince the client to provide a cert, the SSL\_VERIFY\_PEER param is passed …

---

## [Dynamic proxy\_pass hosts](https://www.ruby-forum.com/t/dynamic-proxy-pass-hosts/177706)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 3\
**Last updated:** [October 22, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/dynamic-proxy-pass-hosts/177706 "2009-10-22T14:55:38Z")

</div>

In Apache it is possible to dynamically alter the proxy\_pass remote host, i.e. like this RewriteRule ^/proxy\_everything/(.\*)$ http://$1 \[P\] So I cant extract the host from the URI, or from the environment variable et…

---

## [The keepalive problem when using redirection in code](https://www.ruby-forum.com/t/the-keepalive-problem-when-using-redirection-in-code/177708)

<div class="topic-metadata">

**Author:** [@wangbin579](https://www.ruby-forum.com/u/wangbin579)\
**Replies:** 3\
**Last updated:** [October 22, 2009, 12:09pm UTC](https://www.ruby-forum.com/t/the-keepalive-problem-when-using-redirection-in-code/177708 "2009-10-22T12:09:58Z")

</div>

the code is as the following: header-\>hash = 1; header-\>key.len = sizeof(“Location”) - 1; header-\>key.data=(u\_char ) “Location”; header-\>value.len = strlen(param-\>redirectUrl); header-\>value.data=(u\_char)param-\>redi…

---

## [Blocking user behind proxy](https://www.ruby-forum.com/t/blocking-user-behind-proxy/177349)

<div class="topic-metadata">

**Author:** [@sameer](https://www.ruby-forum.com/u/sameer)\
**Replies:** 9\
**Last updated:** [October 22, 2009, 11:16am UTC](https://www.ruby-forum.com/t/blocking-user-behind-proxy/177349 "2009-10-22T11:16:06Z")

</div>

Hi, We are using Akamai for site acceleration and wish to block traffic from a set of IPs. Can I just do something like if $TRUE-CLIENT-IP ~ IP { deny all; } or do I need to search the HTTP\_Header This is not a v…

---

## [How can i send proxy cache file's if-modified-since info to backend server?](https://www.ruby-forum.com/t/how-can-i-send-proxy-cache-files-if-modified-since-info-to-backend-server/177703)

<div class="topic-metadata">

**Author:** [@pf\_shineyear](https://www.ruby-forum.com/u/pf_shineyear)\
**Replies:** 0\
**Last updated:** [October 22, 2009, 11:10am UTC](https://www.ruby-forum.com/t/how-can-i-send-proxy-cache-files-if-modified-since-info-to-backend-server/177703 "2009-10-22T11:10:50Z")

</div>

hi all i use nginx proxy cache to cache file from backend server, and when the cache are timeout, nginx will proxy the first request from client to backend server, and delete the old cache file in nginx but , if th…

---

## [How can i send proxy cache file's if-modified-since info to backend server?](https://www.ruby-forum.com/t/how-can-i-send-proxy-cache-files-if-modified-since-info-to-backend-server/177705)

<div class="topic-metadata">

**Author:** [@shineyear](https://www.ruby-forum.com/u/shineyear)\
**Replies:** 0\
**Last updated:** [October 22, 2009, 10:36am UTC](https://www.ruby-forum.com/t/how-can-i-send-proxy-cache-files-if-modified-since-info-to-backend-server/177705 "2009-10-22T10:36:50Z")

</div>

hi all i use nginx proxy cache to cache file from backend server, and when the cache are timeout, nginx will proxy the first request from client to backend server, and delete the old cache file in nginx but , if the…

---

## [Nginx auto apeend "@@@Accept-Encoding:gzip" in request url](https://www.ruby-forum.com/t/nginx-auto-apeend-accept-encoding-gzip-in-request-url/177641)

<div class="topic-metadata">

**Author:** [@sysok8](https://www.ruby-forum.com/u/sysok8)\
**Replies:** 2\
**Last updated:** [October 22, 2009, 4:56am UTC](https://www.ruby-forum.com/t/nginx-auto-apeend-accept-encoding-gzip-in-request-url/177641 "2009-10-22T04:56:08Z")

</div>

some kind of problems happened at my nginx servers. 1.The error log shows like this: 2009/10/21 18:43:30 \[error\] 22636#0: \*8345 open() “//mnt/iscsi/che168www/file1/Upload/photo/small/20091021/80\_60\_514555811.jpg@@@Acc…

---

## [Launch FastCGI process?](https://www.ruby-forum.com/t/launch-fastcgi-process/177565)

<div class="topic-metadata">

**Author:** [@jlist9](https://www.ruby-forum.com/u/jlist9)\
**Replies:** 19\
**Last updated:** [October 21, 2009, 8:15pm UTC](https://www.ruby-forum.com/t/launch-fastcgi-process/177565 "2009-10-21T20:15:05Z")

</div>

Hi, My understand is that nginx doesn’t launch a process, being it a CGI process or FastCGI back-end server. I wonder what are the reasons behind this decision. I used to use another web server that takes care of la…

---

## [XSLT2 - new module, reviews and opinions needed :)](https://www.ruby-forum.com/t/xslt2-new-module-reviews-and-opinions-needed/177274)

<div class="topic-metadata">

**Author:** [@piotreek](https://www.ruby-forum.com/u/piotreek)\
**Replies:** 7\
**Last updated:** [October 21, 2009, 6:30pm UTC](https://www.ruby-forum.com/t/xslt2-new-module-reviews-and-opinions-needed/177274 "2009-10-21T18:30:52Z")

</div>

Hi, We have written new Nginx modules and we publish them in hope of getting opinions. :slight\_smile: Generally, these modules are connected with XML and XSLT processing. Information and short description are availab…

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

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