Welcome! Log In Create A New Profile

Advanced

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

Gena Makhomed
September 14, 2009 12:36PM
On Monday, September 14, 2009 at 17:21:42, xmichielx wrote:

x> I tried to configure proxy_redirect but still got the 404.

see into error.log and access.log from nginx and apache for cause.
if not help with default loglevel - set loglevel to info or debug.

x> This my httpd.conf:

x> ServerAdmin webmaster@myce.nl
x> ServerName 172.23.3.14
x> CustomLog logs/css-proxy-access.log combined
x> DocumentRoot /var/www/www.staging.myler.nl/web-docs
x> ProxyPass / http://www.staging.myler.nl/

x> But still not working :(

x> I have disabled on other nginx + apache hosts the proxy_redirect
x> and is working but do I understand that I have to enable it for HEAD requests?

HEAD requests in nginx enabled by default.

x> And what am I missing that it still isn't working when I enable the proxy_redirect?

what you missing - you can know from logfiles of http://www.staging.myler.nl/

PS looks like this is problem with your backend, this is not nginx issue:

> lwp-request -m HEAD -U -s -S -e http://staging.myler.nl/
----------------------------------------------------------------------
HEAD http://www.myler.nl/web/persoon/staging
User-Agent: lwp-request/2.08

HEAD http://staging.myler.nl/ --> 302 Found
HEAD http://www.myler.nl/web/persoon/staging --> 404 Not Found
Connection: close
Date: Mon, 14 Sep 2009 16:06:22 GMT
Content-Type: text/html; charset=UTF-8
Client-Date: Mon, 14 Sep 2009 16:06:22 GMT
Client-Peer: 80.79.193.91:80
Client-Response-Num: 1

> lwp-request -m HEAD -U -s -S -e http://www.staging.myler.nl/
-------------------------------------------------------------------------
HEAD http://www.staging.myler.nl/
User-Agent: lwp-request/2.08

HEAD http://www.staging.myler.nl/ --> 403 Forbidden
Connection: close
Date: Mon, 14 Sep 2009 16:06:54 GMT
Server: Apache
Content-Type: text/html; charset=iso-8859-1
Client-Date: Mon, 14 Sep 2009 16:06:54 GMT
Client-Peer: 80.79.193.92:80
Client-Response-Num: 1

--
Best regards,
Gena
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: 303
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