# Server

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

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

---

## [Welcome to Nginx message](https://www.ruby-forum.com/t/welcome-to-nginx-message/154143)

<div class="topic-metadata">

**Author:** [@Swanilda\_Suarez](https://www.ruby-forum.com/u/Swanilda_Suarez)\
**Replies:** 5\
**Last updated:** [April 17, 2011, 2:24am UTC](https://www.ruby-forum.com/t/welcome-to-nginx-message/154143 "2011-04-17T02:24:53Z")

</div>

I have installed nginx, but I was wondering what do I need to do in order to be able to type the ip address and instead of getting the welcome screen, have my webpage come up. In other words every time I type xx.xx.…

---

## [Nginx 1.0.0 and Third Party Modules Install](https://www.ruby-forum.com/t/nginx-1-0-0-and-third-party-modules-install/205825)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 9\
**Last updated:** [April 17, 2011, 12:05am UTC](https://www.ruby-forum.com/t/nginx-1-0-0-and-third-party-modules-install/205825 "2011-04-17T00:05:27Z")

</div>

Hi EngineX Users, Our company is newbie at Nginx. We installed Nginx 1.0.0 our demo server with Spawn. We solved most of migration problem from Apache to Nginx. We couldn’t install third party modules on Nginx. We fol…

---

## [PHP Not Working](https://www.ruby-forum.com/t/php-not-working/205832)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 16, 2011, 9:33pm UTC](https://www.ruby-forum.com/t/php-not-working/205832 "2011-04-16T21:33:06Z")

</div>

Hey I am new :wink: Anyway I seem to be having a problem with PHP files. I get a 404 error on them on any other browser and a broken page on Chrome. I found a small log and here is the details from it 2011/04/16 15:…

---

## [Mailman Setup](https://www.ruby-forum.com/t/mailman-setup/205835)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [April 16, 2011, 8:36pm UTC](https://www.ruby-forum.com/t/mailman-setup/205835 "2011-04-16T20:36:20Z")

</div>

I am setting up another server, where I will be using a different setup for postfix. If I go with a setup like this: http://articles.slicehost.com/2008/9/2/mail-server-creating-the-mysql-databasewill mailman work wit…

---

## [Resource temporarily unavailable with css file](https://www.ruby-forum.com/t/resource-temporarily-unavailable-with-css-file/205720)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 16, 2011, 1:33pm UTC](https://www.ruby-forum.com/t/resource-temporarily-unavailable-with-css-file/205720 "2011-04-16T13:33:44Z")

</div>

hi, i used nginx 0.7.65 before, and i upgrade it to 1.0.0 yesterday, but after this update ,i got some strange error. i have a normal html web page call myHtml.html, it linked a css file called myCss.css. i open t…

---

## [Nginx living behind Amazon LoadBalancer reporting large number of 400 Bad Requests](https://www.ruby-forum.com/t/nginx-living-behind-amazon-loadbalancer-reporting-large-number-of-400-bad-requests/205792)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 16, 2011, 1:31pm UTC](https://www.ruby-forum.com/t/nginx-living-behind-amazon-loadbalancer-reporting-large-number-of-400-bad-requests/205792 "2011-04-16T13:31:16Z")

</div>

I have a set of Amazon EC2 servers living behind one of the Amazon elastic load balancers. For some reason one set is reporting a large number of 400 Bad Request messages that appear to originate with the load balanc…

---

## [How to get a value from upstream and redirect to another url according to the value?](https://www.ruby-forum.com/t/how-to-get-a-value-from-upstream-and-redirect-to-another-url-according-to-the-value/205819)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 16, 2011, 11:20am UTC](https://www.ruby-forum.com/t/how-to-get-a-value-from-upstream-and-redirect-to-another-url-according-to-the-value/205819 "2011-04-16T11:20:22Z")

</div>

hello i want to write a module , in this module i first get a value from the memcache upstream , then i will redirect the url according to the value i got? i know how to get a value from memcache upstream, but i don…

---

## [How to get a value from upstream and redirect to another url according to the value?](https://www.ruby-forum.com/t/how-to-get-a-value-from-upstream-and-redirect-to-another-url-according-to-the-value/205804)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 15, 2011, 8:57pm UTC](https://www.ruby-forum.com/t/how-to-get-a-value-from-upstream-and-redirect-to-another-url-according-to-the-value/205804 "2011-04-15T20:57:38Z")

</div>

hello i want to write a module , in this module i first get a value from the memcache upstream , then i will redirect the url according to the value i got? i know how to get a value from memcache upstream, but i d…

---

## [Location regex issue](https://www.ruby-forum.com/t/location-regex-issue/205776)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 9\
**Last updated:** [April 15, 2011, 1:24pm UTC](https://www.ruby-forum.com/t/location-regex-issue/205776 "2011-04-15T13:24:35Z")

</div>

Hi list, Facing a difficulty here, I have the following location config: location ~\* (^/browse/$) { And this seems to catch URls like /browse/?page=35 and similar. In my understanding the $ (end of line) symbol shou…

---

## [How to write a module to process http response message body?](https://www.ruby-forum.com/t/how-to-write-a-module-to-process-http-response-message-body/205768)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 15, 2011, 10:54am UTC](https://www.ruby-forum.com/t/how-to-write-a-module-to-process-http-response-message-body/205768 "2011-04-15T10:54:27Z")

</div>

I am a nginx development novice.Now i need to process the http response message body.For example , get all numbers in the response html,then every number times two and use new number instead of the original number. Do…

---

## [Scalability of upload module](https://www.ruby-forum.com/t/scalability-of-upload-module/205765)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 15, 2011, 6:26am UTC](https://www.ruby-forum.com/t/scalability-of-upload-module/205765 "2011-04-15T06:26:08Z")

</div>

hi all, i am posting file to nginx concurrently using nginx upload module . when i post 100 10mb files concurrently there is no problem .but when i increase no of connectoin concurrently there is problem . the p…

---

## [Problem with / location stanza](https://www.ruby-forum.com/t/problem-with-location-stanza/205712)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 15, 2011, 2:58am UTC](https://www.ruby-forum.com/t/problem-with-location-stanza/205712 "2011-04-15T02:58:22Z")

</div>

I’m trying to make it so that if I get a request to / on my host to any hostname that doesn’t start with ‘www’ it will check for a static page on the server, and if that doesn’t exist it goes back to my uwsgi process …

---

## [Off-domain redirect using X-Accel-Redirect](https://www.ruby-forum.com/t/off-domain-redirect-using-x-accel-redirect/205721)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 15, 2011, 2:50am UTC](https://www.ruby-forum.com/t/off-domain-redirect-using-x-accel-redirect/205721 "2011-04-15T02:50:20Z")

</div>

Hello, I’d like for my application to send a 302 redirect (or equivalent) to an off-domain location (not my server). X-Accel-Redirect appears to be the best way to achieve this, but I don’t see any reference to the U…

---

## [Configuration assistance with http redirect to a file share](https://www.ruby-forum.com/t/configuration-assistance-with-http-redirect-to-a-file-share/205750)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [April 14, 2011, 9:43pm UTC](https://www.ruby-forum.com/t/configuration-assistance-with-http-redirect-to-a-file-share/205750 "2011-04-14T21:43:18Z")

</div>

Hi, I have an application that makes download requests to the microsoft website for patches from time via http. What i’d like to accomplish is for the application’s requests for patches to be redirected to a file sh…

---

## [MNPP - Mac + Nginx + Percona + PHP](https://www.ruby-forum.com/t/mnpp-mac-nginx-percona-php/205746)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [April 14, 2011, 8:31pm UTC](https://www.ruby-forum.com/t/mnpp-mac-nginx-percona-php/205746 "2011-04-14T20:31:38Z")

</div>

A high performance web server in a one-click installer - http://getmnpp.org/ Posted at Nginx Forum:

---

## [Missing Content-Length in nginx response](https://www.ruby-forum.com/t/missing-content-length-in-nginx-response/205725)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 14, 2011, 12:29pm UTC](https://www.ruby-forum.com/t/missing-content-length-in-nginx-response/205725 "2011-04-14T12:29:22Z")

</div>

Hello, I have problems in a transition from Apache to nginx. There are 2 nginx servers working together: nginx (balancing, proxy) → another nginx → static files and php-fpm Pages that are loaded through ajax doesn’t …

---

## [Mimic nginx proxy\_pass in fcgi](https://www.ruby-forum.com/t/mimic-nginx-proxy-pass-in-fcgi/205724)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 14, 2011, 9:54am UTC](https://www.ruby-forum.com/t/mimic-nginx-proxy-pass-in-fcgi/205724 "2011-04-14T09:54:12Z")

</div>

In my scenario, the rules are complex enough that I have to hand off to fcgi from nginx. I use proxy\_pass to hand off to fcgi where the actual redirection happens based on some complex conditions. But instead of using…

---

## [RewriteCond transformation again](https://www.ruby-forum.com/t/rewritecond-transformation-again/205713)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 14, 2011, 3:40am UTC](https://www.ruby-forum.com/t/rewritecond-transformation-again/205713 "2011-04-14T03:40:59Z")

</div>

Hello, I inherited this piece of htaccess: \> RewriteEngine On \> RewriteBase / \> \> RewriteCond %{REQUEST\_FILENAME} !-d \> RewriteCond %{REQUEST\_FILENAME} !-f \> RewriteRule ^(.\*)$ index.php \[QSA,L\] \> \> A…

---

## [Nginx-1.0.0](https://www.ruby-forum.com/t/nginx-1-0-0/205653)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 23\
**Last updated:** [April 13, 2011, 6:49pm UTC](https://www.ruby-forum.com/t/nginx-1-0-0/205653 "2011-04-13T18:49:34Z")

</div>

Changes with nginx 1.0.0 12 Apr 2011 \*) Bugfix: a cache manager might hog CPU after reload. Thanks to Maxim D.. \*) Bugfix: an "image\_filter crop" directive worked incorrectly…

---

## [Help for understan access.log](https://www.ruby-forum.com/t/help-for-understan-access-log/205553)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 13, 2011, 6:44pm UTC](https://www.ruby-forum.com/t/help-for-understan-access-log/205553 "2011-04-13T18:44:01Z")

</div>

In my access.log I found this lines: 109.230.220.33 - - \[02/Apr/2011:00:42:07 +0400\] “GET http://movies.yahoo.com// HTTP/1.0” 200 151 “-” “-” 95.132.30.204 - - \[03/Apr/2011:02:06:24 +0400\] “GET http://www.google.com/ …

---

## [Reverse proxying video streaming](https://www.ruby-forum.com/t/reverse-proxying-video-streaming/205693)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 13, 2011, 2:19pm UTC](https://www.ruby-forum.com/t/reverse-proxying-video-streaming/205693 "2011-04-13T14:19:55Z")

</div>

hi, i’ve successfully reverse proxying streaming content through nginx. this is my config location /stream/ { proxy\_pass http://xxx.xxx.xxx.xxx:8080/stream.flv; proxy\_redirect off; …

---

## [Aborted file upload](https://www.ruby-forum.com/t/aborted-file-upload/205686)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 13, 2011, 1:46pm UTC](https://www.ruby-forum.com/t/aborted-file-upload/205686 "2011-04-13T13:46:28Z")

</div>

hi all, i am using nginx to upload files via upload module. i am using java client to post data . when i upload file it is uploaded successfully but it is deleted automatically . when i see the log it is showing a…

---

## [Nginx-1.0.0 for Windows 32-bit and 64-bit now available](https://www.ruby-forum.com/t/nginx-1-0-0-for-windows-32-bit-and-64-bit-now-available/205660)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 12, 2011, 5:37pm UTC](https://www.ruby-forum.com/t/nginx-1-0-0-for-windows-32-bit-and-64-bit-now-available/205660 "2011-04-12T17:37:22Z")

</div>

For those interested, Cygwin based versions of Nginx for Windows (both 32-bit and 64-bit) builds are available here: Cygwin is NOT required on your system to run this version; all needed files are included. Thank y…

---

## [Please convert this mod rewrite rule](https://www.ruby-forum.com/t/please-convert-this-mod-rewrite-rule/205638)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 12, 2011, 8:20am UTC](https://www.ruby-forum.com/t/please-convert-this-mod-rewrite-rule/205638 "2011-04-12T08:20:02Z")

</div>

Hi, # Tell PHP that the mod\_rewrite module is ENABLED. SetEnv HTTP\_MOD\_REWRITE On Options +FollowSymLinks RewriteEngine on RewriteRule test-(.).htm$ inc/tesmodrewite.php?q=test\_$1 RewriteRule test2-(.).htm$ /inc/te…

---

## [Satisfy problem](https://www.ruby-forum.com/t/satisfy-problem/205495)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 14\
**Last updated:** [April 12, 2011, 4:30am UTC](https://www.ruby-forum.com/t/satisfy-problem/205495 "2011-04-12T04:30:03Z")

</div>

in 0.9.7 use: location ^~ /ks/admin { satisfy any; allow 10.68.136.241/32; allow 10.66.23.80/32; deny all; auth\_basic "passwd"; auth\_basic…

---

## [Upstream with fastcgi\_pass](https://www.ruby-forum.com/t/upstream-with-fastcgi-pass/204679)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 10\
**Last updated:** [April 11, 2011, 10:46pm UTC](https://www.ruby-forum.com/t/upstream-with-fastcgi-pass/204679 "2011-04-11T22:46:28Z")

</div>

I have a problem when use upstream,my config is like this(nginx version:0.8.54): upstream www.a.com { server 10.249.200.76:9000; server 10.249.200.76:9001; } server{ ..... location ~ \\.php$ …

---

## [Proxy\_cache incomplete file?](https://www.ruby-forum.com/t/proxy-cache-incomplete-file/205633)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 11, 2011, 9:57pm UTC](https://www.ruby-forum.com/t/proxy-cache-incomplete-file/205633 "2011-04-11T21:57:43Z")

</div>

Hi Guys, please observe the following… wget -S http://blah.com/j%2FoRjj0RRdJu3IWYoBIbgtIiI%2FoV%2Fvtl%2BxzcX1Km0OCZbxBDJDtqb8afEWpOaizmrTv9MWUPyjqNlFbVyezfJaP%2FzIv0M5yFt0IrKWjMTW1x5r1RHLObU2ylE3EhjZssc19qxfAer6RL7W7Hh…

---

## [PHP + FPM with error pages](https://www.ruby-forum.com/t/php-fpm-with-error-pages/205506)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [April 11, 2011, 6:49pm UTC](https://www.ruby-forum.com/t/php-fpm-with-error-pages/205506 "2011-04-11T18:49:20Z")

</div>

I know that this question has been asked before but I can’t seem to fix my error pages. I am currently working on a website is on a vhost (not that I could get a non-vhost php error message working). Any page or folde…

---

## [Cache manager](https://www.ruby-forum.com/t/cache-manager/205593)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 11, 2011, 8:24am UTC](https://www.ruby-forum.com/t/cache-manager/205593 "2011-04-11T08:24:06Z")

</div>

Hi I have the line in my config like this… proxy\_cache\_path /var/cache/disk1/nginx\_proxy\_cache levels=2:2:2 keys\_zone=disk1:500m inactive=36h max\_size=95000m; This regularly finds its way over 100GB… anything more …

---

## [Value of "Expires" header differ for caching and content serving servers](https://www.ruby-forum.com/t/value-of-expires-header-differ-for-caching-and-content-serving-servers/205430)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [April 11, 2011, 7:37am UTC](https://www.ruby-forum.com/t/value-of-expires-header-differ-for-caching-and-content-serving-servers/205430 "2011-04-11T07:37:50Z")

</div>

I have a following servers structure: content.server contains an Apache instance, which processes one simple PHP script. On the same node Nginx is set as a caching proxy to that Apache. caching.server contains Nginx …

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

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