AddOutputFilterByType INCLUDES support

Discussion in 'General' started by mrxUx, Dec 13, 2012.

  1. mrxUx

    mrxUx New Member

    I was wondering if AddOutputFilterByType INCLUDES is supported by LiteSpeed, as I'm seeing it is not affecting a customer's site.

    Is there a complete list of what doesn't work 100% with LiteSpeed?

    Thanks
  2. mistwang

    mistwang LiteSpeed Staff

    No, that directive is not supported yet, please use
    AddOutputFilter
    AddType
    AddHandler
    SetHandler

    instead.
  3. mrxUx

    mrxUx New Member

    @mistwang: thanks a bunch :)
  4. mrxUx

    mrxUx New Member

    I've got another question regarding this issue, this is what he was trying to do:

    Code:
    <FilesMatch "\.combined\.css$">
    Options +Includes
    AddOutputFilterByType INCLUDES text/css
    SetOutputFilter INCLUDES
    </FilesMatch>
    So since you said it wasn't supported he used AddOutputFilter instead

    Code:
    <FilesMatch "\.combined\.css$">
    Options +Includes
    AddOutputFilter INCLUDES css
    SetOutputFilter INCLUDES
    </FilesMatch>
    Which didn't work, however using only "AddOutputFilter INCLUDES css" outside the <FilesMatch> tags it works. Any ideas?
  5. mrxUx

    mrxUx New Member

    just and update, I've made some tests with Apache and both worked :S I'm wondering this is still under dev or not tested enough for LSWS?
  6. mistwang

    mistwang LiteSpeed Staff

    We will have it addressed in our next release 4.2.2 .
  7. mrxUx

    mrxUx New Member

    That is good to read, thanks! :)
  8. mistwang

    mistwang LiteSpeed Staff

    This might work with current release.

    <FilesMatch "\.combined\.css$">
    Options +Includes
    ForceType application/x-httpd-shtml
    </FilesMatch>
  9. mrxUx

    mrxUx New Member

    @mistwang: thanks for the suggestion but it didn't work :)

Share This Page