funkman 2003/11/29 12:11:11 Modified: . RELEASE-NOTES Log: The line numbers for uncommenting cgi and ssi keeps on getting out of sync with web.xml. An attempt at rewording to not have them get out of sync. Revision Changes Path 1.11 +40 -18 jakarta-tomcat-5/RELEASE-NOTES Index: RELEASE-NOTES =================================================================== RCS file: /home/cvs/jakarta-tomcat-5/RELEASE-NOTES,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- RELEASE-NOTES 25 Nov 2003 14:57:59 -0000 1.10 +++ RELEASE-NOTES 29 Nov 2003 20:11:10 -0000 1.11 @@ -72,7 +72,7 @@ putting unpacked classes into a "classes" directory (not created by default), or by placing them in JAR files in the "lib" directory. -Tomcat 5.0 also makes Xerces 2 and the Commons Logging API (release 1.0.3) +Tomcat 5.0 also makes Xerces 2 and the Commons Logging API (release 1.0.3) available to web applications. @@ -123,17 +123,17 @@ --------------- Virtual machine crashes can be experienced when using certain combinations of -kernel / glibc under Linux with Sun Hotspot 1.2 to 1.3. The crashes were +kernel / glibc under Linux with Sun Hotspot 1.2 to 1.3. The crashes were reported to occur mostly on startup. Sun JDK 1.4 does not exhibit the problems, and neither does IBM JDK for Linux. -The problems can be fixed by reducing the default stack size. At bash shell, +The problems can be fixed by reducing the default stack size. At bash shell, do "ulimit -s 2048"; use "limit stacksize 2048" for tcsh. GLIBC 2.2 / Linux 2.4 users should also define an environment variable: export LD_ASSUME_KERNEL=2.2.5 -Additionally, Redhat Linux 9.0 users should use the same setting, to avoid +Additionally, Redhat Linux 9.0 users should use the same setting, to avoid stability problems. @@ -147,25 +147,47 @@ disabled by default, as our goal is to provide a fully secure default configuration. However, CGI and SSI remain available. -To enable CGI and SSI on Windows: -* rename the file %CATALINA_HOME%\server\lib\servlets-cgi.renametojar to - %CATALINA_HOME%\server\lib\servlets-cgi.jar. -* rename the file %CATALINA_HOME%\server\lib\servlets-ssi.renametojar to - %CATALINA_HOME%\server\lib\servlets-ssi.jar. -* in %CATALINA_HOME%\conf\web.xml, uncomment the servlet declarations starting - on lines 226 and 250, as well as the associated servlet mappings - on lines 276 and 294. Alternately, these servlet declarations and mappings - can be added to your web application deployment descriptor. -To enable CGI and SSI on Unix: +To enable CGI: * rename the file $CATALINA_HOME/server/lib/servlets-cgi.renametojar to $CATALINA_HOME/server/lib/servlets-cgi.jar. +* in $CATALINA_HOME/conf/web.xml, you will need to uncomment 2 areas, the + servlet declaration and the servlet mapping. The servlet declaration + looks similar to this: + <servlet> + <servlet-name>cgi</servlet-name> + ... + </servlet> + + While the servlet mapping looks similar to this: + <servlet-mapping> + <servlet-name>cgi</servlet-name> + <url-pattern>/cgi-bin/*</url-pattern> + </servlet-mapping> + + Alternately, these servlet declarations and mappings + can be added to your web application deployment descriptor. + +To enable SSI: * rename the file $CATALINA_HOME/server/lib/servlets-ssi.renametojar to $CATALINA_HOME/server/lib/servlets-ssi.jar. -* in $CATALINA_HOME/conf/web.xml, uncomment the servlet declarations starting - on lines 226 and 250, as well as the associated servlet mappings - on lines 276 and 294. Alternately, these servlet declarations and mappings +* in $CATALINA_HOME/conf/web.xml, you will need to uncomment 2 areas, the + servlet declaration and the servlet mapping. The servlet declaration + looks similar to this: + <servlet> + <servlet-name>ssi</servlet-name> + ... + </servlet> + + While the servlet mapping looks similar to this: + <servlet-mapping> + <servlet-name>ssi</servlet-name> + <url-pattern>*.shtml</url-pattern> + </servlet-mapping> + + Alternately, these servlet declarations and mappings can be added to your web application deployment descriptor. + ---------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]