# Nginx-0.7.51

**URL:** <https://www.ruby-forum.com/t/nginx-0-7-51/165326>\
**Category:** NGINX\
**Created:** [April 12, 2009, 12:02pm UTC](https://www.ruby-forum.com/t/nginx-0-7-51/165326 "2009-04-12T12:02:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [April 12, 2009, 12:02pm UTC](https://www.ruby-forum.com/t/nginx-0-7-51/165326/1 "2009-04-12T12:02:27Z")

</div>

Changes with nginx 0.7.51 12 Apr  
2009

```
*) Feature: the "try_files" directive supports a response code in 

```

the  
fallback parameter.

```
*) Feature: now any response code can be used in the "return" 

```

directive.

```
*) Bugfix: the "error_page" directive made an external redirect 

```

without  
query string; the bug had appeared in 0.7.44.

```
*) Bugfix: if servers listened on several defined explicitly 

```

addresses,  
then virtual servers might not work; the bug had appeared in  
0.7.39.

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [April 12, 2009, 10:27pm UTC](https://www.ruby-forum.com/t/nginx-0-7-51/165326/2 "2009-04-12T22:27:19Z")

</div>

Igor S. wrote:

> Changes with nginx 0.7.51 12 Apr 2009

I do not know if it is a bug or a feature.

Version 0.7.51 compiles without any problems using the following config:  
./configure $(CONFIGURE\_OPTS)   
–conf-path=/etc/nginx/nginx.conf   
–error-log-path=/var/log/nginx/error.log   
–pid-path=/var/run/nginx.pid   
–lock-path=/var/lock/nginx.lock   
–http-log-path=/var/log/nginx/access.log   
–http-client-body-temp-path=/var/lib/nginx/body   
–http-proxy-temp-path=/var/lib/nginx/proxy   
–http-fastcgi-temp-path=/var/lib/nginx/fastcgi   
–with-http\_ssl\_module   
–without-http\_limit\_req\_module   
–without-mail\_pop3\_module   
–without-mail\_smtp\_module   
–without-mail\_imap\_module

Version 0.7.51 DOES NOT COMPILE if one adds the “–without-http-cache”  
option (giving the errors that I am attaching bellow):

./configure $(CONFIGURE\_OPTS)   
–conf-path=/etc/nginx/nginx.conf   
–error-log-path=/var/log/nginx/error.log   
–pid-path=/var/run/nginx.pid   
–lock-path=/var/lock/nginx.lock   
–http-log-path=/var/log/nginx/access.log   
–http-client-body-temp-path=/var/lib/nginx/body   
–http-proxy-temp-path=/var/lib/nginx/proxy   
–http-fastcgi-temp-path=/var/lib/nginx/fastcgi   
–with-http\_ssl\_module   
–without-http\_limit\_req\_module   
–without-mail\_pop3\_module   
–without-mail\_smtp\_module   
–without-mail\_imap\_module   
–without-http-cache

M.

===  
Compile time errors in a i386 machine running Ubuntu 8.10, using the  
standard settings from the nginx-0.x.xx/debian file, except the above  
tuning to the nginx-0.x.xx/debian/rules file:

gcc -c -Wall -g -O2 -I src/core -I src/event -I src/event/modules -I  
src/os/unix -I objs -I src/http -I src/http/modules   
-o objs/src/http/ngx\_http\_upstream.o   
src/http/ngx\_http\_upstream.c  
src/http/ngx\_http\_upstream.c: In function  
â€˜ngx\_http\_upstream\_process\_cache\_controlâ€™:  
src/http/ngx\_http\_upstream.c:2843: error: â€˜ngx\_http\_request\_tâ€™ has no  
member named â€˜cacheâ€™  
src/http/ngx\_http\_upstream.c:2847: error: â€˜ngx\_http\_request\_tâ€™ has no  
member named â€˜cacheâ€™  
src/http/ngx\_http\_upstream.c:2887: error: â€˜ngx\_http\_request\_tâ€™ has no  
member named â€˜cacheâ€™  
src/http/ngx\_http\_upstream.c: In function  
â€˜ngx\_http\_upstream\_process\_expiresâ€™:  
src/http/ngx\_http\_upstream.c:2900: error: â€˜ngx\_http\_request\_tâ€™ has no  
member named â€˜cacheâ€™  
src/http/ngx\_http\_upstream.c:2904: error: â€˜ngx\_http\_request\_tâ€™ has no  
member named â€˜cacheâ€™  
src/http/ngx\_http\_upstream.c:2915: error: â€˜ngx\_http\_request\_tâ€™ has no  
member named â€˜cacheâ€™  
src/http/ngx\_http\_upstream.c: In function  
â€˜ngx\_http\_upstream\_process\_accel\_expiresâ€™:  
src/http/ngx\_http\_upstream.c:2931: error: â€˜ngx\_http\_request\_tâ€™ has no  
member named â€˜cacheâ€™  
src/http/ngx\_http\_upstream.c:2948: error: â€˜ngx\_http\_request\_tâ€™ has no  
member named â€˜cacheâ€™  
src/http/ngx\_http\_upstream.c:2959: error: â€˜ngx\_http\_request\_tâ€™ has no  
member named â€˜cacheâ€™  
make[2]: \*\*\* [objs/src/http/ngx\_http\_upstream.o] Error 1  
make[2]: Leaving directory `/home/jdesk/tmp/nginx-0.7.51' make[1]: *** [build] Error 2 make[1]: Leaving directory `/home/jdesk/tmp/nginx-0.7.51’  
make: \*\*\* [build] Error 2  
dpkg-buildpackage: failure: debian/rules build gave error exit status 2  
debuild: fatal error at line 1329:  
dpkg-buildpackage -rfakeroot -D -us -uc -i failed

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [April 13, 2009, 4:57am UTC](https://www.ruby-forum.com/t/nginx-0-7-51/165326/3 "2009-04-13T04:57:01Z")

</div>

hi all:

```
     why not make ngx_http_static_module built in ?

     i think it is a very useful module

     thanks!
```

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [April 13, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/nginx-0-7-51/165326/4 "2009-04-13T12:53:48Z")

</div>

i am sorry

i copy the wrong line

i just say the post\_to \_static

From: removed\_email\_address@domain.invalid  
To: removed\_email\_address@domain.invalid  
Subject: why not make ngx\_http\_static\_module built in  
Date: Mon, 13 Apr 2009 10:48:14 +0800

hi all:  
why not make ngx\_http\_static\_module built in ?  
i think it is a very useful module  
thanks!

ä¸‹è¼‰ Windows Live Messenger 9.0ï¼Œå¤šå…ƒæºé€šã€ç›¡æƒ…åˆ†äº«ï¼Œå’Œå³æ™‚é€šè¨Šå¥½å‹ç·šä¸ŠåŒæ¨‚ï¼â€” ç«‹å³ä¸‹è¼‰
