MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: ibuxxi on 2015-02-04, 13:22:17

Title: UrlToolkit system-wide
Post by: ibuxxi on 2015-02-04, 13:22:17
Hello

how can i set system-wide in kloxo-mr 7.0.0.b-2015020401

Code: [Select]
UrlToolkit {
    ToolkitID = cachecontrol
    Match ^/.*\.(css|eot|gif|htm|html|ico|jpeg|jpg|js|otf|pdf|png|ps|psd|svg|swf|ttf|txt|woff|woff2)(/|$) Expire 2 weeks
}

thanks
Title: Re: UrlToolkit system-wide
Post by: MRatWork on 2015-02-04, 14:49:55
1. Create file /opt/configs/hiawatha/conf/toolkits/cachecontrol.conf with content of your code
2. Restart web with 'sh /script/restart-web -y'
3. add .hiawatha in your website document root (example /home/admin/domain.com) with content 'UseToolkit = cachecontrol.conf'