+1 for correcting it here as reference for future findings
Am Montag, 14. Juli 2014 11:38:47 UTC+2 schrieb Alex Bovey:
>
> On Fri, Jul 11, 2014 at 2:31 PM, Alex Bovey > wrote:
> >
> > Hello all,
> >
> > I would like one of my controller methods to be able to send a 404 Not
> Found header, bu
On Fri, Jul 11, 2014 at 2:31 PM, Alex Bovey wrote:
>
> Hello all,
>
> I would like one of my controller methods to be able to send a 404 Not Found
> header, but still render the view as normal. I've tried both of the
> following at the beginning of my controller method, but Cake is still
> ret
Thank you Leandro - I can't see where that outputs a 404 header though?
Alex
On Fri, Jul 11, 2014 at 3:09 PM, Leandro Machado Pereira <
llperei...@gmail.com> wrote:
> You should see this http://pastebin.com/zNB6SFg7
>
>
> 2014-07-11 10:31 GMT-03:00 Alex Bovey :
>
&
You should see this http://pastebin.com/zNB6SFg7
2014-07-11 10:31 GMT-03:00 Alex Bovey :
> Hello all,
>
> I would like one of my controller methods to be able to send a 404 Not
> Found header, but still render the view as normal. I've tried both of the
> following at the beginning of my control
Hello all,
I would like one of my controller methods to be able to send a 404 Not
Found header, but still render the view as normal. I've tried both of the
following at the beginning of my controller method, but Cake is still
returning a 200 OK header:
$this->response->header('HTTP/1.1 404 Not F
gt;> 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
; 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
bian
>> 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
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: Ac
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
Hello Guys,
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 d
11 matches
Mail list logo