ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mz4wheeler (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-4390) Ecommerce Error Page Does Not Work
Date Sat, 03 Dec 2011 00:27:40 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-4390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161956#comment-13161956

mz4wheeler commented on OFBIZ-4390:

Can this be back ported to 11.04 as well?
> Ecommerce Error Page Does Not Work
> ----------------------------------
>                 Key: OFBIZ-4390
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4390
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>            Reporter: Sam Hamilton
>            Assignee: Hans Bakker
>            Priority: Minor
>             Fix For: SVN trunk
>         Attachments: OFBIZ-4390-error.txt, OFBIZ-4390.patch
> If you are using the ecommerce app and you force it to generate a 404 error page it redirects
back to /control/main.
> You can test the 404 error out here - http://demo-trunk.ofbiz.apache.org/ecommerce/please-give-me-an-error/

> This default behaviour will confuse search engines as they expect to get a 404 error
if a pages does not exist on a website. 
> As pointed out by Bilgin on the mailing list adding the following code into web.xml should
resolve the problem however it just generates more errors due to the redirect to /control/main
is in place.
> <error-page>
>    <error-code>404</error-code>
>    <location>/error/error.jsp</location>
> </error-page>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message