Sure ... HTTP/1.1 302 Found Date: Tue, 21 Jul 2009 20:00:04 GMT Server: Apache X-Powered-By: PHP/5.2.6 Location: http://video.maktoob.com/?url=sfgsd Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform, max-age=0, must-revalidate Expires: Tue, 21 Jul 2009 20:00:04 GMT Vary: Accept-Encoding,User-Agent Content-Type: text/html Connection: Keep-Alive Set-Cookie: userCountry=JO; expires=Thu, 17-Dec-2020 19:00:04 GMT; path=/ Set-Cookie: MKTID_copy=deleted; expires=Mon, 21-Jul-2008 20:00:03 GMT; path=/; domain=video.maktoob.com
On Tue, Jul 21, 2009 at 6:18 PM, Piotr Kilczuk <kilc...@gmail.com> wrote: > > Hello, > > > i have a problem with my CakePHP app where the client needs me to return > a > > valid 404 page together with a valid 404 http header incase of "page not > > found", i have handled the 404 page through app_error but the problem is > > when i execute ( curl -I http://www.example.com/sdfsdfas ) on my debian > box > > it keeps returning ( 302 Page Found ) instead of ( 404 Page Not Found) , > > anyone faced something like this, and if any, would you please explain > how > > you solve it? > > Can you paste the complete response (all server headers)? > > > Regards, > Piotr > > > > -- http://phpirate.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---