Forum

.htaccess to .hiawatha

Alex
3 September 2010, 01:59
Hi,

how kan i write this one for hiawatha?

RewriteEngine On
RewriteBase /cache/assets/
RewriteCond %{HTTP:Accept-Encoding} .*gzip.*
RewriteRule (.*)\.css $1.css.gz
RewriteRule (.*)\.js $1.js.gz
RemoveType application/x-gzip .gz
AddEncoding x-gzip .gz
ExpiresActive on
ExpiresDefault A604800
ExpiresByType text/css "A604800"
ExpiresByType application/x-javascript "A604800"
<IfModule mod_deflate>
RemoveOutputFilter DEFLATE
</IfModule>


Thanks in advance.

Hiawatha version: 7.3
Operating System: Debian 5
Hugo Leisink
5 September 2010, 07:31
The UrlToolkit can't do that, but you should take a look at the UseGZfile option.
This topic has been closed.