On Monday, 1 July 2013 18:31:56 UTC+2, floydbrush wrote:
>
> Hi AD,
>
> thanks for the help. I'm still trying to solve this problem.
>
> If I use a redirect 301 from /testnews/test to testredirect/test with 
> $this->redirect(array('controller' => 'testredirect', 'action' => 'test'), 
> 301);
>
> I get this headers:
>
> *1. REQUESTING: http://www.pasteleria.com/testnews/test*
> GET /testnews/test HTTP/1.1
> Accept: */*
> Accept-Encoding: gzip
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Accept-Language: en-us,en;q=0.5
> User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like 
> Gecko) Chrome/27.0.1453.116 Safari/537.36
> Host: www.pasteleria.com
> Connection: Keep-Alive
> *SERVER RESPONSE: 301 Moved Permanently*
> Date: Mon, 01 Jul 2013 16:16:18 GMT
> Server: Apache
> X-Powered-By: PHP/5.3.2-1ubuntu4.17
> Location: http://www.pasteleria.com/testredirect/test
> Vary: Accept-Encoding
> Content-Encoding: gzip
> Content-Length: 20
> Keep-Alive: timeout=15, max=100
> Connection: Keep-Alive
> Content-Type: text/html; charset="UTF-8"
> Redirecting to http://www.pasteleria.com/testredirect/test ...
> *2. REQUESTING: http://www.pasteleria.com/testredirect/test*
> GET /testredirect/test HTTP/1.1
> Accept: */*
> Accept-Encoding: gzip
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Accept-Language: en-us,en;q=0.5
> User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like 
> Gecko) Chrome/27.0.1453.116 Safari/537.36
> Host: www.pasteleria.com
> Connection: Keep-Alive
> *SERVER RESPONSE: 301 Moved Permanently*
> Date: Mon, 01 Jul 2013 16:16:18 GMT
> Server: Apache
> Location: http://www.pasteleria.com/testredirect/test
> Vary: Accept-Encoding
> Content-Encoding: gzip
> X-Powered-By: PHP/5.3.2-1ubuntu4.17
> Age: 0
> Content-Length: 20
> Keep-Alive: timeout=15, max=99
> Connection: Keep-Alive
> Content-Type: text/html; charset="UTF-8"
> Redirecting to http://www.pasteleria.com/testredirect/test ...
>
>
> And so on...
>
> So, logging I can not find the problem. 
>
> 2013-07-01 18:16:18 Error: /testnews/test
>
>
Where is the debug output for the url "/testredirect/test"

?

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to