# Server

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

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

---

## [Bug still exists](https://www.ruby-forum.com/t/bug-still-exists/195560)

<div class="topic-metadata">

**Author:** [@mat\_h](https://www.ruby-forum.com/u/mat_h)\
**Replies:** 0\
**Last updated:** [September 25, 2010, 6:07am UTC](https://www.ruby-forum.com/t/bug-still-exists/195560 "2010-09-25T06:07:59Z")

</div>

Thread: nginx 0.8.x reloading issues/crashes Been getting this as well on reload. My reloads are for an automatic script so I can tell you each reload is adding or removing a simple VHOST, (just a server listening on …

---

## [Howto change email header in emails send from PHP](https://www.ruby-forum.com/t/howto-change-email-header-in-emails-send-from-php/195526)

<div class="topic-metadata">

**Author:** [@frocco](https://www.ruby-forum.com/u/frocco)\
**Replies:** 6\
**Last updated:** [September 24, 2010, 4:32pm UTC](https://www.ruby-forum.com/t/howto-change-email-header-in-emails-send-from-php/195526 "2010-09-24T16:32:40Z")

</div>

Hello, all emails, which I send from PHP mail() have the header like: Received: from nginx by localhost with local (Exim 4.63) (envelope-from nginx@localhost) How I can change the address to something like removed\_ema…

---

## [Can Windows compile](https://www.ruby-forum.com/t/can-windows-compile/195347)

<div class="topic-metadata">

**Author:** [@jamesjara](https://www.ruby-forum.com/u/jamesjara)\
**Replies:** 2\
**Last updated:** [September 23, 2010, 9:56pm UTC](https://www.ruby-forum.com/t/can-windows-compile/195347 "2010-09-23T21:56:26Z")

</div>

Hi , thanks i am working in xingx for linux and wind, linux is ok, but in windows i want to use NginxHttpStubStatusModule and other modules but icant because the docs said \[quote=docs\] This module is not compiled by d…

---

## [Wiki back up](https://www.ruby-forum.com/t/wiki-back-up/195488)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 0\
**Last updated:** [September 23, 2010, 7:59pm UTC](https://www.ruby-forum.com/t/wiki-back-up/195488 "2010-09-23T19:59:55Z")

</div>

Sorry about the outage this morning. Patching for new 0-day kernel vulnerability on 64 bit Linux systems. http://blog.ksplice.com/2010/09/cve-2010-3081/ Cliff

---

## [How to i force apche to handle download request](https://www.ruby-forum.com/t/how-to-i-force-apche-to-handle-download-request/195465)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 0\
**Last updated:** [September 23, 2010, 2:58pm UTC](https://www.ruby-forum.com/t/how-to-i-force-apche-to-handle-download-request/195465 "2010-09-23T14:58:24Z")

</div>

hii all, Am running apche as frontend to mongrel ,i added these line in Apache’s httpd.conf file LoadModule rewrite\_module modules/mod\_rewrite.so LoadModule proxy\_module modules/mod\_proxy.so LoadModule proxy\_balancer…

---

## [Nginx wordpress wp super cache rewrite issue](https://www.ruby-forum.com/t/nginx-wordpress-wp-super-cache-rewrite-issue/195370)

<div class="topic-metadata">

**Author:** [@neomax](https://www.ruby-forum.com/u/neomax)\
**Replies:** 7\
**Last updated:** [September 23, 2010, 1:43pm UTC](https://www.ruby-forum.com/t/nginx-wordpress-wp-super-cache-rewrite-issue/195370 "2010-09-23T13:43:23Z")

</div>

Hello guys, this is MAX. I recently set up my Nginx 0.765 in CentOS 5.5 and all are working well, then I moved my blog there and enabled permlink and rewrite, I used to run WP super cache, but when I configure it, it …

---

## [Nginx make error, when --with-http\_perl\_module](https://www.ruby-forum.com/t/nginx-make-error-when-with-http-perl-module/170833)

<div class="topic-metadata">

**Author:** [@lankelan](https://www.ruby-forum.com/u/lankelan)\
**Replies:** 12\
**Last updated:** [September 23, 2010, 9:33am UTC](https://www.ruby-forum.com/t/nginx-make-error-when-with-http-perl-module/170833 "2010-09-23T09:33:22Z")

</div>

\#./configure --user=elove --group=elove --prefix=/home/elove/app/nginx –with-http\_stub\_status\_module --with-http\_ssl\_module –with-openssl=/home/elove/openssl-0.9.8c --with-http\_perl\_module –with-perl=/usr/bin/perl –w…

---

## [How to add virtualhosts in nginx?](https://www.ruby-forum.com/t/how-to-add-virtualhosts-in-nginx/195361)

<div class="topic-metadata">

**Author:** [@marcelo](https://www.ruby-forum.com/u/marcelo)\
**Replies:** 6\
**Last updated:** [September 23, 2010, 7:54am UTC](https://www.ruby-forum.com/t/how-to-add-virtualhosts-in-nginx/195361 "2010-09-23T07:54:27Z")

</div>

Hello All, Following the excellent guide posted in cyberciti.biz (http://www.cyberciti.biz/faq/rhel-fedora-install-configure-nginx-php5/) I istalled nginx in centos 5.5 successfully, but I fail to configure VirtualHo…

---

## [Problem in downloading large file with apache+mongrel](https://www.ruby-forum.com/t/problem-in-downloading-large-file-with-apache-mongrel/195392)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 20\
**Last updated:** [September 23, 2010, 7:42am UTC](https://www.ruby-forum.com/t/problem-in-downloading-large-file-with-apache-mongrel/195392 "2010-09-23T07:42:41Z")

</div>

hii all, am using apache as frontend to mongrel and loaded xsendfile module in apache ,am looking for 1 GB of download .this is download routine def download @stream = Stream.find(params\[:id\]) send\_file(@stream.loc…

---

## [Bug in if?](https://www.ruby-forum.com/t/bug-in-if/195345)

<div class="topic-metadata">

**Author:** [@Marcin\_SWMPSS\_Janow](https://www.ruby-forum.com/u/Marcin_SWMPSS_Janow)\
**Replies:** 4\
**Last updated:** [September 22, 2010, 4:13pm UTC](https://www.ruby-forum.com/t/bug-in-if/195345 "2010-09-22T16:13:15Z")

</div>

Hello, I’m running a small shell server for me and my friends and would like every user to have his own example.com/user web-accessible, password-protected directory not available to other users. Preferably, with aut…

---

## [Add $unixtime to http variables](https://www.ruby-forum.com/t/add-unixtime-to-http-variables/195264)

<div class="topic-metadata">

**Author:** [@Roberto\_De\_Ioris](https://www.ruby-forum.com/u/Roberto_De_Ioris)\
**Replies:** 6\
**Last updated:** [September 22, 2010, 7:57am UTC](https://www.ruby-forum.com/t/add-unixtime-to-http-variables/195264 "2010-09-22T07:57:53Z")

</div>

This is a patch to add $unixtime to the http variables. It simply contains the output of time(NULL) It could be useful to measure the time between the send of a request to an upstream module and the time the applicati…

---

## [Location directive causing a redirect?](https://www.ruby-forum.com/t/location-directive-causing-a-redirect/195283)

<div class="topic-metadata">

**Author:** [@WSandrew\_L](https://www.ruby-forum.com/u/WSandrew_L)\
**Replies:** 2\
**Last updated:** [September 21, 2010, 7:23pm UTC](https://www.ruby-forum.com/t/location-directive-causing-a-redirect/195283 "2010-09-21T19:23:50Z")

</div>

Using the following configuration, causes a request for Domain Blog | Domain, Website, and Ecommerce Tips for Small Businesses to 301 to Domain Blog | Domain, Website, and Ecommerce Tips for Small Businesses even with d…

---

## [Sub filterâ€˜s bug?](https://www.ruby-forum.com/t/sub-filtera-s-bug/194993)

<div class="topic-metadata">

**Author:** [@monad](https://www.ruby-forum.com/u/monad)\
**Replies:** 6\
**Last updated:** [September 21, 2010, 5:04pm UTC](https://www.ruby-forum.com/t/sub-filtera-s-bug/194993 "2010-09-21T17:04:29Z")

</div>

my nginx version is 0.7.67. I test nginx’s sub filter, there have some alert log in error log: the http output chain is empty while sending response to client. \* \* and i debug nginx , and then found this is cause b…

---

## [Nginx behind mod\_proxy giving 408](https://www.ruby-forum.com/t/nginx-behind-mod-proxy-giving-408/195280)

<div class="topic-metadata">

**Author:** [@ajassal](https://www.ruby-forum.com/u/ajassal)\
**Replies:** 0\
**Last updated:** [September 21, 2010, 2:31am UTC](https://www.ruby-forum.com/t/nginx-behind-mod-proxy-giving-408/195280 "2010-09-21T02:31:43Z")

</div>

As part of rolling out nginx across our site, we are doing a phased roll-out of services currently running behind apache (mod\_proxy). For our first service we have nginx running behind apache (mod\_proxy) for some URLs…

---

## [Can I change group permissions from www-data to something else?](https://www.ruby-forum.com/t/can-i-change-group-permissions-from-www-data-to-something-else/195276)

<div class="topic-metadata">

**Author:** [@cimenta](https://www.ruby-forum.com/u/cimenta)\
**Replies:** 1\
**Last updated:** [September 21, 2010, 1:58am UTC](https://www.ruby-forum.com/t/can-i-change-group-permissions-from-www-data-to-something-else/195276 "2010-09-21T01:58:57Z")

</div>

hi I want to \[list\] \[\] securely \[\] grant remote rw access \[\*\] to some web server data directories \[/list\] It looks like there is need to change group name from www\_data to something else to accomplish that. Is t…

---

## [How to define location to math all .php files with authentication?](https://www.ruby-forum.com/t/how-to-define-location-to-math-all-php-files-with-authentication/195274)

<div class="topic-metadata">

**Author:** [@Flavio\_Torres](https://www.ruby-forum.com/u/Flavio_Torres)\
**Replies:** 0\
**Last updated:** [September 20, 2010, 10:55pm UTC](https://www.ruby-forum.com/t/how-to-define-location-to-math-all-php-files-with-authentication/195274 "2010-09-20T22:55:44Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, Please, how can I define a location to math all .php files ? Actually, I’m using the following configuration: As you can see, I had to define (line 42) a locati…

---

## [Dumb question](https://www.ruby-forum.com/t/dumb-question/195260)

<div class="topic-metadata">

**Author:** [@michbukana](https://www.ruby-forum.com/u/michbukana)\
**Replies:** 3\
**Last updated:** [September 20, 2010, 10:26pm UTC](https://www.ruby-forum.com/t/dumb-question/195260 "2010-09-20T22:26:28Z")

</div>

Is it possible to use NGINX with ruby on rails in windows? If that is possible can you point me in the right direction and requirements? Thank you in advance Eduardo B.

---

## [Are numbered captures available to the proxy cache key construct?](https://www.ruby-forum.com/t/are-numbered-captures-available-to-the-proxy-cache-key-construct/195243)

<div class="topic-metadata">

**Author:** [@portante](https://www.ruby-forum.com/u/portante)\
**Replies:** 1\
**Last updated:** [September 20, 2010, 2:18pm UTC](https://www.ruby-forum.com/t/are-numbered-captures-available-to-the-proxy-cache-key-construct/195243 "2010-09-20T14:18:11Z")

</div>

Hi Folks, Can somebody comment on whether proxy\_cache\_key is supposed to be able to handle # captures? I believe the below example shows how I want to use it, but I can’t get it to work. Thanks, -peter location …

---

## [Ð±ð°ð³ ð»ð¸ ññ‚ð¾?](https://www.ruby-forum.com/t/d-d-d-d-d-n-n-d/195248)

<div class="topic-metadata">

**Author:** [@ivan](https://www.ruby-forum.com/u/ivan)\
**Replies:** 0\
**Last updated:** [September 20, 2010, 2:04pm UTC](https://www.ruby-forum.com/t/d-d-d-d-d-n-n-d/195248 "2010-09-20T14:04:08Z")

</div>

ÅÓÔØ ÔÁËÁÑ ÛÔÕËÁ:ngx\_unescape\_uri. óÕÄÑ ÐÏ ÎÁÚ×ÁÎÉÀ - ÐÒÅÏÂÒÁÚÕÅÔ ÓÔÒÏËÕ ÉÚ “ÚÁÅÓËÅÊÐÌÅÎÎÏÊ” × ÎÏÒÍÁÌØÎÕÀ. ÅÓÌÉ ÐÏÄÁÔØ ÎÁ ×ÈÏÄ ÓÔÒÏÞËÕ %221111%22 ( ÁÎÁÌÏÇÉÞÎÏ “111”) - ÎÁ ×ÙÈÏÄÅ ÐÏÌÕÞÁÅÍ \\x22111\\x22 Ô Å ×ÉÄÉÍÏ ÔÁÍ ÎÅ Ð…

---

## [Nginx cutting off ajax responses](https://www.ruby-forum.com/t/nginx-cutting-off-ajax-responses/195240)

<div class="topic-metadata">

**Author:** [@alexk](https://www.ruby-forum.com/u/alexk)\
**Replies:** 1\
**Last updated:** [September 20, 2010, 1:21pm UTC](https://www.ruby-forum.com/t/nginx-cutting-off-ajax-responses/195240 "2010-09-20T13:21:24Z")

</div>

Hi, I have nginx as proxy to apache. Sometimes AJAX responses are cutting off. And it mostly appears in Safari. In FF it appears rarely. In error.log I found this record. Not sure what does it mean though: 2010/09/20…

---

## [Nginx mod\_strip -- nothing](https://www.ruby-forum.com/t/nginx-mod-strip-nothing/195238)

<div class="topic-metadata">

**Author:** [@mat\_h](https://www.ruby-forum.com/u/mat_h)\
**Replies:** 0\
**Last updated:** [September 20, 2010, 12:43pm UTC](https://www.ruby-forum.com/t/nginx-mod-strip-nothing/195238 "2010-09-20T12:43:56Z")

</div>

Ok i decided to try mod\_strip on my production server today. Unfortunately when activated it does nothing. url: http://www.nexusddl.com/ Config: server { listen 94.102.60.29:80; server\_name www.nexusddl.com; locat…

---

## [Problem in downloading large file(1.1GB) using xsendfile.so](https://www.ruby-forum.com/t/problem-in-downloading-large-file-1-1gb-using-xsendfile-so/197150)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 0\
**Last updated:** [September 20, 2010, 12:21pm UTC](https://www.ruby-forum.com/t/problem-in-downloading-large-file-1-1gb-using-xsendfile-so/197150 "2010-09-20T12:21:09Z")

</div>

Hi all, I am Running Apache as frontend server to mongrel and uploaded 1.1 Gb of file using my rails application .Now I am trying to download same 1.1 GB stream ,for that i loaded mod\_xsendfile.so in apache httpd.conf…

---

## [How to proxy the website on iis6 with gzip?](https://www.ruby-forum.com/t/how-to-proxy-the-website-on-iis6-with-gzip/195073)

<div class="topic-metadata">

**Author:** [@aaron](https://www.ruby-forum.com/u/aaron)\
**Replies:** 2\
**Last updated:** [September 19, 2010, 3:06am UTC](https://www.ruby-forum.com/t/how-to-proxy-the-website-on-iis6-with-gzip/195073 "2010-09-19T03:06:29Z")

</div>

i have tried many configs, it says error 330, thank you ! Posted at Nginx Forum:

---

## [Rewrite problem](https://www.ruby-forum.com/t/rewrite-problem/195093)

<div class="topic-metadata">

**Author:** [@st1905](https://www.ruby-forum.com/u/st1905)\
**Replies:** 5\
**Last updated:** [September 18, 2010, 6:56pm UTC](https://www.ruby-forum.com/t/rewrite-problem/195093 "2010-09-18T18:56:35Z")

</div>

Hello, location ~ /admin/ Above matches every admin folder on the domain but i just want to match “/admin” on the url like http://domain.com/admin Tried this location = /admin/ But that did not work. I\`m suing this …

---

## [Conditionally disable keepalives](https://www.ruby-forum.com/t/conditionally-disable-keepalives/195152)

<div class="topic-metadata">

**Author:** [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Replies:** 6\
**Last updated:** [September 17, 2010, 9:11pm UTC](https://www.ruby-forum.com/t/conditionally-disable-keepalives/195152 "2010-09-17T21:11:26Z")

</div>

Is it possible to conditionally disable keep-alives via some sort of configuration? I have a customer with a buggy proxy that they cannot fix short-term, but I do not want to disable keepalives entirely for every user…

---

## [Caching front page depending on cookie](https://www.ruby-forum.com/t/caching-front-page-depending-on-cookie/195141)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 3\
**Last updated:** [September 17, 2010, 4:19pm UTC](https://www.ruby-forum.com/t/caching-front-page-depending-on-cookie/195141 "2010-09-17T16:19:18Z")

</div>

If a user is not logged in, the front page is exactly the same. I asked a question a while back and it worked for my scenario then: http://www.ruby-forum.com/topic/210602 That was when I had nginx on the front and apa…

---

## [Invalid content-Length ERROR while uploading 2 GB of stream](https://www.ruby-forum.com/t/invalid-content-length-error-while-uploading-2-gb-of-stream/195133)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 1:41pm UTC](https://www.ruby-forum.com/t/invalid-content-length-error-while-uploading-2-gb-of-stream/195133 "2010-09-17T13:41:43Z")

</div>

Hi all, When Trying to upload 2GB of stream i got invalid content length error am running Apache as frontend server to mongrel and chrome as my browser. One more thing one i do it with mongrel alone am able to uploa…

---

## [Increment value](https://www.ruby-forum.com/t/increment-value/194987)

<div class="topic-metadata">

**Author:** [@ivan](https://www.ruby-forum.com/u/ivan)\
**Replies:** 1\
**Last updated:** [September 17, 2010, 9:26am UTC](https://www.ruby-forum.com/t/increment-value/194987 "2010-09-17T09:26:33Z")

</div>

I want to use the following scheme: /foo if ( !get key ) { create key value 1 } key value++ it’s possible ?

---

## [Wordpress/vBulletin/VBSEO rewrites](https://www.ruby-forum.com/t/wordpress-vbulletin-vbseo-rewrites/195110)

<div class="topic-metadata">

**Author:** [@bradleyw](https://www.ruby-forum.com/u/bradleyw)\
**Replies:** 1\
**Last updated:** [September 17, 2010, 7:11am UTC](https://www.ruby-forum.com/t/wordpress-vbulletin-vbseo-rewrites/195110 "2010-09-17T07:11:56Z")

</div>

Hey guys, Ok currently I have a blog and forum set up in this structure: www.site.com \> blog (Wordpress) Custom Application Development Software for Business - Salesforce.com \> forums (vBulletin) However I wanted to …

---

## [Problem with double slashes in URL when using nginx as proxy](https://www.ruby-forum.com/t/problem-with-double-slashes-in-url-when-using-nginx-as-proxy/192273)

<div class="topic-metadata">

**Author:** [@alexk](https://www.ruby-forum.com/u/alexk)\
**Replies:** 6\
**Last updated:** [September 17, 2010, 1:03am UTC](https://www.ruby-forum.com/t/problem-with-double-slashes-in-url-when-using-nginx-as-proxy/192273 "2010-09-17T01:03:09Z")

</div>

Hi all, I have web server where nginx is using as proxy for PHP scripts and web server for static files. I use the following configuration: server { listen 80; server\_name .com; access\_log /var/log/nginx/.com.acces…

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

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