Bug 118184
Summary: | WAF Running under a context other than root | ||
---|---|---|---|
Product: | [Retired] Red Hat Web Application Framework | Reporter: | Brett Prucha <pruchaba_bah> |
Component: | other | Assignee: | ccm-bugs-list |
Status: | CLOSED EOL | QA Contact: | Jon Orris <jorris> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | nightly | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-27 16:48:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Brett Prucha
2004-03-12 21:48:45 UTC
A couple more notes on this: For Issue 3: I would change line 181 of CacheServlet to support other schemes: final String url = Web.getConfig().getDefaultScheme() + "://" + host + Web.getConfig().getDispatcherContextPath() + SERVLET_URL + params; for Issue 5: I changed WebAppPatternGenerator.generateValues line 39 to: String ctx = app == null ? Web.getConfig() .getDispatcherContextPath() : app.getContextPath(); and the if statement that follows that to: if (app == null && (ctx == null || "".equals(ctx))) { return new String[] { Web.ROOT_WEBAPP }; } Issue 6: Templating.transformURL should add a line after 338 path = path.substring(Web.getConfig(). getDispatcherContextPath().length()); |