You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/11/20 21:09:08 UTC
DO NOT REPLY [Bug 14718] New: -
Trailing slash is required to access our application
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14718>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14718
Trailing slash is required to access our application
Summary: Trailing slash is required to access our application
Product: Tomcat 4
Version: 4.0 Beta 1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Connector:JK/AJP (deprecated)
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: mjain@epicentric.com
Configuration
Tomcat 4.0.6.
OS: Solaris 8 (SPARC)
Web Server: Apache 1.3.27 (jk connector using AJP 1.3 protocol)
Java VM: Sun SDK 1.3.1_05 HotSpot
After installing our portal Application on Tomcat 406, when we we try to access
http://sun57.lab.epicentric.com/portal/console
is showing "The page cannot be displayed".
"/" is not being added after the console and works fine if we try to access like
http://sun57.lab.epicentric.com/portal/console/
More details is as below :
Given the web.xml that currently ships wih our application portal, mod_jk auto-
generate the following config:
JkMount /portal/console/* ajp13
This allows access to the server console through:
http://sun57.lab.epicentric.com/portal/console/
but not
http://sun57.lab.epicentric.com/portal/console
The workaround is to modify EFS web.xml to include the following mappings:
<servlet-mapping>
<servlet-name>SiteDispatcherServlet</servlet-name>
<url-pattern>/console/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SiteDispatcherServlet</servlet-name>
<url-pattern>/console</url-pattern>
</servlet-mapping>
mod_jk then auto generate the following apache config:
JkMount /portal/console ajp13
JkMount /portal/console/* ajp13
and the server console can be accessed either by:
http://sun57.lab.epicentric.com/portal/console
or
http://sun57.lab.epicentric.com/portal/console/
auto-generation of mod_kj.conf not generating comprehensive mappings).
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>