SSI Issue

Discussion in 'General' started by msolamm, Jan 13, 2012.

  1. msolamm

    msolamm New Member

    Hi,
    We're trying to setup the latest version of LiteSpeed for our site and have found that it crashes before the end of the HTML <head> section. This is the code block that seems to be causing the problem:

    Code:
     	<!--#if expr='"$HTTP_HOST" = "localhost"' -->
     	<base href="http://localhost/~user/folder/" />
     	<!--#elif expr='"$HTTP_HOST" = "131.111.29.4"' -->
     	<base href="http://131.111.29.4/~user/folder/" />
            <!--#else -->
            <base href="http://www.domain.com/folder/" />
            <!--#endif -->
    
    LiteSpeed outputs the <base href="http://www.domain.com/folder/" /> to the client, then nothing else. I can't see any relevant errors in the logs, even with the debug level set to highest:

    Code:
    2012-01-13 20:03:25.539 [DEBUG] [x.x.x.x:51749-0#APVH] GZIP response body!
    2012-01-13 20:03:25.539 [DEBUG] [x.x.x.x:51749-0#APVH] setupGzipBuf() begin GZIP stream.
    2012-01-13 20:03:25.539 [DEBUG] [x.x.x.x:51749-0#APVH] SSI Process component: 0
    2012-01-13 20:03:25.539 [DEBUG] [x.x.x.x:51749-0#APVH] SSI Process component: 9
    2012-01-13 20:03:25.539 [DEBUG] [x.x.x.x:51749-0#APVH] SSI Process component: 11
    2012-01-13 20:03:25.539 [DEBUG] [x.x.x.x:51749-0#APVH] SSI Process component: 0
    2012-01-13 20:03:25.539 [DEBUG] [x.x.x.x:51749-0#APVH] endDynResp() end GZIP stream.
    
    Any suggestions, please?
  2. webizen

    webizen New Member

    we are able to replicate the issue. will let you know once a fix is available.

Share This Page