<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SSI: differences between Tomcat and Apache in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ssi-differences-between-tomcat-and-apache/m-p/49705#M28715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to use SSI to be able to manage my site templates a little cleaner, but am having some problems when it comes to using conditionals that are consistent between Apache and Tomcat. For example, the following is True on Apache&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;!–#if expr="$DATE_LOCAL = /day/"–&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;but fails on Tomcat, whereas the following&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;!–#if expr="$DATE_LOCAL" = /day/–&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;is true on Tomcat but fails on Apache. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone got some examples of string comparison conditionals that work the same on apache as tomcat? So far I'm coming up short &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: I should be a bit clearer, exact matching eg expr="$variable = string" works on both, but regex matching doesn't for some weird reason.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2007 07:59:41 GMT</pubDate>
    <dc:creator>marcus</dc:creator>
    <dc:date>2007-03-12T07:59:41Z</dc:date>
    <item>
      <title>SSI: differences between Tomcat and Apache</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ssi-differences-between-tomcat-and-apache/m-p/49705#M28715</link>
      <description>I'm trying to use SSI to be able to manage my site templates a little cleaner, but am having some problems when it comes to using conditionals that are consistent between Apache and Tomcat. For example, the following is True on Apache&amp;lt;!–#if expr="$DATE_LOCAL = /day/"–&amp;gt;‍‍‍but fails on Tomcat, w</description>
      <pubDate>Mon, 12 Mar 2007 07:59:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ssi-differences-between-tomcat-and-apache/m-p/49705#M28715</guid>
      <dc:creator>marcus</dc:creator>
      <dc:date>2007-03-12T07:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: SSI: differences between Tomcat and Apache</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ssi-differences-between-tomcat-and-apache/m-p/49706#M28716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this isn't something i've ever tried - but please refer to the tomcat docs on SSIs here &lt;/SPAN&gt;&lt;A href="http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html" rel="nofollow noopener noreferrer"&gt;http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html&lt;/A&gt;&lt;SPAN&gt; (if you haven't already).&amp;nbsp; a cursory glance indicates that what you're trying to do should work…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 04:52:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ssi-differences-between-tomcat-and-apache/m-p/49706#M28716</guid>
      <dc:creator>arielb</dc:creator>
      <dc:date>2007-03-13T04:52:40Z</dc:date>
    </item>
  </channel>
</rss>

