yum.postgresql.org 404 when port in host header

Поиск
Список
Период
Сортировка
Искать

yum.postgresql.org 404 when port in host header

От:
Bryan McLellan <btm@loftninjas.org>
Дата:
I'm debugging a chef bug [1] that was reported with a recent release
where requests are failing to yum.postgresql.rog now because the host
header includes a port. I'd like to narrow this down to a webserver,
configuration, or load balancer. Anyone here familiar with this server
and have any ideas?

This works fine:
curl -H Host:yum.postgresql.org
http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-centos91-9.1-4.noarch.rpm

This returns a 404:
curl -H Host:yum.postgresql.org:80
http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-centos91-9.1-4.noarch.rpm

Bryan

[1] https://tickets.opscode.com/browse/CHEF-5010


Re: yum.postgresql.org 404 when port in host header

От:
Stephen Frost <sfrost@snowman.net>
Дата:
Bryan,

* Bryan McLellan (btm@loftninjas.org) wrote:
> Anyone here familiar with this server
> and have any ideas?
> 
> This works fine:
> curl -H Host:yum.postgresql.org
> http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-centos91-9.1-4.noarch.rpm
> 
> This returns a 404:
> curl -H Host:yum.postgresql.org:80
> http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-centos91-9.1-4.noarch.rpm

Well, that's mighty curious.  No one else has seemed to care. :)

However, if you give it a try now, you may find that it's working
better..
Thanks!
	Stephen
FAQ