[jboss-jira] [JBoss JIRA] Created: (JBAS-7079) Can't redirect root requests without ROOT.war
Rostyslav Smirnov (JIRA)
jira-events at lists.jboss.org
Mon Jul 6 15:41:51 EDT 2009
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