# Server

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

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

---

## [Executing a background script from embedded perl](https://www.ruby-forum.com/t/executing-a-background-script-from-embedded-perl/148282)

<div class="topic-metadata">

**Author:** [@Kingsley\_F](https://www.ruby-forum.com/u/Kingsley_F)\
**Replies:** 11\
**Last updated:** [September 11, 2008, 6:18pm UTC](https://www.ruby-forum.com/t/executing-a-background-script-from-embedded-perl/148282 "2008-09-11T18:18:11Z")

</div>

Hi guys just wondering if you could run exec(“sleep 200 &”) in an embedded perl script and let nginx keep doing its thing. Obviously sleep is just an example however i don’t appear to be able to run a program in t…

---

## [Subversion behind nginx](https://www.ruby-forum.com/t/subversion-behind-nginx/148259)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 2:09am UTC](https://www.ruby-forum.com/t/subversion-behind-nginx/148259 "2008-09-11T02:09:41Z")

</div>

Hey Guys, Anyone have success configuring access to a subversion repository behind nginx? I thought the following snippet would forward subversion calls to the svn server… but I keep getting “…502 Bad Gateway…” Any …

---

## [Proxy\_set\_header not effetive in http scope?](https://www.ruby-forum.com/t/proxy-set-header-not-effetive-in-http-scope/148198)

<div class="topic-metadata">

**Author:** [@Delta\_Y](https://www.ruby-forum.com/u/Delta_Y)\
**Replies:** 5\
**Last updated:** [September 10, 2008, 8:01pm UTC](https://www.ruby-forum.com/t/proxy-set-header-not-effetive-in-http-scope/148198 "2008-09-10T20:01:44Z")

</div>

Hi, I test “proxy\_set\_header User-Agent test-ua;” and found it’s not effective in http scope but in server scope . The same as “proxy\_set\_header Accept-Encoding identity;” . Is it a bug ? BR, DeltaY

---

## [SSL unexpected message w/ ff3b5 client](https://www.ruby-forum.com/t/ssl-unexpected-message-w-ff3b5-client/135212)

<div class="topic-metadata">

**Author:** [@Allen\_SChipSS\_Parke](https://www.ruby-forum.com/u/Allen_SChipSS_Parke)\
**Replies:** 3\
**Last updated:** [September 10, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/ssl-unexpected-message-w-ff3b5-client/135212 "2008-09-10T14:31:08Z")

</div>

2008/04/19 06:12:13 \[info\] 32463#0: \*5250 SSL\_do\_handshake() failed (SSL: error:140943F2:SSL routines:SSL3\_READ\_BYTES:sslv3 alert unexpected message) while reading client request line, (client and server redacted) An…

---

## [Wishlist : Handle xattr, and use it for proxy caching](https://www.ruby-forum.com/t/wishlist-handle-xattr-and-use-it-for-proxy-caching/148176)

<div class="topic-metadata">

**Author:** [@Maxime\_Cd](https://www.ruby-forum.com/u/Maxime_Cd)\
**Replies:** 0\
**Last updated:** [September 10, 2008, 3:16am UTC](https://www.ruby-forum.com/t/wishlist-handle-xattr-and-use-it-for-proxy-caching/148176 "2008-09-10T03:16:01Z")

</div>

Hello, I was dreaming of an implementation of xattr in nginx. We can determine the MIME type for a file this way ( CommonExtendedAttributes ). lighttpd ( http://trac.lighttpd.net/trac/wiki/mimetype.use-xattrDetails )…

---

## [Some questions about the upload module](https://www.ruby-forum.com/t/some-questions-about-the-upload-module/148130)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 13\
**Last updated:** [September 9, 2008, 9:55pm UTC](https://www.ruby-forum.com/t/some-questions-about-the-upload-module/148130 "2008-09-09T21:55:10Z")

</div>

Hi. Since I’m writing a multipart form data parser for my WSGI framework: http://hg.mperillo.ath.cx/wsgix/ I would like to ask a few questions about the upload module. There is some external documentation for the m…

---

## [HTTP PUT for file uploads](https://www.ruby-forum.com/t/http-put-for-file-uploads/144674)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 28\
**Last updated:** [September 9, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/http-put-for-file-uploads/144674 "2008-09-09T21:48:41Z")

</div>

It appears that nginx has built-in support for the PUT method. My company needs a file upload solution that will support large file uploads (2GB limit is optional - if we have to tell them less than 2GB that’s fine) t…

---

## [VBulletin rewrite rules](https://www.ruby-forum.com/t/vbulletin-rewrite-rules/148132)

<div class="topic-metadata">

**Author:** [@Anoop\_A](https://www.ruby-forum.com/u/Anoop_A)\
**Replies:** 0\
**Last updated:** [September 9, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/vbulletin-rewrite-rules/148132 "2008-09-09T17:54:10Z")

</div>

Hi, I have the following rewrite rules in my vbulleting forums .htaccess file (previously it was hosted at a apache web server and was working fine ) ==================== RewriteEngine on RewriteRule ^(\[a-z0-9\_-\]-(…

---

## [Mod\_parsed\_vars question](https://www.ruby-forum.com/t/mod-parsed-vars-question/148088)

<div class="topic-metadata">

**Author:** [@ryo\_sato](https://www.ruby-forum.com/u/ryo_sato)\
**Replies:** 4\
**Last updated:** [September 9, 2008, 5:52pm UTC](https://www.ruby-forum.com/t/mod-parsed-vars-question/148088 "2008-09-09T17:52:24Z")

</div>

Hi. I want to balance with URLSessionID like ^^^^^^^^^^^^^^^^ So, I recompiled nginx-0.6.31 with mod\_parsed\_vars and nginx\_upstream\_hash. But,it doesn’t work correctly. By the case,Japanese mobile phone doesn’t ac…

---

## [Nginx, proxy and gd](https://www.ruby-forum.com/t/nginx-proxy-and-gd/148131)

<div class="topic-metadata">

**Author:** [@Walter\_Cruz](https://www.ruby-forum.com/u/Walter_Cruz)\
**Replies:** 0\
**Last updated:** [September 9, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/nginx-proxy-and-gd/148131 "2008-09-09T17:31:49Z")

</div>

Hi all! A little question. I have nginx as a proxy to my apache server. In my blog system, if I upload a image, a thumbnail is created (using lib gd, php5). If I access my apache though nginx, the thumbnail is not cre…

---

## [How to use mod\_zip of nginx](https://www.ruby-forum.com/t/how-to-use-mod-zip-of-nginx/148086)

<div class="topic-metadata">

**Author:** [@btaccel\_btaccel](https://www.ruby-forum.com/u/btaccel_btaccel)\
**Replies:** 0\
**Last updated:** [September 9, 2008, 5:10am UTC](https://www.ruby-forum.com/t/how-to-use-mod-zip-of-nginx/148086 "2008-09-09T05:10:47Z")

</div>

The syntax is a space-separated list of the file checksum (CRC-32), size (in bytes), location (properly URL-encoded), and file name. The file location corresponds to a location in your nginx.conf; 428 /foo.txt M…

---

## [HTTP Client FIN-ACK](https://www.ruby-forum.com/t/http-client-fin-ack/147976)

<div class="topic-metadata">

**Author:** [@Ray\_Racine](https://www.ruby-forum.com/u/Ray_Racine)\
**Replies:** 2\
**Last updated:** [September 9, 2008, 2:11am UTC](https://www.ruby-forum.com/t/http-client-fin-ack/147976 "2008-09-09T02:11:10Z")

</div>

NOT sure this is a nginx problem, but I thought I’d pass it along. I have a small custom Scheme HTTP library that uses its FFI to call Linux socket APIs. In other words, its a home brew implementation. I have used …

---

## [Proxy and 301 codes](https://www.ruby-forum.com/t/proxy-and-301-codes/148070)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 8, 2008, 11:35pm UTC](https://www.ruby-forum.com/t/proxy-and-301-codes/148070 "2008-09-08T23:35:27Z")

</div>

I am using nginx as front-end with apache as backend for (for mod\_php) If I have a 301 redirect on a page that is proxied to apached, i do not get redirected but rather see a page that says Moved Permanently The doc…

---

## [504 Gateway Time-out during POST](https://www.ruby-forum.com/t/504-gateway-time-out-during-post/147964)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 39\
**Last updated:** [September 8, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/504-gateway-time-out-during-post/147964 "2008-09-08T22:43:41Z")

</div>

Hello, I seem to be getting a lot of 504 Gateway Time-out’s specifically when posting forms. A sample form would be 2 textboxes and a textarea each with the word test in. This would cause the error to come up. Any…

---

## [Nginx-0.7.15](https://www.ruby-forum.com/t/nginx-0-7-15/148018)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 5\
**Last updated:** [September 8, 2008, 9:49pm UTC](https://www.ruby-forum.com/t/nginx-0-7-15/148018 "2008-09-08T21:49:25Z")

</div>

Changes with nginx 0.7.15 08 Sep 2008 \*) Feature: the ngx\_http\_random\_index\_module. \*) Feature: the "directio" directive has been optimized for file requests starting from arb…

---

## [ANNOUNCE: Nginx 0.7.16 for Windows](https://www.ruby-forum.com/t/announce-nginx-0-7-16-for-windows/148031)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [September 8, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/announce-nginx-0-7-16-for-windows/148031 "2008-09-08T14:31:19Z")

</div>

Hello Nginx’ers, I just built, tested, and released Nginx 0.7.16 for Windows. Please try it out and tell me what you think. Announcement/Blog Post: http://www.kevinworthington.com/2008/09/08/announcing-nginx-0716-for…

---

## [Nginx-0.7.16](https://www.ruby-forum.com/t/nginx-0-7-16/148022)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [September 8, 2008, 11:53am UTC](https://www.ruby-forum.com/t/nginx-0-7-16/148022 "2008-09-08T11:53:30Z")

</div>

Changes with nginx 0.7.16 08 Sep 2008 \*) Bugfix: nginx could not be built on 64-bit platforms; the bug had appeared in 0.7.15.

---

## [Difference between timeout/proxy\_timeout](https://www.ruby-forum.com/t/difference-between-timeout-proxy-timeout/148009)

<div class="topic-metadata">

**Author:** [@Mansoor\_P](https://www.ruby-forum.com/u/Mansoor_P)\
**Replies:** 2\
**Last updated:** [September 8, 2008, 11:47am UTC](https://www.ruby-forum.com/t/difference-between-timeout-proxy-timeout/148009 "2008-09-08T11:47:03Z")

</div>

hello, what’s the difference between timeout and proxy\_timeout directives for mail ? from the documentation, what i can tell is that timeout is the inactivity timer between downstream client and nginx whereas proxy\_…

---

## [Is it possible to use more options for sendfile64 from nginx](https://www.ruby-forum.com/t/is-it-possible-to-use-more-options-for-sendfile64-from-nginx/148014)

<div class="topic-metadata">

**Author:** [@btaccel\_btaccel](https://www.ruby-forum.com/u/btaccel_btaccel)\
**Replies:** 3\
**Last updated:** [September 8, 2008, 10:56am UTC](https://www.ruby-forum.com/t/is-it-possible-to-use-more-options-for-sendfile64-from-nginx/148014 "2008-09-08T10:56:35Z")

</div>

i only know a sendfile on/off. thanks

---

## [Reaper is not restarting mongrel with the latest release path? (but rather an earlier releases path](https://www.ruby-forum.com/t/reaper-is-not-restarting-mongrel-with-the-latest-release-path-but-rather-an-earlier-releases-path/147998)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 0\
**Last updated:** [September 8, 2008, 7:17am UTC](https://www.ruby-forum.com/t/reaper-is-not-restarting-mongrel-with-the-latest-release-path-but-rather-an-earlier-releases-path/147998 "2008-09-08T07:17:51Z")

</div>

Hi, I’ve tracked my “cap deploy” problems down to the fact that (at least with the unix user I’ve created for use with capistrano) when “script/process/reaper” is run, whilst it restarts the ruby process the resultin…

---

## [Proxy for POST update requests](https://www.ruby-forum.com/t/proxy-for-post-update-requests/147969)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 3\
**Last updated:** [September 8, 2008, 1:17am UTC](https://www.ruby-forum.com/t/proxy-for-post-update-requests/147969 "2008-09-08T01:17:34Z")

</div>

Well, I got this working and it’s pretty nice too. I just wanted to post a couple notes here in the hope they may help someone else who needs to do this. relevant config looks like this, location ~ .php$ { proxy\_set…

---

## [Loadbalancing is not well.. loadbalancing](https://www.ruby-forum.com/t/loadbalancing-is-not-well-loadbalancing/147975)

<div class="topic-metadata">

**Author:** [@james](https://www.ruby-forum.com/u/james)\
**Replies:** 2\
**Last updated:** [September 7, 2008, 11:01pm UTC](https://www.ruby-forum.com/t/loadbalancing-is-not-well-loadbalancing/147975 "2008-09-07T23:01:27Z")

</div>

Ok here’s my config slightly changed for security reasons. http { upstream sitemain { server 192.168.0.1:80; server 192.168.0.2:80; } server { listen 80; server\_name prod2.site.com; locatio…

---

## [Auth and PHP](https://www.ruby-forum.com/t/auth-and-php/147952)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 2\
**Last updated:** [September 7, 2008, 9:19pm UTC](https://www.ruby-forum.com/t/auth-and-php/147952 "2008-09-07T21:19:57Z")

</div>

Hello, I am having a hard time trying to password protect a directory containing PHP files. Whenever I access www.domain.com/forums/admin/ I get a 404 error. I have tried setting a fastcgi\_param SCRIPT\_FILENAME in …

---

## [Ngwsx is a port of the nginx on windows platform](https://www.ruby-forum.com/t/ngwsx-is-a-port-of-the-nginx-on-windows-platform/147932)

<div class="topic-metadata">

**Author:** [@ngwsx](https://www.ruby-forum.com/u/ngwsx)\
**Replies:** 12\
**Last updated:** [September 7, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/ngwsx-is-a-port-of-the-nginx-on-windows-platform/147932 "2008-09-07T17:46:58Z")

</div>

ngwsx is a port of the nginx on windows platform. The last development version is ngwsx-0.1.3, based on nginx-0.7.14. Installation package: ngwsx-0.1.3-bin.zip, ngwsx-0.1.3-bin.rar. Source package: ngwsx-0.1.3-src.zi…

---

## [Proxying POST method](https://www.ruby-forum.com/t/proxying-post-method/147956)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 0\
**Last updated:** [September 7, 2008, 4:08pm UTC](https://www.ruby-forum.com/t/proxying-post-method/147956 "2008-09-07T16:08:24Z")

</div>

I posted earlier (copy below). Has no one any experience with proxying only POST method? I’m getting an error that proxyPass is not allowed here - inside an if block. MY current code is: if ($request\_method = 'PO…

---

## [Re: TE\_ADDR in path\_info](https://www.ruby-forum.com/t/re-te-addr-in-path-info/147939)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 5\
**Last updated:** [September 7, 2008, 12:30pm UTC](https://www.ruby-forum.com/t/re-te-addr-in-path-info/147939 "2008-09-07T12:30:01Z")

</div>

On Fri, Sep 05, 2008 at 05:04:51PM +0200, Remo Laubacher wrote: Mostly this works fine but in some cases $\_SERVER\[‘PATH\_INFO’\] returns TE\_ADDR. Any ideas? I’m using nginx 0.6.32 on debian 4, so far without a single …

---

## [Problem with ssl](https://www.ruby-forum.com/t/problem-with-ssl/147919)

<div class="topic-metadata">

**Author:** [@james](https://www.ruby-forum.com/u/james)\
**Replies:** 3\
**Last updated:** [September 7, 2008, 7:48am UTC](https://www.ruby-forum.com/t/problem-with-ssl/147919 "2008-09-07T07:48:34Z")

</div>

Hi I am new to nginx. I am running Fedora Core 8 and have installed nginx from source. I am planning on using it for it’s load balancing ability. I have it set up and working for port 80 and it is working very nic…

---

## [Proxy for database updates](https://www.ruby-forum.com/t/proxy-for-database-updates/147931)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 0\
**Last updated:** [September 7, 2008, 6:30am UTC](https://www.ruby-forum.com/t/proxy-for-database-updates/147931 "2008-09-07T06:30:13Z")

</div>

Hello, I have two servers and want to confine database updates to one of them. My code is clean in the sense all updates happen through POST requests only. Is this the way to proxy or relay on the POST updates to the …

---

## [Problem starting mongrel in windows](https://www.ruby-forum.com/t/problem-starting-mongrel-in-windows/147848)

<div class="topic-metadata">

**Author:** [@suman\_gurungShotmai](https://www.ruby-forum.com/u/suman_gurungShotmai)\
**Replies:** 2\
**Last updated:** [September 7, 2008, 5:30am UTC](https://www.ruby-forum.com/t/problem-starting-mongrel-in-windows/147848 "2008-09-07T05:30:35Z")

</div>

Hi everybody, I was trying to get rails applications deployed in my pc(windows vista), and I had some problem trying to start mongrel web server, and I have no clue as to how and why it is not working. I have install…

---

## [Fastcgi debug and "no input file" cases](https://www.ruby-forum.com/t/fastcgi-debug-and-no-input-file-cases/147878)

<div class="topic-metadata">

**Author:** [@AnSSSSl\_SSSSSetin](https://www.ruby-forum.com/u/AnSSSSl_SSSSSetin)\
**Replies:** 5\
**Last updated:** [September 7, 2008, 1:37am UTC](https://www.ruby-forum.com/t/fastcgi-debug-and-no-input-file-cases/147878 "2008-09-07T01:37:15Z")

</div>

Hi there, I have two main problems about nginx(0.6.32)+fastcgi-php (4.4.9). I am spawning php with spawn-fcgi thing and chrooting. nginx and fastcgi processes are on different machines. PHP is not logging error nor …

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

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