Author: markt Date: Wed Jun 27 19:37:19 2012 New Revision: 1354685 URL: http://svn.apache.org/viewvc?rev=1354685&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53473 Correct documentation and web.xml comments for SSI isVirtualWebappRelative option since the allowed values are true or false
Modified: tomcat/trunk/conf/web.xml tomcat/trunk/webapps/docs/ssi-howto.xml Modified: tomcat/trunk/conf/web.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/conf/web.xml?rev=1354685&r1=1354684&r2=1354685&view=diff ============================================================================== --- tomcat/trunk/conf/web.xml (original) +++ tomcat/trunk/conf/web.xml Wed Jun 27 19:37:19 2012 @@ -263,7 +263,7 @@ <!-- isVirtualWebappRelative --> <!-- Should "virtual" paths be interpreted as --> <!-- relative to the context root, instead of --> - <!-- the server root? (0=false, 1=true) [0] --> + <!-- the server root? [false] --> <!-- --> <!-- inputEncoding The encoding to assume for SSI resources if --> <!-- one is not available from the resource. --> @@ -294,7 +294,7 @@ </init-param> <init-param> <param-name>isVirtualWebappRelative</param-name> - <param-value>0</param-value> + <param-value>false</param-value> </init-param> <load-on-startup>4</load-on-startup> </servlet> @@ -444,7 +444,7 @@ <!-- isVirtualWebappRelative --> <!-- Should "virtual" paths be interpreted as --> <!-- relative to the context root, instead of --> - <!-- the server root? (0=false, 1=true) [0] --> + <!-- the server root? [false] --> <!-- --> <!-- allowExec Is use of the exec command enabled? [false] --> @@ -468,7 +468,7 @@ </init-param> <init-param> <param-name>isVirtualWebappRelative</param-name> - <param-value>0</param-value> + <param-value>false</param-value> </init-param> </filter> --> Modified: tomcat/trunk/webapps/docs/ssi-howto.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/ssi-howto.xml?rev=1354685&r1=1354684&r2=1354685&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/ssi-howto.xml (original) +++ tomcat/trunk/webapps/docs/ssi-howto.xml Wed Jun 27 19:37:19 2012 @@ -99,7 +99,7 @@ directives will expire. Default behaviou evaluated for every request.</li> <li><strong>isVirtualWebappRelative</strong> - Should "virtual" SSI directive paths be interpreted as relative to the context root, instead of the server -root? (0=false, 1=true) Default 0 (false).</li> +root? Default false.</li> <li><strong>inputEncoding</strong> - The encoding to be assumed for SSI resources if one cannot be determined from the resource itself. Default is the default platform encoding.</li> @@ -129,7 +129,7 @@ directives will expire. Default behaviou evaluated for every request.</li> <li><strong>isVirtualWebappRelative</strong> - Should "virtual" SSI directive paths be interpreted as relative to the context root, instead of the server -root? (0=false, 1=true) Default 0 (false).</li> +root? Default 0 false.</li> <li><strong>allowExec</strong> - Is the exec command enabled? Default is false.</li> </ul> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org