# Server

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

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

---

## [Web Server Internal IP Address/Internal Network Name Disclosure Vulnerability](https://www.ruby-forum.com/t/web-server-internal-ip-address-internal-network-name-disclosure-vulnerability/207540)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 28, 2011, 3:35pm UTC](https://www.ruby-forum.com/t/web-server-internal-ip-address-internal-network-name-disclosure-vulnerability/207540 "2011-05-28T15:35:16Z")

</div>

Hi, I did QualysGuard scan and it says “Web Server Internal IP Address/Internal Network Name Disclosure Vulnerability”. It suggest for Apache, I need to: For Apache Web Server: Modify the Apache configuration file …

---

## [Reverse proxy to a tomcat service (folder name)](https://www.ruby-forum.com/t/reverse-proxy-to-a-tomcat-service-folder-name/207539)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 27, 2011, 6:33pm UTC](https://www.ruby-forum.com/t/reverse-proxy-to-a-tomcat-service-folder-name/207539 "2011-05-27T18:33:21Z")

</div>

Hello, I am breaking my head against the wall since his morning on this issue maybe you can help me. I have a single physical server hosting tomcat WARs and also other standalone services. I use subdomains and Nginx …

---

## [NGINX 1.0.3 compile error: src/core/ngx crypt.c: In function ‘ngx crypt apr1’](https://www.ruby-forum.com/t/nginx-1-0-3-compile-error-src-core-ngx-crypt-c-in-function-ngx-crypt-apr1/207518)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 27, 2011, 2:18pm UTC](https://www.ruby-forum.com/t/nginx-1-0-3-compile-error-src-core-ngx-crypt-c-in-function-ngx-crypt-apr1/207518 "2011-05-27T14:18:59Z")

</div>

Hi, i’m having problems compiling the latest stable source 1.0.3. How to reproduce: cd ./configure make make output is attached in log.txt I do not have any problems compiling stable source 1.0.2 Is suspect this…

---

## [TLS 1.1 and TLS 1.2 possible?](https://www.ruby-forum.com/t/tls-1-1-and-tls-1-2-possible/207525)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 27, 2011, 2:07pm UTC](https://www.ruby-forum.com/t/tls-1-1-and-tls-1-2-possible/207525 "2011-05-27T14:07:52Z")

</div>

I am looking for info is it possible to compile nginx SSL routines with TLS 1.1 and 1.2 support? Is openssl only possible backend for nginx? Terveisin/Regards, Pekka Panula, Sofor Oy - Jatkuvat palvelut

---

## [How to add cookie when proxy\_pass via programming?](https://www.ruby-forum.com/t/how-to-add-cookie-when-proxy-pass-via-programming/207509)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 27, 2011, 11:44am UTC](https://www.ruby-forum.com/t/how-to-add-cookie-when-proxy-pass-via-programming/207509 "2011-05-27T11:44:57Z")

</div>

Hey, I want to add custom cookie when proxy pass to the upstream in my custom module. I want to implement like what this config does: proxy\_pass http://servers; proxy\_add\_header Cookie “$http\_cookie;KEY=VALUE”; But s…

---

## [Wether Borbon will appear on the court depends on his test on Friday](https://www.ruby-forum.com/t/wether-borbon-will-appear-on-the-court-depends-on-his-test-on-friday/207516)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [May 27, 2011, 10:38am UTC](https://www.ruby-forum.com/t/wether-borbon-will-appear-on-the-court-depends-on-his-test-on-friday/207516 "2011-05-27T10:38:05Z")

</div>

Julio Borbon will test his inflamed hamstring Friday by running the bases. Borbon has only run at about 60-70 percent this week. If the Friday test goes well, he could begin a rehab assignment over the weekend. Manage…

---

## [SMTP or POP3 Authentication](https://www.ruby-forum.com/t/smtp-or-pop3-authentication/207507)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [May 27, 2011, 10:11am UTC](https://www.ruby-forum.com/t/smtp-or-pop3-authentication/207507 "2011-05-27T10:11:27Z")

</div>

I am trying to use smtp connection for an email marketing software and would like to use smtp or pop3, but I am not sure where to start. I have mailauth.pm in /root/auth/ but I am not sure if that is write. If the pre…

