Yes, because Google want's it for non existing pages. As soon as I install a "404.html", then I get a "200 Success". I tried setting the HTTP Headers, but this didn't work.

Anyway to generate a user friendly 404 page _and_ a 404 header?

If you return a 404 status, some browsers (okay, specifically IE) will refuse to display your custom error page and will display their own useless error message.

For the browsers that are more well-behaved, you can achieve what you want by doing something like this in your custom error page:

set response header("X-Real-Status"; "404 Not Found")

Then use the A4D_PostExecuteHook in On Web Connection to look for that header and if it is found replace X-STATUS with that.

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to