# Server

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

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

---

## [The new regex matching stuff rocks... except it's missing one thing](https://www.ruby-forum.com/t/the-new-regex-matching-stuff-rocks-except-its-missing-one-thing/162610)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 2\
**Last updated:** [March 11, 2009, 11:54pm UTC](https://www.ruby-forum.com/t/the-new-regex-matching-stuff-rocks-except-its-missing-one-thing/162610 "2009-03-11T23:54:35Z")

</div>

The auth stuff doesn’t support it. Any ideas on how to support dynamically populating the auth\_basic\_user\_file? Is this a quick and dirty thing? That’d be awesome if it was. location ~\* ^/foo/private/(.\*) …

---

## [Allowing for mongrel-cluster to start with different users specified in YAML](https://www.ruby-forum.com/t/allowing-for-mongrel-cluster-to-start-with-different-users-specified-in-yaml/162612)

<div class="topic-metadata">

**Author:** [@Gunnar\_W](https://www.ruby-forum.com/u/Gunnar_W)\
**Replies:** 0\
**Last updated:** [March 11, 2009, 10:55pm UTC](https://www.ruby-forum.com/t/allowing-for-mongrel-cluster-to-start-with-different-users-specified-in-yaml/162612 "2009-03-11T22:55:57Z")

</div>

Mongrel-users mailing list removed\_email\_address@domain.invalid http://rubyforge.org/mailman/listinfo/mongrel-users

---

## [Error : Redmine](https://www.ruby-forum.com/t/error-redmine/162288)

<div class="topic-metadata">

**Author:** [@gypsygoks](https://www.ruby-forum.com/u/gypsygoks)\
**Replies:** 4\
**Last updated:** [March 11, 2009, 9:28pm UTC](https://www.ruby-forum.com/t/error-redmine/162288 "2009-03-11T21:28:25Z")

</div>

Hello, Iam getting the following error whem adding new task in redmine – Internal error An error occurred on the page you were trying to access. If you continue to experience problems please contact your redMine adm…

---

## [Re: nginx-0.7.41](https://www.ruby-forum.com/t/re-nginx-0-7-41/162586)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [March 11, 2009, 4:16pm UTC](https://www.ruby-forum.com/t/re-nginx-0-7-41/162586 "2009-03-11T16:16:35Z")

</div>

Nginx 0.7.41 for Windows (win32) is now available: http://cli.gs/741 Kevin W. 2009/3/11 Igor S. removed\_email\_address@domain.invalid:

---

## [Idea: Zeroconf/Avahi support?](https://www.ruby-forum.com/t/idea-zeroconf-avahi-support/162416)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 9\
**Last updated:** [March 11, 2009, 4:06pm UTC](https://www.ruby-forum.com/t/idea-zeroconf-avahi-support/162416 "2009-03-11T16:06:02Z")

</div>

I’ve been considering a pair of Nginx modules that would support Avahi/Zeroconf. That is, let Nginx announce itself via Avahi (one module) and another that would let it detect other services via Avahi (the second mod…

---

## [Nginx-0.7.40](https://www.ruby-forum.com/t/nginx-0-7-40/162569)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 2\
**Last updated:** [March 11, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/nginx-0-7-40/162569 "2009-03-11T15:05:59Z")

</div>

Changes with nginx 0.7.41 11 Mar 2009 \*) Bugfix: a segmentation fault might occur in worker process, if a "server\_name" or a "location" directives had captures in regular ex…

---

## [Blocking based on proxy\_add\_x\_forwarded\_for](https://www.ruby-forum.com/t/blocking-based-on-proxy-add-x-forwarded-for/162543)

<div class="topic-metadata">

**Author:** [@Shri\_S\_DevLib.Org](https://www.ruby-forum.com/u/Shri_S_DevLib.Org)\
**Replies:** 1\
**Last updated:** [March 11, 2009, 7:48am UTC](https://www.ruby-forum.com/t/blocking-based-on-proxy-add-x-forwarded-for/162543 "2009-03-11T07:48:32Z")

</div>

I have a situation where a fair number of spammers are sneaking in through proxy servers. Their real IP addresses can be traced back and identified. Our current blocking works like this. location / { de…

---

## [Call for assistance: new Nginx wiki](https://www.ruby-forum.com/t/call-for-assistance-new-nginx-wiki/162530)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 0\
**Last updated:** [March 10, 2009, 11:26pm UTC](https://www.ruby-forum.com/t/call-for-assistance-new-nginx-wiki/162530 "2009-03-10T23:26:42Z")

</div>

Hi all, I’ve migrated (via script) the old wiki to a new MediaWiki instance: http://www.nginx-community.org/ However, as you might expect, the migration isn’t perfect (although it appears to have gone surprisingly we…

---

## [Redirect from http to https](https://www.ruby-forum.com/t/redirect-from-http-to-https/162336)

<div class="topic-metadata">

**Author:** [@stevezhuo](https://www.ruby-forum.com/u/stevezhuo)\
**Replies:** 15\
**Last updated:** [March 10, 2009, 8:51pm UTC](https://www.ruby-forum.com/t/redirect-from-http-to-https/162336 "2009-03-10T20:51:23Z")

</div>

Hi I’m trying to redirect all income request from http to https: i’ve tried the rewrite module , but i always got the redirect in a loop issue. please help. server { listen 80; server\_name www.domain.com do…

---

## [Using regex captures in handler](https://www.ruby-forum.com/t/using-regex-captures-in-handler/162512)

<div class="topic-metadata">

**Author:** [@kastorilo](https://www.ruby-forum.com/u/kastorilo)\
**Replies:** 0\
**Last updated:** [March 10, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/using-regex-captures-in-handler/162512 "2009-03-10T18:39:06Z")

</div>

Hi, I’m writing an Nginx module where I’d like to use the regex and variable captures as part of my own directives, e.g. set $my\_var my\_val; location ~ ^/test/(.\*)$ { my\_directive\_setting $my\_var.$1; } I …

---

## [Nginx-0.7.40](https://www.ruby-forum.com/t/nginx-0-7-40/162369)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 4\
**Last updated:** [March 10, 2009, 7:14am UTC](https://www.ruby-forum.com/t/nginx-0-7-40/162369 "2009-03-10T07:14:25Z")

</div>

Changes with nginx 0.7.40 09 Mar 2009 \*) Feature: the "location" directive supports captures in regular expressions. \*) Feature: an "alias" directive with capture references m…

---

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

<div class="topic-metadata">

**Author:** [@2009do](https://www.ruby-forum.com/u/2009do)\
**Replies:** 3\
**Last updated:** [March 10, 2009, 7:08am UTC](https://www.ruby-forum.com/t/nginx-modules/160416 "2009-03-10T07:08:50Z")

</div>

hi, I am new to this platform, i want to configure nginx to my site. For example, my domain name is Â¨ads.comÂ¨ I want to block access to the site with the incorrect values. I am getting incorrect values from Â¨games…

---

## [Md5 and sha1 lib - are they still needed?](https://www.ruby-forum.com/t/md5-and-sha1-lib-are-they-still-needed/162140)

<div class="topic-metadata">

**Author:** [@jfl](https://www.ruby-forum.com/u/jfl)\
**Replies:** 3\
**Last updated:** [March 10, 2009, 4:40am UTC](https://www.ruby-forum.com/t/md5-and-sha1-lib-are-they-still-needed/162140 "2009-03-10T04:40:43Z")

</div>

according to an old (2006) message, they are not, but could we perhaps get an update on this? thanks, -jf – In the meantime, here is your PSA: “It’s so hard to write a graphics driver that open-sourcing it would no…

---

## [Need help with Sysoev's "location @drupal" code](https://www.ruby-forum.com/t/need-help-with-sysoevs-location-drupal-code/162451)

<div class="topic-metadata">

**Author:** [@larios](https://www.ruby-forum.com/u/larios)\
**Replies:** 0\
**Last updated:** [March 10, 2009, 1:58am UTC](https://www.ruby-forum.com/t/need-help-with-sysoevs-location-drupal-code/162451 "2009-03-10T01:58:04Z")

</div>

I would appreciate any help to change the script attached bellow (between the “# — drupal cut here —” marks), to make it work accordingly to the suggestions given by Igor S. at: \<Nginx.conf ok - but want to redirect n…

---

## [Non block perl integration](https://www.ruby-forum.com/t/non-block-perl-integration/162276)

<div class="topic-metadata">

**Author:** [@Atif\_G](https://www.ruby-forum.com/u/Atif_G)\
**Replies:** 1\
**Last updated:** [March 9, 2009, 11:35pm UTC](https://www.ruby-forum.com/t/non-block-perl-integration/162276 "2009-03-09T23:35:50Z")

</div>

Hi Igor, Any chance of a non-blocking perl integration. So far we are using the perl integratiion iny many places except where the non-blocking becomes an issue. thanks again for the great software.

---

## [Nginx 0.7.40 for Windows is now available](https://www.ruby-forum.com/t/nginx-0-7-40-for-windows-is-now-available/162429)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [March 9, 2009, 10:10pm UTC](https://www.ruby-forum.com/t/nginx-0-7-40-for-windows-is-now-available/162429 "2009-03-09T22:10:14Z")

</div>

Nginx 0.7.40 for Windows is now available: http://cli.gs/740

---

## [Proper way to get uri of backend server](https://www.ruby-forum.com/t/proper-way-to-get-uri-of-backend-server/162389)

<div class="topic-metadata">

**Author:** [@vchav](https://www.ruby-forum.com/u/vchav)\
**Replies:** 0\
**Last updated:** [March 9, 2009, 2:59pm UTC](https://www.ruby-forum.com/t/proper-way-to-get-uri-of-backend-server/162389 "2009-03-09T14:59:06Z")

</div>

Hi everybody, I want return a page with simply the uri of backend server. For example, I have two servers (one.mydomain.com, two.mydomain.com) and when a client ask to /geturi/?TEST=hello, I want to hash ‘hello’ for …

---

## [How to pass values in Ajax.Updater](https://www.ruby-forum.com/t/how-to-pass-values-in-ajax-updater/162363)

<div class="topic-metadata">

**Author:** [@deeparaj](https://www.ruby-forum.com/u/deeparaj)\
**Replies:** 0\
**Last updated:** [March 9, 2009, 8:48am UTC](https://www.ruby-forum.com/t/how-to-pass-values-in-ajax-updater/162363 "2009-03-09T08:48:18Z")

</div>

\<%= link\_to\_remote( (image\_tag “/images/Edit.gif”,:border=\>0,:title=\>‘Edit’),:url=\>{:action=\>“say\_hello”,:id=\>sal.id},:html=\>{:onclick=\>“new Ajax.Updater(‘mydiv’, ‘/example/say\_hello’, {asynchronous:true}); return fal…

---

## [NginxHttpLogModule](https://www.ruby-forum.com/t/nginxhttplogmodule/162359)

<div class="topic-metadata">

**Author:** [@Chris\_Z](https://www.ruby-forum.com/u/Chris_Z)\
**Replies:** 0\
**Last updated:** [March 9, 2009, 7:58am UTC](https://www.ruby-forum.com/t/nginxhttplogmodule/162359 "2009-03-09T07:58:33Z")

</div>

I’m curious if it’s possible to differentiate between sent and received bytes using this module? Similar to say mod\_logio for apache.

---

## [Spawn-fcgi-1.6.0rc1-r16 prerelease\]](https://www.ruby-forum.com/t/spawn-fcgi-1-6-0rc1-r16-prerelease/160717)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 26\
**Last updated:** [March 9, 2009, 7:48am UTC](https://www.ruby-forum.com/t/spawn-fcgi-1-6-0rc1-r16-prerelease/160717 "2009-03-09T07:48:35Z")

</div>

For those people who, for various reasons, can’t or don’t want to compile PHP with php-fpm (or for anyone who needs to spawn FCGI processes in general), spawn-fcgi has been split out of Lighttpd into its own project (…

---

## [Wp super cache rewrite rule](https://www.ruby-forum.com/t/wp-super-cache-rewrite-rule/162146)

<div class="topic-metadata">

**Author:** [@max](https://www.ruby-forum.com/u/max)\
**Replies:** 1\
**Last updated:** [March 9, 2009, 7:21am UTC](https://www.ruby-forum.com/t/wp-super-cache-rewrite-rule/162146 "2009-03-09T07:21:05Z")

</div>

Hello, When I look at the stats at wp super cace, it always show 0 page for wp super cace: Cache Contents WP-Cache \* 71 Cached Pages \* 0 Expired Pages WP-Super-Cache \* 0 Cached Pages \* 0 Expired Pages Garbage Col…

---

## [Anyone working on Lua scripting engine for NGINX?](https://www.ruby-forum.com/t/anyone-working-on-lua-scripting-engine-for-nginx/162312)

<div class="topic-metadata">

**Author:** [@jay\_edwards](https://www.ruby-forum.com/u/jay_edwards)\
**Replies:** 2\
**Last updated:** [March 8, 2009, 9:49pm UTC](https://www.ruby-forum.com/t/anyone-working-on-lua-scripting-engine-for-nginx/162312 "2009-03-08T21:49:08Z")

</div>

Anyone working on Lua embedded scripting engine for NGINX?

---

## [Maybe a bug: SSI echo with encoding](https://www.ruby-forum.com/t/maybe-a-bug-ssi-echo-with-encoding/162333)

<div class="topic-metadata">

**Author:** [@SS\_SSSSS\_SSSS](https://www.ruby-forum.com/u/SS_SSSSS_SSSS)\
**Replies:** 1\
**Last updated:** [March 8, 2009, 8:07pm UTC](https://www.ruby-forum.com/t/maybe-a-bug-ssi-echo-with-encoding/162333 "2009-03-08T20:07:58Z")

</div>

Hello Everyone, I found something unusual while using SSI echo command. Let’s say a ssi html file like this: nginx will output: %20 %2520 %252520 %25252520 not what we expected: %20 %2034 %2034 %2034 After dig…

---

## [Add\_header with 40x](https://www.ruby-forum.com/t/add-header-with-40x/162329)

<div class="topic-metadata">

**Author:** [@Josh\_Turmel](https://www.ruby-forum.com/u/Josh_Turmel)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 7:02pm UTC](https://www.ruby-forum.com/t/add-header-with-40x/162329 "2009-03-08T19:02:28Z")

</div>

Does anyone know if there are plans to allow the add\_header directive to work with 40x errors? Right now on one of our sites we are build an API and I have setup rules in the NGINX configuration to check the request\_…

---

## [Re: error : Redmine](https://www.ruby-forum.com/t/re-error-redmine/162318)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 4:14pm UTC](https://www.ruby-forum.com/t/re-error-redmine/162318 "2009-03-08T16:14:13Z")

</div>

That is an error from redmine and is not from mongrel. You should double check your redmine installation and if you are still having problems then seek help in a redmine specific forum. Kirk H.

---

## [Nginx Expries 30d;](https://www.ruby-forum.com/t/nginx-expries-30d/162297)

<div class="topic-metadata">

**Author:** [@vmirjamali](https://www.ruby-forum.com/u/vmirjamali)\
**Replies:** 1\
**Last updated:** [March 8, 2009, 8:11am UTC](https://www.ruby-forum.com/t/nginx-expries-30d/162297 "2009-03-08T08:11:38Z")

</div>

Hi I’m trying to get my expires config to work with my site, but for it to work i need to find a way to exclude the folder forums from it’s effects since it has it’s own expired set within it’s software. Any body know…

---

## [NGINX - traffic log / graphing / billing per destination ip](https://www.ruby-forum.com/t/nginx-traffic-log-graphing-billing-per-destination-ip/162285)

<div class="topic-metadata">

**Author:** [@Payam\_C](https://www.ruby-forum.com/u/Payam_C)\
**Replies:** 2\
**Last updated:** [March 8, 2009, 7:00am UTC](https://www.ruby-forum.com/t/nginx-traffic-log-graphing-billing-per-destination-ip/162285 "2009-03-08T07:00:11Z")

</div>

Hi Guys, I’ve spend some time going through google trying to find an elegant solution for traffic logging/ graphing(rrd) / billing(based on rrd?) but have come up empty handed. Right now here is what I am doing: I ha…

---

## [How can i execute \*.cgi files via browser?](https://www.ruby-forum.com/t/how-can-i-execute-cgi-files-via-browser/162250)

<div class="topic-metadata">

**Author:** [@Dieter\_Zinke](https://www.ruby-forum.com/u/Dieter_Zinke)\
**Replies:** 1\
**Last updated:** [March 8, 2009, 12:46am UTC](https://www.ruby-forum.com/t/how-can-i-execute-cgi-files-via-browser/162250 "2009-03-08T00:46:02Z")

</div>

I have setup nginx for using perl via this scenario http://wiki.codemongers.com/NginxSimpleCGI. I can run \*.pl files but not \*.cgi files. Callin a \*.cgi file via the browser results in a You have chosen to open test…

---

## [Nginx to nginx proxy header problem](https://www.ruby-forum.com/t/nginx-to-nginx-proxy-header-problem/162137)

<div class="topic-metadata">

**Author:** [@jauderho](https://www.ruby-forum.com/u/jauderho)\
**Replies:** 4\
**Last updated:** [March 7, 2009, 8:44pm UTC](https://www.ruby-forum.com/t/nginx-to-nginx-proxy-header-problem/162137 "2009-03-07T20:44:14Z")

</div>

I have nginx proxying to nginx+fcgi and it looks like the Vary header is being set twice. The reason for this config is that I intend to stick a Varnish instance in between but wanted to make sure this was working bef…

---

## [SimpleCGI - cgi.sock comes with wrong permission](https://www.ruby-forum.com/t/simplecgi-cgi-sock-comes-with-wrong-permission/162252)

<div class="topic-metadata">

**Author:** [@Dieter\_Zinke](https://www.ruby-forum.com/u/Dieter_Zinke)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 3:30pm UTC](https://www.ruby-forum.com/t/simplecgi-cgi-sock-comes-with-wrong-permission/162252 "2009-03-07T15:30:58Z")

</div>

I have setup nginx (compiled from source) for using perl via this scenario http://wiki.codemongers.com/NginxSimpleCGI. I ve red other things from this list, but this scenario works for me more or less. I start the CGI…

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

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