[jboss-jira] [JBoss JIRA] Resolved: (JBAS-7079) Can't redirect root requests without ROOT.war

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Thu Jul 16 19:07:29 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBAS-7079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remy Maucherat resolved JBAS-7079.
----------------------------------

    Resolution: Won't Fix


Yes, the request must be mappable to a webapp for any processing to occur. This behavior has existed in Tomcat for a long time now, and is a feature request (that is not really doable, though).

> Can't redirect root requests without ROOT.war
> ---------------------------------------------
>
>                 Key: JBAS-7079
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7079
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>    Affects Versions: JBossAS-5.1.0.GA
>         Environment: Windows XP, JDK 1.6.0_14
>            Reporter: Rostyslav Smirnov
>            Assignee: Remy Maucherat
>
> When ROOT.war is removed, root URL request always returns 404, ignoring URL rewrite rules.
> Steps to reproduce:
> 1) Set up a single URL rewriting rule for jboss.web engine that redirects root requests:
> RewriteRule ^/$ /admin-console/ [R]
> At this point everything works and http://localhost:8080/ becomes http://localhost:8080/admin-console/
> 2) As the ROOT.war is now inaccessible, remove or rename it. Now http://localhost:8080/ just returns 404, ignoring the rule.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list