Hello,
I can not figure out how to use the HTTP Header to perform basic Cache-Control . :/
Directory {
DirectoryID = static
Path = /
ExpirePeriod = 2 months
Extensions = css, js, jpeg, jpg, png, gif, ico
}
In my vHost:
VirtualHost {
Hostname = site.pem
WebsiteRoot = /var/www/hiawatha/site/public/web
StartFile = index.php
AccessLogfile = /var/www/hiawatha/site/access.log
ErrorLogfile = /var/www/hiawatha/site/error.log
TimeForCGI = 25
UseFastCGI = PHP7.0
RequireTLS = yes
UseToolkit = site
UseDirectory = static
TLScertFile = tls/site.pem
}
UrlToolKit
UrlToolkit {
ToolkitID = site
RequestURI exists Return
Match ^/(.*)\?(.*) Rewrite /index.php?p=$1&$2
Match ^/(.*) Rewrite /index.php?p=$1
}
Hiawatha -m
Enabled modules: Cache, ChallengeClient, FileHashes, IPv6, Monitor, ReverseProxy, TLS v2.8.0, ThreadPool, UrlToolkit, XSLT
Hiawatha -v
Hiawatha v10.8.1
I also do not get to work: CustomHeaderClient or CustomHeader.
I also have set: CacheRProxyExtensions = css, gif, html, jpg, js, png, txt
Could somebody tell me what I do wrong? I do not get any Hiawatha error and this is bugging me for days now :/
Thanks