Redirect string unexpanded

Discussion in 'Bug Reports' started by zellster, May 16, 2007.

  1. zellster

    zellster Well-Known Member

    LSWS Standard 3.1.1
    Linux/Ubuntu 32-bit

    I set-up a Redirect context with an external URL. The headers look OK, but the HTML text doesn't.

    HTTP/1.0 302 Found
    Date: Wed, 16 May 2007 06:53:30 GMT
    Server: LiteSpeed
    Connection: close
    Content-Type: text/html
    Content-Length: 390

    <head><title> 302 Found
    <body><h1> 302 Found
    The document has been temporarily moved to <A HREF="%s">here</A>.<hr />
    Powered By <a href=''>LiteSpeed Web Server</a><br />
    <font face="Verdana, Arial, Helvetica" size=-1>Lite Speed Technologies is not responsible for administration and contents of this web site!</font></body></html>

    Note the "%s" in the <A HREF...> tag instead of
  2. mistwang

    mistwang LiteSpeed Staff

    Yeah, we aware of it. The link in the page is not visible in most browsers. So, we just leave it as is for now.

  3. sofatime

    sofatime Well-Known Member

    I have the same problem, except it is for a 301 and that the Location-Header is missing. So the redirect does not work.
    (lsws 3.2.1 Enterprise on Solaris 10 x86)
  4. mistwang

    mistwang LiteSpeed Staff

    Missing location header is fatal, what script language are you using?
    Can you give an example script?
  5. sofatime

    sofatime Well-Known Member

    This happens with a typo3 installation (PHP). typo3 admin is in the directory So when the user enters (without slash) he gets the 301 page without an actual redirect (without the Location header and with %s). When he enters (with slash) it works.
    In the directory /typo3 there is an normal index.php.
    PHP 5.2.3 with LSAPI 4.0
  6. mistwang

    mistwang LiteSpeed Staff

    Please try 3.2.2 release.

Share This Page