Welcome! Log In Create A New Profile

Advanced

Re: HEAD and Nginx nginx-0.6.36-1.el5

September 15, 2009 04:32AM
Hi Gena,

That staging is not working from your side is because of an ACL in Apache.
I can not enable the debug option because I use the RPM and it is not enabled by default:
Starting nginx: 2009/09/15 10:26:21 [emerg] 17939#0: unknown log format "debug" in /etc/nginx/nginx.conf:55

The logfiles are the same like the one I send:

[code]
>
> The nginx access.log:
> 172.23.3.14 - - [10/Sep/2009:20:45:12 +0200] HEAD /web/MYCE.htm HTTP/1.1 "404" 0
> "-" "Mozilla/4.06 (WinNT; I)" "172.21.0.5, 172.21.0.5"
> 172.21.0.5 - - [10/Sep/2009:20:45:12 +0200] HEAD /MYCE.htm HTTP/1.0 "404" 0 "-"
> "Mozilla/4.06 (WinNT; I)" "-"
>
> The apache log:
>
> 172.21.0.5 - - [10/Sep/2009:20:12:56 +0200] "HEAD /MYLER.htm HTTP/1.0" 404 - "-" "Mozilla/4.06 (WinNT; I)"
> 172.21.0.5 - - [10/Sep/2009:20:12:56 +0200] "HEAD /MYCE.htm HTTP/1.0" 404 - "-" "Mozilla/4.06 (WinNT; I)"
> stmycew01.hf.info.nl - - [10/Sep/2009:20:12:58 +0200] "GET /404.html HTTP/1.0" 200 6507 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)l"
> stmycew01.hf.info.nl - - [10/Sep/2009:20:12:58 +0200] "GET /404.html HTTP/1.0" 200 6507 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)l"
> stmycew01.hf.info.nl - - [10/Sep/2009:20:12:58 +0200] "HEAD /web/MYLER.htm HTTP/1.0" 404 - "-" "Mozilla/4.06 (WinNT; I)"
>
>
> We also see some Apache DNS lookup proxy messages:
> proxy: DNS lookup failure for: 172.23.3.14, 172.23.3.14 returned by /MYLER.htm
> proxy: DNS lookup failure for: 172.23.3.14, 172.23.3.14 returned by /MYCE.htm
> proxy: DNS lookup failure for: 172.23.3.14, 172.23.3.14 returned by /MYLER.htm
>
>
> Only apache on port 80 (normal setup):
>
> stmycew01.hf.info.nl - - [11/Sep/2009:10:42:57 +0200] "HEAD /MYLER.htm HTTP/1.1" 200 - "-" "Mozilla/4.06 (WinNT; I)"
> stmycew01.hf.info.nl - - [11/Sep/2009:10:42:57 +0200] "HEAD /web/MYLER.htm HTTP/1.1" 200 - "-" "Mozilla/4.06 (WinNT; I)"
>
[/code]

The strange thing is: HEAD works with a redirect in a normal Apache setup but with a Nginx redirect setup (see my config above here) I get a 404 from the Apache and Nginx, I think the request isn't correctly entering Apache.
Can it be a change in the HTTP 1.0 and HTTP1.1 diffirence?
Subject Author Posted

HEAD and Nginx nginx-0.6.36-1.el5

xmichielx September 10, 2009 03:13PM

Re: HEAD and Nginx nginx-0.6.36-1.el5

Igor Sysoev September 11, 2009 01:26AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

xmichielx September 11, 2009 04:48AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

xmichielx September 11, 2009 10:21AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

xmichielx September 14, 2009 04:37AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

xmichielx September 14, 2009 10:21AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

Igor Sysoev September 11, 2009 05:02AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

Maxim Dounin September 11, 2009 06:06AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

Maxim Dounin September 11, 2009 11:50AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

Gena Makhomed September 11, 2009 01:14PM

Re: HEAD and Nginx nginx-0.6.36-1.el5

Gena Makhomed September 14, 2009 05:26AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

Gena Makhomed September 14, 2009 12:36PM

Re: HEAD and Nginx nginx-0.6.36-1.el5

xmichielx September 15, 2009 04:32AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

Gena Makhomed September 15, 2009 08:46AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

xmichielx September 21, 2009 05:10AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

xmichielx September 21, 2009 08:02AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

Gena Makhomed September 21, 2009 06:58AM

Re: HEAD and Nginx nginx-0.6.36-1.el5

Gena Makhomed September 21, 2009 01:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 284
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready