I'd need to look into the site/profiling code to see how we could get
this to act differently, as its been a while.

David, have you looked into the site/profiling code already?


2006/12/4, David Sean Taylor <[EMAIL PROTECTED]>:

NZViking New Zealander wrote:
> Hello All!
>
> How can I operate page not exists situation correctly (using 404 http
> code)?
>
> Jetspeed shows me main page (/jetspeed/portal/default-page.psml), when I
> enter non-existing page of my site in browser. But I want jetspeed
displays
> me 404 page.
>
> For example, i entered
> http://localhost:8080/jetspeed/portal/blablabla.psml,
> but this page doesn't exists on portal. Jetspeed shows me main page
> (located
> at /jetspeed/portal/default-page.psml) instead of 404 page, and returns
to
> me status code 200/ok instead of 404/not found.
>
> How can I force jetspeed shows me 404.html in this case (with status
code
> 404/not found instead of 200/ok)?
>
The general behavior of the profiler is to always find the best page for
your request. If it fails to find one, it returns to your home page
I'd need to look into the site/profiling code to see how we could get
this to act differently, as its been a while. Its possible, but I think
we would have to make this an optional feature

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
With best regards,
Vitaly Baranovsky

Reply via email to