Welcome! Log In Create A New Profile

Advanced

FastCgi (php) 302 redirect

aoz
July 18, 2011 08:15AM
В связи с кривой реализацией firmware некоторых клиетов нужно вернуть
HTTP/1.1 302 Found.
как это делал апач
вместо
HTTP/1.1 302.
как это делает nginx

Ощущение что при получении Location
nginx плюет на status и подставляет и процессит свой.

уже устал перибирать варианты и с параметрами и без:

<?php
//header("Status: 302 Found", TRUE, 302);
header("Location: login.php", TRUE, 302);
header("HTTP/1.1 302 Found", TRUE, 302);
error_log(print_r(headers_list(), true));
?>
Может кто сталкивался?

Заранее спасибо.
Subject Author Posted

FastCgi (php) 302 redirect

aoz July 18, 2011 08:15AM

Re: FastCgi (php) 302 redirect

Mikhail Mazursky July 18, 2011 10:50AM

Re: FastCgi (php) 302 redirect

aoz July 18, 2011 11:25AM

Re: FastCgi (php) 302 redirect

Igor Sysoev July 18, 2011 11:34AM

Re: FastCgi (php) 302 redirect

aoz July 18, 2011 12:08PM

Re: FastCgi (php) 302 redirect

Igor Sysoev July 18, 2011 12:14PM

Re: FastCgi (php) 302 redirect

aoz July 18, 2011 12:29PM

Re: FastCgi (php) 302 redirect

aoz July 18, 2011 01:31PM

Re: FastCgi (php) 302 redirect

Alex Vorona July 18, 2011 12:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready