tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/task ApacheConfig.java
Date Wed, 01 Mar 2000 00:40:23 GMT
costin      00/02/29 16:40:23

  Modified:    src/share/org/apache/tomcat/task ApacheConfig.java
  Log:
  Fix: Apache + tomcat can't display directories.
  Changed ApacheConfig to generate the right <Directory> directive for
  apache.
  
  Revision  Changes    Path
  1.6       +6 -0      jakarta-tomcat/src/share/org/apache/tomcat/task/ApacheConfig.java
  
  Index: ApacheConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/task/ApacheConfig.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ApacheConfig.java	2000/02/26 19:41:46	1.5
  +++ ApacheConfig.java	2000/03/01 00:40:23	1.6
  @@ -129,6 +129,12 @@
   		    pw.println("Alias " + path + " " + 
                                  FileUtil.patch(tomcatHome + "/webapps" + path));
   
  +		    pw.println("<Directory \"" +
  +			       FileUtil.patch(tomcatHome + "/webapps" + path) +
  +			       "\">");
  +		    pw.println("    Options Indexes FollowSymLinks");
  +		    pw.println("</Directory>");
  +		    
   		    // Dynamic /servet pages go to tomcat
   		    pw.println("ApJServMount " + path +"/servlet" + " " + path);
   
  
  
  

Mime
View raw message