The following code will produce a <title></title> must not be empty. error.
<!-- this .shtml file takes advantage of Apache server side dynamic content -->
<head>
<meta charset="UTF-8">
<title>
<!--#if expr="${REDIRECT_STATUS} = 400"-->
Page Name: Bad Request
<!--#elif expr="${REDIRECT_STATUS} = 403"-->
Page Name: Forbidden
<!--#elif expr="${REDIRECT_STATUS} = 404"-->
Page Name: Resource Not Found
<!--#else-->
Page Name: Error <!--#echo var="REDIRECT_STATUS"-->
<!--#endif-->
</title>
</head>
Since there is an #else then there will always be a title.
The following code will produce a
<title></title> must not be empty.error.Since there is an
#elsethen there will always be a title.