Re: 404 Status

2009-10-30 Thread Martin Westin

debug = 1 and you are expected to be in development and any missing
"file" is likely to be a missing controller or action.
debug = 0 and you are expected to be deployed... Cake now returns 404
for missing items.



On Oct 30, 7:01 am, "#2Will"  wrote:
> Hi,
>
> My installation of cake returns a 200 status for missing items, eg
> controller not found, action not found etc etc.
>
> Am i right in thinking this is a bit of a no-no seo wise? I thought
> google likes to see a 404 code for 404 pages.
>
> Also, it makes it hard to look in firebug and see what files are
> missing (am i incuding jquery correctly etc) because everything is 200
> ok, not 404 and red.  If i open in anouther tab, i get the helpfull
> cake page prompting me to create a controller.
>
> Is this normal cake behaviour?  how can i change it?  Should cake not
> do this?
>
> Thanks
>
> Will
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



404 Status

2009-10-29 Thread #2Will

Hi,

My installation of cake returns a 200 status for missing items, eg
controller not found, action not found etc etc.

Am i right in thinking this is a bit of a no-no seo wise? I thought
google likes to see a 404 code for 404 pages.

Also, it makes it hard to look in firebug and see what files are
missing (am i incuding jquery correctly etc) because everything is 200
ok, not 404 and red.  If i open in anouther tab, i get the helpfull
cake page prompting me to create a controller.

Is this normal cake behaviour?  how can i change it?  Should cake not
do this?

Thanks

Will
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Does Cake issue a HTTP 404 status code for missing pages.

2008-11-09 Thread Xavier Mathews

Ok thxs.

On 11/09/2008, Mathew <[EMAIL PROTECTED]> wrote:
>
>> Yeah it does.but does it matter if you are online or off?
>
> It doesn't matter, if your connecting to localhost the response codes
> will be the same.
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Does Cake issue a HTTP 404 status code for missing pages.

2008-11-09 Thread Mathew

> Yeah it does.but does it matter if you are online or off?

It doesn't matter, if your connecting to localhost the response codes
will be the same.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Does Cake issue a HTTP 404 status code for missing pages.

2008-11-09 Thread Xavier Live Tech.S

Yeah it does.but does it matter if you are online or off?

On Oct 26, 5:44 pm, Mathew <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When Cake produces the 404 error page for missing pages. Does it send
> a "http/1.1 404 Not Found" response code or does it send a "http/1.1
> 200 OK" response code?
>
> Thanks,
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Does Cake issue a HTTP 404 status code for missing pages.

2008-10-26 Thread MikeB

It does indeed respond with a 404 Not Found header.

On Oct 26, 7:44 pm, Mathew <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When Cake produces the 404 error page for missing pages. Does it send
> a "http/1.1 404 Not Found" response code or does it send a "http/1.1
> 200 OK" response code?
>
> Thanks,
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Does Cake issue a HTTP 404 status code for missing pages.

2008-10-26 Thread Samuel DeVore

Just make sure when you are checking this that your side has debug
level at 0, one and up gives other types of error pages

Sam D


On Sun, Oct 26, 2008 at 6:56 PM, Mathew <[EMAIL PROTECTED]> wrote:
>
> Great, thanks.
>
> I've seen some websites issue a 200 for missing pages, but say "404"
> in the HTML text.
>
> So I thought I would just check if Cake was working correctly.
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Does Cake issue a HTTP 404 status code for missing pages.

2008-10-26 Thread Mathew

Great, thanks.

I've seen some websites issue a 200 for missing pages, but say "404"
in the HTML text.

So I thought I would just check if Cake was working correctly.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Does Cake issue a HTTP 404 status code for missing pages.

2008-10-26 Thread Mathew

Hi,

When Cake produces the 404 error page for missing pages. Does it send
a "http/1.1 404 Not Found" response code or does it send a "http/1.1
200 OK" response code?

Thanks,
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---