Mantis - Resin
Viewing Issue Advanced Details
3534 major always 05-26-09 11:30 09-11-09 16:34
fly-away  
ferg  
normal  
closed 4.0.1  
fixed  
none    
none 4.0.2  
0003534: SSI support is very poor
Can't get working 'if' and 'printenv' operators.
I see in browser ['if' is an unknown command.] text.
Has trying resin 3.2.1 and 4.0.0.
$ cat ssi/test.shtml:
<!--#set var='feed' value='SUN' -->
<!--#if expr="$feed" -->
feed: <!--#echo var="feed"-->
<!--#else -->
feed is empty
<!--#endif -->

$ curl http://localhost:8080/ssi/test.shtml [^]
['if' is an unknown command.]
feed: SUN
['else' is an unknown command.]
feed is empty
['endif' is an unknown command.]

resin.xml contains this ssi-featured lines:

<web-app id="/" >
 <servlet-mapping url-pattern="*.shtml" servlet-class="com.caucho.servlets.ssi.SSIServlet"/>
</web-app>

Notes
(0004243)
ferg   
09-11-09 16:34   
server/198i