Hi Hugo
I saw an example to gave on how to use directory here
https://www.hiawatha-webserver.org/forum/topic/2127/#10963what I want to do is similar but i am struging to work out how to set the ExpirePeriod.
This is the toolkit that I am trying to convert to a directory
UrlToolkit {
ToolkitID = tiered-cache-control
Match ^/.*\.(gif|htm|html|jpeg|jpg|png)(\?v=.*|\?ver=.*)?(/|$) Expire 1 weeks
Match ^/.*\.(css|js|svg|swf|ttf|txt)(\?v=.*|\?ver=.*)?(/|$) Expire 2 weeks
Match ^/.*\.(eot|ico|otf|pdf|ps|psd|ttf|woff|woff2)(/|$) Expire 2 months
}
Here is what I have done so far
Directory {
DirectoryID = tiered-cache-control
Extensions = gif, htm, html, jpeg, jpg, png ExpirePeriod 1 weeks
Extensions = css, js, svg, swf, ttf, txt ExpirePeriod 2 weeks
Extensions = eot, ico, otf, pdf, ps, psd ttf, woff, woff2 ExpirePeriod 2 months
}
Could please tell me what path is?
I looked at the manual but I don't find it clear.
Is it the webroot path to my index.php?
Thank you