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=8600>. 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=8600 Trailing Slash on WebApp Module REDIRECT Fails. Summary: Trailing Slash on WebApp Module REDIRECT Fails. Product: Tomcat 4 Version: 4.0 Beta 1 Platform: PC OS/Version: Linux Status: NEW Severity: Critical Priority: Other Component: Connector:Webapp AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The setup is Apache 1.3 / Tomcat 4.0 , I have tried using the various WebApp modules from the Binary 1.0 , the Connector Source Code package , and from the CVS tree directly....I found the following CRITICAL BUG related to a trailing SLASH ... This is the Apache 1.3 httpd.conf file: ----- WebAppConnection con warp localhost:8008 WebAppDeploy servidor conn /automatic/*.jsp ----- As you may notice I am trying to pass/execute the JSP's residing in the directory called "automatic" to Tomcat (Catalina) ONLY , I need this because I have some legacy (CGI-BIN/Perl) scripts residing on the site... When I use the previous configuration, and request the URL for a JSP under the directory I get a NOT FOUND (404) from Apache, (I checked both LOGS: Tomcat's and Apache..the HIT only registers with Apache..)..So the redirection does not take place... I decided to serve the entire site through Tomcat (Catalina) via Apache, changed Apache's httpd.conf to the following: ----- WebAppConnection con warp localhost:8008 WebAppDeploy servidor conn / ----- In other words, pipe everything to Tomcat..sure enough..the JSP's WORK!, the correct results are coming back through Apache, HOWEVER..when I request the legacy (CGI-BIN/Perl) it bombs, because Tomcat(Catalina) does not know what to do with it..... Why I ASSUME ITS A trailing slash in the WebApp module..... When I used the Binary WebApp Module available at the site (1.0), it provided the following output when I started Apache: (wa_main.c:187) Application servidor deployed for http://servidor.osmosis.com:80 (wa_config.c:100) Created application "servidor" in path "/automatic/*.jsp/" I have a feeling that the "trailing slash" in the output is the one not allowing the JSP's/Servlets to be detected on a directory basis. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>