LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   AddOutputFilterByType INCLUDES support (http://www.litespeedtech.com/support/forum/showthread.php?t=6457)

mrxUx 12-13-2012 11:20 AM

AddOutputFilterByType INCLUDES support
 
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

mistwang 12-13-2012 11:44 AM

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

instead.

mrxUx 12-13-2012 12:31 PM

@mistwang: thanks a bunch :)

mrxUx 12-13-2012 06:08 PM

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?

mrxUx 12-19-2012 09:51 AM

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?

mistwang 12-20-2012 01:18 PM

We will have it addressed in our next release 4.2.2 .

mrxUx 12-20-2012 04:39 PM

Quote:

Originally Posted by mistwang (Post 40705)
We will have it addressed in our next release 4.2.2 .

That is good to read, thanks! :)

mistwang 12-20-2012 07:03 PM

This might work with current release.

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

mrxUx 12-21-2012 08:54 AM

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


All times are GMT -7. The time now is 10:57 PM.