LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   [solved] FileEtag in LSWS 4.2.2 (http://www.litespeedtech.com/support/forum/showthread.php?t=6614)

raymond 01-31-2013 09:53 PM

[solved] FileEtag in LSWS 4.2.2
 
Just checked the release log and saw an update with this new feature:
  • FileEtag directives have been fully supported.

Does this mean we can now disable the Etags from the headers?
If yes, how can we disable it?

NiteWave 01-31-2013 10:05 PM

in addition to apache's way
http://httpd.apache.org/docs/2.2/mod/core.html#fileetag

can set it at server level in GUI:
lsws admin console->Server->Tuning->File ETag

raymond 01-31-2013 11:36 PM

Tried setting it at server level: lsws admin console->Server->Tuning->File ETag

Already unchecked the 3 boxes and is still showing ETag.

Did I miss anything else?

NiteWave 01-31-2013 11:42 PM

the server's setting can be overwritten by settings in .htaccess

any setting in .htaccess ?

to be sure, in your .htaccess, you can put for example
<Files "*.jpg">
FileETag None
</Files>

to remove etag.

raymond 01-31-2013 11:53 PM

Thanks, working now after adding FileETag None in htaccess.


All times are GMT -7. The time now is 09:46 PM.