# Server

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

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

---

## [Basic auth not working 100%](https://www.ruby-forum.com/t/basic-auth-not-working-100/186479)

<div class="topic-metadata">

**Author:** [@AMP\_Admin](https://www.ruby-forum.com/u/AMP_Admin)\
**Replies:** 3\
**Last updated:** [April 11, 2010, 11:52am UTC](https://www.ruby-forum.com/t/basic-auth-not-working-100/186479 "2010-04-11T11:52:19Z")

</div>

On one of my boxes I noticed that if the password is only half the string it will authenticate. Should be: Username: tester Pass: ThisPassword1234#&^ But the following authenticates: Username: tester Pass: ThisPa…

---

## [Re: NginX problem with Reverse Proxy'ing](https://www.ruby-forum.com/t/re-nginx-problem-with-reverse-proxying/197036)

<div class="topic-metadata">

**Author:** [@Victor\_Fondevilla](https://www.ruby-forum.com/u/Victor_Fondevilla)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 8:28am UTC](https://www.ruby-forum.com/t/re-nginx-problem-with-reverse-proxying/197036 "2010-04-11T08:28:05Z")

</div>

The PHP file is only this: \<?php phpinfo(); ?\> Just for testing the proxy.

---

## [Error\_log levels](https://www.ruby-forum.com/t/error-log-levels/186578)

<div class="topic-metadata">

**Author:** [@flash](https://www.ruby-forum.com/u/flash)\
**Replies:** 4\
**Last updated:** [April 11, 2010, 4:22am UTC](https://www.ruby-forum.com/t/error-log-levels/186578 "2010-04-11T04:22:12Z")

</div>

I’m getting a lot of entries in my error\_log from memcache throwing a 404 and sending the request to the back end. 2010/04/08 21:07:50 29914#0: \*3207 pcre\_exec() failed: -8 on “example.com” using “” while sending to …

---

## [Re: NginX problem with Reverse Proxy'ing](https://www.ruby-forum.com/t/re-nginx-problem-with-reverse-proxying/186659)

<div class="topic-metadata">

**Author:** [@Victor\_Fondevilla](https://www.ruby-forum.com/u/Victor_Fondevilla)\
**Replies:** 0\
**Last updated:** [April 10, 2010, 9:17pm UTC](https://www.ruby-forum.com/t/re-nginx-problem-with-reverse-proxying/186659 "2010-04-10T21:17:12Z")

</div>

The PHP file is only this: \<?php phpinfo(); ?\> Just for testing the proxy.

---

## [Reported upload issues with website](https://www.ruby-forum.com/t/reported-upload-issues-with-website/186641)

<div class="topic-metadata">

**Author:** [@Blake\_Scrivner](https://www.ruby-forum.com/u/Blake_Scrivner)\
**Replies:** 1\
**Last updated:** [April 10, 2010, 8:55pm UTC](https://www.ruby-forum.com/t/reported-upload-issues-with-website/186641 "2010-04-10T20:55:32Z")

</div>

Hello All, We are running our site on a RHEL server. Nginx is setup to proxy traffic to Tomcat. We are hearing reports from some users of issues uploading files. These issues are sporadically happening and it soun…

---

## [NginX problem with Reverse Proxy'ing](https://www.ruby-forum.com/t/nginx-problem-with-reverse-proxying/186654)

<div class="topic-metadata">

**Author:** [@victor](https://www.ruby-forum.com/u/victor)\
**Replies:** 1\
**Last updated:** [April 10, 2010, 8:05pm UTC](https://www.ruby-forum.com/t/nginx-problem-with-reverse-proxying/186654 "2010-04-10T20:05:47Z")

</div>

Hi, I have a little problem that’s driving me crazy since 4 days. I’m trying to create a server with NginX (0.8.35) serving static content (PDF files mainly) as frontend and Apache2 as backend processing the PHP files…

---

## [Serve satic media for Django + Apche (mod\_wsgi)](https://www.ruby-forum.com/t/serve-satic-media-for-django-apche-mod-wsgi/186657)

<div class="topic-metadata">

**Author:** [@RockyEx](https://www.ruby-forum.com/u/RockyEx)\
**Replies:** 0\
**Last updated:** [April 10, 2010, 7:16pm UTC](https://www.ruby-forum.com/t/serve-satic-media-for-django-apche-mod-wsgi/186657 "2010-04-10T19:16:37Z")

</div>

I’m trying to serve my static media for a Django application that is hosted on Apache 2.2, I’m totally new to nginx and have some issues of doing it, here’s my nginx.conf server { listen 8888; server\_name sta…

---

## [Nginx eval with memc set command very slowly](https://www.ruby-forum.com/t/nginx-eval-with-memc-set-command-very-slowly/184764)

<div class="topic-metadata">

**Author:** [@yaoxinming](https://www.ruby-forum.com/u/yaoxinming)\
**Replies:** 5\
**Last updated:** [April 10, 2010, 4:41pm UTC](https://www.ruby-forum.com/t/nginx-eval-with-memc-set-command-very-slowly/184764 "2010-04-10T16:41:29Z")

</div>

when use eval with memc set(all dev by agentzh ) ,I feel the response is very slowly,but get is very quickly,below is the configue location /myset { eval &var1{ set $memc\_cmd ‘set’; set $memc\_key ‘test1’; set $me…

---

## [How best to secure admin directory?](https://www.ruby-forum.com/t/how-best-to-secure-admin-directory/186576)

<div class="topic-metadata">

**Author:** [@leonardocg](https://www.ruby-forum.com/u/leonardocg)\
**Replies:** 2\
**Last updated:** [April 9, 2010, 5:21am UTC](https://www.ruby-forum.com/t/how-best-to-secure-admin-directory/186576 "2010-04-09T05:21:12Z")

</div>

Morning guys! Can anyone help with best practice to secure an /portal/admin directory? A link to documentation will do just fine. Our website has and /admin directory which don’t want to be accessible via www.domain.…

---

## [$request\_body do not work](https://www.ruby-forum.com/t/request-body-do-not-work/186577)

<div class="topic-metadata">

**Author:** [@pf\_shineyear](https://www.ruby-forum.com/u/pf_shineyear)\
**Replies:** 0\
**Last updated:** [April 9, 2010, 4:07am UTC](https://www.ruby-forum.com/t/request-body-do-not-work/186577 "2010-04-09T04:07:27Z")

</div>

i use $request\_body to log the post data from client, but it does not work , who can tell me why?

---

## [Why my NginxStatus do not work?](https://www.ruby-forum.com/t/why-my-nginxstatus-do-not-work/186529)

<div class="topic-metadata">

**Author:** [@ultrawind](https://www.ruby-forum.com/u/ultrawind)\
**Replies:** 3\
**Last updated:** [April 9, 2010, 3:25am UTC](https://www.ruby-forum.com/t/why-my-nginxstatus-do-not-work/186529 "2010-04-09T03:25:52Z")

</div>

I had add “–with-http\_stub\_status\_module” when I configure the Nginx. I run “/usr/local/nginx/sbin/nginx -t”, and the test is successful. My nginx.conf: user daemon; worker\_processes 1; events { worker\_con…

---

## [Mime types helps](https://www.ruby-forum.com/t/mime-types-helps/186514)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 1\
**Last updated:** [April 8, 2010, 11:07pm UTC](https://www.ruby-forum.com/t/mime-types-helps/186514 "2010-04-08T23:07:42Z")

</div>

Hi there, I have a file for blackberry application called name.cod However i can’t downlad it from my phone with error Unsupported media type: application/octet-stream Does anybody knows how to fix it?

---

## [Help translating Apache RewriteRules](https://www.ruby-forum.com/t/help-translating-apache-rewriterules/186442)

<div class="topic-metadata">

**Author:** [@Chris\_Cortese](https://www.ruby-forum.com/u/Chris_Cortese)\
**Replies:** 9\
**Last updated:** [April 8, 2010, 8:20pm UTC](https://www.ruby-forum.com/t/help-translating-apache-rewriterules/186442 "2010-04-08T20:20:15Z")

</div>

Hello, I’ve been using nginx for 1.5 years now with about 10 or so CodeIgniter sites, but apparently I still haven’t mastered the rewrite stuff. With the CodeIgniter stuff (and Igor’s help), I never had to use the “r…

---

## [Please help for iTranslator rewrite rules](https://www.ruby-forum.com/t/please-help-for-itranslator-rewrite-rules/186530)

<div class="topic-metadata">

**Author:** [@rahulbenegal](https://www.ruby-forum.com/u/rahulbenegal)\
**Replies:** 0\
**Last updated:** [April 8, 2010, 1:38pm UTC](https://www.ruby-forum.com/t/please-help-for-itranslator-rewrite-rules/186530 "2010-04-08T13:38:34Z")

</div>

I am having tough time migrating following rewrite rule over nginx. RewriteRule ^trans/(.+?)/(.\*?)$ wp-content/plugins/best-seo-itranslator-for-wordpress/translonator.php?act=doTranslatePage&lang=$1&dir=$2 \[NC,L\] Can…

---

## [${uri}index.php causing error](https://www.ruby-forum.com/t/uri-index-php-causing-error/186497)

<div class="topic-metadata">

**Author:** [@leonardocg](https://www.ruby-forum.com/u/leonardocg)\
**Replies:** 5\
**Last updated:** [April 8, 2010, 1:37pm UTC](https://www.ruby-forum.com/t/uri-index-php-causing-error/186497 "2010-04-08T13:37:24Z")

</div>

Morning! I’ve searched the wiki for this issue and I wasn’t able to solve it, can anyone help? I’m assuming nginx is getting lost with the {} on ${uri}… This line try\_files $uri.php ${uri}index.php =404; Is givin…

---

## [Gzip\_static, enabling without recompiling](https://www.ruby-forum.com/t/gzip-static-enabling-without-recompiling/186515)

<div class="topic-metadata">

**Author:** [@leonardocg](https://www.ruby-forum.com/u/leonardocg)\
**Replies:** 2\
**Last updated:** [April 8, 2010, 9:02am UTC](https://www.ruby-forum.com/t/gzip-static-enabling-without-recompiling/186515 "2010-04-08T09:02:13Z")

</div>

Is there a way to enable gzip\_static without having to recompile with ./configure --with-http\_gzip\_static\_module ? Cheers Leo

---

## [Nginx\_tcp\_proxy\_module - support TCP proxy with Nginx](https://www.ruby-forum.com/t/nginx-tcp-proxy-module-support-tcp-proxy-with-nginx/186511)

<div class="topic-metadata">

**Author:** [@yaoweibin](https://www.ruby-forum.com/u/yaoweibin)\
**Replies:** 0\
**Last updated:** [April 8, 2010, 5:21am UTC](https://www.ruby-forum.com/t/nginx-tcp-proxy-module-support-tcp-proxy-with-nginx/186511 "2010-04-08T05:21:33Z")

</div>

I’m pleased to announce the nginx\_tcp\_proxy\_module, version 0.19 Description This module actually include many modules: ngx\_tcp\_module, ngx\_tcp\_core\_module, ngx\_tcp\_upstream\_module, ngx\_tcp\_proxy\_module, ngx\_tcp\_upst…

---

## [Location of PID file (or executable) at runtime](https://www.ruby-forum.com/t/location-of-pid-file-or-executable-at-runtime/186468)

<div class="topic-metadata">

**Author:** [@Tronman](https://www.ruby-forum.com/u/Tronman)\
**Replies:** 4\
**Last updated:** [April 7, 2010, 11:51pm UTC](https://www.ruby-forum.com/t/location-of-pid-file-or-executable-at-runtime/186468 "2010-04-07T23:51:59Z")

</div>

Hi there, I’m looking for a way to find the fully qualified path of the “PID” file at run time. Basically, I’ve got some code that I need to run when the server is starting, and some different code I need to run when …

---

## [Requests ending with / (slash) are returning 404](https://www.ruby-forum.com/t/requests-ending-with-slash-are-returning-404/186444)

<div class="topic-metadata">

**Author:** [@leonardocg](https://www.ruby-forum.com/u/leonardocg)\
**Replies:** 17\
**Last updated:** [April 7, 2010, 12:48pm UTC](https://www.ruby-forum.com/t/requests-ending-with-slash-are-returning-404/186444 "2010-04-07T12:48:05Z")

</div>

Hi all! Can anyone with more experience give me hand? I’ve spent the last 4 hours trying many options and none of them worked, so I decided to ask for help. What i’m trying to do: /foo/bar/pageÂ served by /foo/bar…

---

## [0.7.65 + openssl 1.0 from FreeBSD ports tree](https://www.ruby-forum.com/t/0-7-65-openssl-1-0-from-freebsd-ports-tree/186439)

<div class="topic-metadata">

**Author:** [@Sergey\_ASOsokin](https://www.ruby-forum.com/u/Sergey_ASOsokin)\
**Replies:** 1\
**Last updated:** [April 7, 2010, 10:14am UTC](https://www.ruby-forum.com/t/0-7-65-openssl-1-0-from-freebsd-ports-tree/186439 "2010-04-07T10:14:41Z")

</div>

ðÒÉ×ÅÔ, éÇÏÒØ. ðÒÉ ÓÂÏÒËÅ Ó openssl 1.0 (ÉÚ ÐÏÒÔÏ×) ×ÏÚÎÉËÁÅÔ ×ÏÔ ÔÁËÏÊ warning. cc -c -pipe -g -DNGX\_DEBUG\_MALLOC -g -I /usr/local/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -o …

---

## [IMAP proxy detect MUA?](https://www.ruby-forum.com/t/imap-proxy-detect-mua/186423)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 4\
**Last updated:** [April 7, 2010, 1:29am UTC](https://www.ruby-forum.com/t/imap-proxy-detect-mua/186423 "2010-04-07T01:29:42Z")

</div>

Hi, I’m looking for a way to detect particular mail user agents so I can direct them to particular IMAP servers or even block them. I know there is a mail user-agent header… can I access it from the Nginx IMAP prox…

---

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

<div class="topic-metadata">

**Author:** [@Slawek\_Zak](https://www.ruby-forum.com/u/Slawek_Zak)\
**Replies:** 18\
**Last updated:** [April 6, 2010, 12:41pm UTC](https://www.ruby-forum.com/t/ssl-with-client-certificate-errors/183126 "2010-04-06T12:41:26Z")

</div>

Hi, I use nginx 0.7.62 to proxy a web application and secure it with client certificates. Quite often NGINX just responds with connection reset to Firefox and generates this error: 2010/02/08 18:04:49 \[crit\] 8248#0: …

---

## [Occasional misplaced gzip headers?](https://www.ruby-forum.com/t/occasional-misplaced-gzip-headers/186363)

<div class="topic-metadata">

**Author:** [@Frank\_Farmer](https://www.ruby-forum.com/u/Frank_Farmer)\
**Replies:** 4\
**Last updated:** [April 6, 2010, 2:12am UTC](https://www.ruby-forum.com/t/occasional-misplaced-gzip-headers/186363 "2010-04-06T02:12:53Z")

</div>

Hi all, I’ve been seeing rare malformed responses from nginx with a strange 26 byte header prepended to them. $ od -c file.part | head 0000000 037 213 \\b \\0 \\0 \\0 \\0 \\0 \\0 003 002 \\0 \\0 \\0 377 377 0000020 …

---

## [Default Logging?](https://www.ruby-forum.com/t/default-logging/186370)

<div class="topic-metadata">

**Author:** [@Tomas\_Zulberti](https://www.ruby-forum.com/u/Tomas_Zulberti)\
**Replies:** 1\
**Last updated:** [April 6, 2010, 1:23am UTC](https://www.ruby-forum.com/t/default-logging/186370 "2010-04-06T01:23:08Z")

</div>

Hi. I am using nginx version 0.7.65, compiled with wsgi and geoip. The configuration tells the access log to save the file on /mnt. The problem is that for one that, there is no access log… An example of the configura…

---

## [Reverse proxy + caching seems to break range requests](https://www.ruby-forum.com/t/reverse-proxy-caching-seems-to-break-range-requests/186318)

<div class="topic-metadata">

**Author:** [@vys](https://www.ruby-forum.com/u/vys)\
**Replies:** 4\
**Last updated:** [April 6, 2010, 12:56am UTC](https://www.ruby-forum.com/t/reverse-proxy-caching-seems-to-break-range-requests/186318 "2010-04-06T00:56:46Z")

</div>

Hi, I’ve configured nginx to run as a http reverse proxy with caching turned on for a location. The backend server supports range headers and responds correctly with 206 partial content response. This is needed to su…

---

## [Nginx is not responding for android mobile using org.apache.http Post Request](https://www.ruby-forum.com/t/nginx-is-not-responding-for-android-mobile-using-org-apache-http-post-request/186346)

<div class="topic-metadata">

**Author:** [@Bala](https://www.ruby-forum.com/u/Bala)\
**Replies:** 2\
**Last updated:** [April 5, 2010, 7:06pm UTC](https://www.ruby-forum.com/t/nginx-is-not-responding-for-android-mobile-using-org-apache-http-post-request/186346 "2010-04-05T19:06:46Z")

</div>

Hi, I am newbie to Nginx. I am running my ruby on rails application with nginx and mongrel cluster. when i send the http POST request from android mobile native app, i am not able to get the response. but for GET req…

---

## [IBM Lotus Domino - reverse proxy - do not cache if authenticated web user (based on cookie)](https://www.ruby-forum.com/t/ibm-lotus-domino-reverse-proxy-do-not-cache-if-authenticated-web-user-based-on-cookie/186001)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [April 5, 2010, 5:07pm UTC](https://www.ruby-forum.com/t/ibm-lotus-domino-reverse-proxy-do-not-cache-if-authenticated-web-user-based-on-cookie/186001 "2010-04-05T17:07:57Z")

</div>

Hi My backend is IBM Lotus Domino and its HTTP task. I have application that has admin panel thats been used with end-user’s browser. Currently i am using cache but that admin panel goes crazy because of caching. So…

---

## [Connections in "Writing" state grows over time](https://www.ruby-forum.com/t/connections-in-writing-state-grows-over-time/186336)

<div class="topic-metadata">

**Author:** [@Abhinav\_Gupta](https://www.ruby-forum.com/u/Abhinav_Gupta)\
**Replies:** 0\
**Last updated:** [April 5, 2010, 10:10am UTC](https://www.ruby-forum.com/t/connections-in-writing-state-grows-over-time/186336 "2010-04-05T10:10:04Z")

</div>

I am seeing following on one of our nginx servers: Active connections: 104 server accepts handled requests 1319784 1319784 1641260 Reading: 0 Writing: 98 Waiting: 6 Connections in “Writing” states keep on piling up …

---

## [Nginx tomcat reverse proxy for web services](https://www.ruby-forum.com/t/nginx-tomcat-reverse-proxy-for-web-services/186333)

<div class="topic-metadata">

**Author:** [@linginfanta](https://www.ruby-forum.com/u/linginfanta)\
**Replies:** 0\
**Last updated:** [April 5, 2010, 9:09am UTC](https://www.ruby-forum.com/t/nginx-tomcat-reverse-proxy-for-web-services/186333 "2010-04-05T09:09:48Z")

</div>

org.apache.axis2.AxisFault: Software caused connection abort: recv failed Posted at Nginx Forum:

---

## [How setup proxy to glue couchDB to Rails?](https://www.ruby-forum.com/t/how-setup-proxy-to-glue-couchdb-to-rails/186328)

<div class="topic-metadata">

**Author:** [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Replies:** 2\
**Last updated:** [April 5, 2010, 7:12am UTC](https://www.ruby-forum.com/t/how-setup-proxy-to-glue-couchdb-to-rails/186328 "2010-04-05T07:12:45Z")

</div>

Hello nginx people, Is it possible to use nginx to “glue” 2 types of servers into one? I have a rails server running here: http://localhost:3000/rails/ And I have a couchDB server running here: http://localhost:5984…

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

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