Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 12:32:23

Author Topic: UrlToolkit system-wide  (Read 1527 times)

0 Members and 1 Guest are viewing this topic.

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
UrlToolkit system-wide
« 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
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: UrlToolkit system-wide
« Reply #1 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'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.03 seconds with 18 queries.

web stats analysis