costin 01/07/15 17:00:42
Modified: src/share/org/apache/tomcat/modules/config ApacheConfig.java
Log:
Remove the ending / from Alias ( it's not used in the default config,
only when you want static files served by apache )
Revision Changes Path
1.17 +3 -3
jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ApacheConfig.java
Index: ApacheConfig.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ApacheConfig.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ApacheConfig.java 2001/07/13 06:13:56 1.16
+++ ApacheConfig.java 2001/07/16 00:00:41 1.17
@@ -1,4 +1,4 @@
-/* $Id: ApacheConfig.java,v 1.16 2001/07/13 06:13:56 costin Exp $
+/* $Id: ApacheConfig.java,v 1.17 2001/07/16 00:00:41 costin Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@@ -125,7 +125,7 @@
<p>
@author Costin Manolache
@author Mel Martinez
- @version $Revision: 1.16 $ $Date: 2001/07/13 06:13:56 $
+ @version $Revision: 1.17 $ $Date: 2001/07/16 00:00:41 $
*/
public class ApacheConfig extends BaseInterceptor {
@@ -718,7 +718,7 @@
String npath=("".equals(ctxPath)) ? "/" : ctxPath;
// Static files will be served by Apache
mod_jk.println(indent + "# Static files ");
- mod_jk.println(indent + "Alias " + npath + " \"" + docBase + "\"/");
+ mod_jk.println(indent + "Alias " + npath + " \"" + docBase + "\"");
mod_jk.println();
mod_jk.println(indent + "<Directory \"" + docBase + "\">");
mod_jk.println(indent + " Options Indexes FollowSymLinks");