---

## [Sanity check of my config - is it secure?](https://www.ruby-forum.com/t/sanity-check-of-my-config-is-it-secure/207281)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 21\
**Last updated:** [May 27, 2011, 7:39am UTC](https://www.ruby-forum.com/t/sanity-check-of-my-config-is-it-secure/207281 "2011-05-27T07:39:30Z")

</div>

Hi We had Nginx setup on a domain serving static content (images\[0-9\].domain.com). Recently we’ve made our main domain also use the same Nginx installation and proxy any php requests to Apache. All is working fine. W…

---

## [Nginx 1.0.3 with php-fpm, php report 404 error](https://www.ruby-forum.com/t/nginx-1-0-3-with-php-fpm-php-report-404-error/207505)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 27, 2011, 6:12am UTC](https://www.ruby-forum.com/t/nginx-1-0-3-with-php-fpm-php-report-404-error/207505 "2011-05-27T06:12:31Z")

</div>

Hi everyone I am using nginx 1.0.3 under CentOS 5.6, with php-fpm. nginx works fine with static file, such as html,txt. But not with php file. I wrote a phpinfo.php file in my webserver, my browser and nginx log bo…

---

## [Cache gzipped content with proxy\_pass](https://www.ruby-forum.com/t/cache-gzipped-content-with-proxy-pass/193357)

<div class="topic-metadata">

**Author:** [@chrisl](https://www.ruby-forum.com/u/chrisl)\
**Replies:** 4\
**Last updated:** [May 27, 2011, 5:49am UTC](https://www.ruby-forum.com/t/cache-gzipped-content-with-proxy-pass/193357 "2011-05-27T05:49:00Z")

</div>

Hi. AFAIK nginx only stores plain (uncompressed) content when acting as a caching proxy server. With gzip=on, content for gzip-accepting clients will be compressed by the server for every request (?). Wouldn’t it be …

---

## [Rewrite rule for nginx from Apache](https://www.ruby-forum.com/t/rewrite-rule-for-nginx-from-apache/179154)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 22\
**Last updated:** [May 26, 2011, 3:47pm UTC](https://www.ruby-forum.com/t/rewrite-rule-for-nginx-from-apache/179154 "2011-05-26T15:47:17Z")

</div>

Can anyone tell me how to rewrite this rules from apache: RewriteEngine On RewriteRule ^shorten/(.\*)$ shorten.php?longurl=$1 \[L\] RewriteRule ^(\[0-9a-zA-Z\]{1,6})$ redirect.php?url=$1 \[L\] to nginx? Thanks!

---

## [Redirect subdomain to internal location](https://www.ruby-forum.com/t/redirect-subdomain-to-internal-location/207409)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 14\
**Last updated:** [May 26, 2011, 2:46pm UTC](https://www.ruby-forum.com/t/redirect-subdomain-to-internal-location/207409 "2011-05-26T14:46:40Z")

</div>

How would I test for the following subdomains? www www4 any other subdomain Then redirect each to a corresponding internal location? I am using the following code to get the ‘any other subdomain’ but can’t get the …

---

## [Error with http\_perl\_module](https://www.ruby-forum.com/t/error-with-http-perl-module/207457)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 26, 2011, 12:40pm UTC](https://www.ruby-forum.com/t/error-with-http-perl-module/207457 "2011-05-26T12:40:18Z")

</div>

I am trying to upgrade to 1.0.2, but I am getting an install error. Any help is greatly appreciated. make\[2\]: Leaving directory /usr/local/src/nginx-1.0.2/objs/src/http/modules/perl' rm -rf objs/install\_perl gcc -o ob…

---

## [Core dumps](https://www.ruby-forum.com/t/core-dumps/207469)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 26, 2011, 12:37pm UTC](https://www.ruby-forum.com/t/core-dumps/207469 "2011-05-26T12:37:49Z")

</div>

Hi I’m trying to get a core dump out of nginx but it isn’t working… I have done the following: Made directory with permissions: drwxr-xr-x 2 root root 4.0K 2011-05-26 00:32 nginx-core changed config: worker\_…

---

## [IP as a server name](https://www.ruby-forum.com/t/ip-as-a-server-name/207474)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [May 26, 2011, 12:31pm UTC](https://www.ruby-forum.com/t/ip-as-a-server-name/207474 "2011-05-26T12:31:01Z")

</div>

Hi there! I have a question about nginx configuration file. How can I configure a server if I want my site to be available under a domain name and IP address. I would like to have something like: http(s)://myhost.myd…

---

## [How to make a redirect via programming?](https://www.ruby-forum.com/t/how-to-make-a-redirect-via-programming/207448)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 26, 2011, 10:03am UTC](https://www.ruby-forum.com/t/how-to-make-a-redirect-via-programming/207448 "2011-05-26T10:03:47Z")

</div>

Hey, I’m making a custom module and need to send back the redirect response to the client. It should behave like the “sendRedirect” in java servlet programming. So which function is that API? Thanks. Posted at Nginx …

---

## [NGINX 1.0.3 compile error: undefined reference to \`ngx\_libc\_crypt'](https://www.ruby-forum.com/t/nginx-1-0-3-compile-error-undefined-reference-to-ngx-libc-crypt/207453)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 26, 2011, 7:31am UTC](https://www.ruby-forum.com/t/nginx-1-0-3-compile-error-undefined-reference-to-ngx-libc-crypt/207453 "2011-05-26T07:31:43Z")

</div>

Hey Guys, I’ve found a compile error for NGINX 1.0.3 that didn’t exist for any of the previous versions (same configuration, etc.) Here’s the “./configure” arguments I used: ./configure --sbin-path=/usr/local/sbin --…

---

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

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 26, 2011, 3:18am UTC](https://www.ruby-forum.com/t/nginx-1-0-3-for-windows-32-bit-and-64-bit-now-available/207455 "2011-05-26T03:18:11Z")

</div>

For those interested, Cygwin based versions of Nginx 1.0.3 for Windows (both 32-bit and 64-bit) builds are available here: Blog post/announcement: Nginx 1.0.3 for Windows – Kevin Worthington (comments and feedback w…

---

## [Location directive disaster](https://www.ruby-forum.com/t/location-directive-disaster/207450)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 26, 2011, 1:41am UTC](https://www.ruby-forum.com/t/location-directive-disaster/207450 "2011-05-26T01:41:58Z")

</div>

Hi everyone I have moved from Apache2 to Nginx. I am finding it difficult working out what is going on with the location directive. I’ve looked at various tutorials and blogs but I’m still encountering problems. Basi…

---

## [How to add an arg to the requests to the upstreams](https://www.ruby-forum.com/t/how-to-add-an-arg-to-the-requests-to-the-upstreams/207403)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [May 26, 2011, 12:24am UTC](https://www.ruby-forum.com/t/how-to-add-an-arg-to-the-requests-to-the-upstreams/207403 "2011-05-26T00:24:29Z")

</div>

Hey, I wanna add a custom arg to the upstreams by proxy\_pass like this: upstream servers { server1:8011; server2:8012; } … server { listen on 8443; ssl on; server\_name server0; location / { proxy\_pass https://…

---

## [Configuring phpmyadmin](https://www.ruby-forum.com/t/configuring-phpmyadmin/207370)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 17\
**Last updated:** [May 25, 2011, 4:42pm UTC](https://www.ruby-forum.com/t/configuring-phpmyadmin/207370 "2011-05-25T16:42:50Z")

</div>

Hi, I recently installed Debian 6.0.1a Squeeze with Nginx and phpmyadmin When I go to ‘http://localhost’ phpmyadmin pops up. What I want is that phpmyadmin is located at ‘http://localhost/phpmyadmin/’ I already trie…

---

## [Provide site-specific SSL cert on behalf of clients](https://www.ruby-forum.com/t/provide-site-specific-ssl-cert-on-behalf-of-clients/207378)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 25, 2011, 12:46pm UTC](https://www.ruby-forum.com/t/provide-site-specific-ssl-cert-on-behalf-of-clients/207378 "2011-05-25T12:46:57Z")

</div>

I’m wondering if I can configure nginx to provide a PEM SSL cert for a specific site on behalf of clients on my subnet, and how I might go about configuring, testing this. I have a cert in PEM format, and nginx 0.8.54…

---

## [Clean nginx log](https://www.ruby-forum.com/t/clean-nginx-log/207390)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 25, 2011, 8:25am UTC](https://www.ruby-forum.com/t/clean-nginx-log/207390 "2011-05-25T08:25:24Z")

</div>

Hello, I’m not sure, is it just right to truncate the nginx’s access log by: echo -n \> /path/to/log/access.log Thanks. – Jeff P. www.DNSbed.com

---

## [SSI include infinite loop](https://www.ruby-forum.com/t/ssi-include-infinite-loop/207329)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 25, 2011, 5:39am UTC](https://www.ruby-forum.com/t/ssi-include-infinite-loop/207329 "2011-05-25T05:39:05Z")

</div>

Hello, I’ve encountered a problem about “SSI include infinite loop”. We have a system that our editors can compose a html page from some templates using SSI. Sometimes unwarily combination will cause infinite loop, s…

---

## [Benchmarks of cherokee vs nginx](https://www.ruby-forum.com/t/benchmarks-of-cherokee-vs-nginx/207345)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 13\
**Last updated:** [May 25, 2011, 3:09am UTC](https://www.ruby-forum.com/t/benchmarks-of-cherokee-vs-nginx/207345 "2011-05-25T03:09:48Z")

</div>

This is static content (only http, and no php enabled), also using gzip-static.in nginx (cache-io doesn’t quite cut it in cherokee) I found the cache too aggressive in cherokee, if I upload a newer file I’d still keep…

---

## [Cache problem?](https://www.ruby-forum.com/t/cache-problem/207380)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 25, 2011, 2:53am UTC](https://www.ruby-forum.com/t/cache-problem/207380 "2011-05-25T02:53:11Z")

</div>

I’m running a Perl/PSGI CGI::Application app on nginx via proxy\_pass to Starman. The app logs form fields to a database and retrieves a resultset which is served up via Template Toolkit. Running on Apache as a plain v…

---

## [Cache large static files in memory](https://www.ruby-forum.com/t/cache-large-static-files-in-memory/170936)

<div class="topic-metadata">

**Author:** [@Hua\_Su](https://www.ruby-forum.com/u/Hua_Su)\
**Replies:** 8\
**Last updated:** [May 24, 2011, 11:14pm UTC](https://www.ruby-forum.com/t/cache-large-static-files-in-memory/170936 "2011-05-24T23:14:27Z")

</div>

Hi all,Does nginx support to cache static files in memory if it finds several large files are requested frequently? If yes, how to control the cache? If not, is there any simple way to implement a similar function?

---

## [TCP: time wait bucket table overflow](https://www.ruby-forum.com/t/tcp-time-wait-bucket-table-overflow/207356)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [May 24, 2011, 5:19pm UTC](https://www.ruby-forum.com/t/tcp-time-wait-bucket-table-overflow/207356 "2011-05-24T17:19:25Z")

</div>

I am just going to pop-up this question. My nginx was doing about 10% cpu load and I was getting: May 24 15:58:43 yasmin kernel: \[ 983.444403\] TCP: time wait bucket table overflow I know I can fine-tune my /proc/sys…

---

## [Wildcard domains as vhost](https://www.ruby-forum.com/t/wildcard-domains-as-vhost/207350)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 24, 2011, 4:14pm UTC](https://www.ruby-forum.com/t/wildcard-domains-as-vhost/207350 "2011-05-24T16:14:28Z")

</div>

I tried to google this but could not hit the right keywords (been a long week)… We have DNS set up so that all requests ending in .project.example.com (i.e. bob.project.example.com) go to the same machine. How can I …

---

## [Another rewrite/try files issue](https://www.ruby-forum.com/t/another-rewrite-try-files-issue/207295)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 23, 2011, 10:02pm UTC](https://www.ruby-forum.com/t/another-rewrite-try-files-issue/207295 "2011-05-23T22:02:52Z")

</div>

Hello, I am having the following problem: I want to have a “virtual” url e.g. “/myapp” to have a totally different document root e.g. “/home/stelios/myapp” (instead of the default ‘/var/www’) locations of the type “…

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

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